fw4spl
fwGui::ActionCallbackBase Class Reference

Defines the menu item callback. More...

#include <ActionCallbackBase.hpp>

+ Inheritance diagram for fwGui::ActionCallbackBase:
+ Collaboration diagram for fwGui::ActionCallbackBase:

Public Types

typedef std::string RegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
virtual FWGUI_API void setSID (std::string sid)
 Sets service ID updated in executed method.
 
virtual FWGUI_API void execute () override
 Called method when callback is executed.
 
virtual FWGUI_API void check (bool checked)
 Called method when callback is checked.
 
- Public Member Functions inherited from fwGui::IMenuItemCallback
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::IMenuItemCallback
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Attributes

static FWGUI_API const RegistryKeyType REGISTRY_KEY = "::fwGui::ActionCallback"
 

Protected Member Functions

FWGUI_API ActionCallbackBase ()
 Constructor.
 
virtual FWGUI_API ~ActionCallbackBase ()
 Destructor. Do nothing.
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Demangling methods

virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Detailed Description

Defines the menu item callback.

Definition at line 21 of file ActionCallbackBase.hpp.


The documentation for this class was generated from the following files: