Clarisse 4.0 SP9 SDK  4.0.0.0.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
OfAction Class Reference

Defines actions, which trigger a callback call when a specific event occurs (like a key event). More...

Inheritance diagram for OfAction:
CoreBaseObject CoreBaseType

Public Types

typedef int(* Callback )(const OfAction &, OfObject &, void *)
 

Public Member Functions

 OfAction (const CoreString &name)
 
 OfAction (const OfAction &action)
 
const CoreStringget_name () const
 
const CoreStringget_ui_name () const
 
void set_ui_name (const CoreString &ui_name)
 
bool is_state () const
 
void set_state ()
 
void set_callback (Callback cb)
 
Callback get_callback () const
 
int call (OfObject &object, void *data)
 
size_t get_memory_size () const
 
- Public Member Functions inherited from CoreBaseObject
bool is_kindof (const CoreBaseObject &object) const
 
CoreString get_class_info_name () const
 
CoreString get_class_interface () const
 
const unsigned long & get_class_info_id () const
 
bool is_kindof (const CoreClassInfo &cinfo) const
 
virtual const CoreClassInfoget_class_info () const
 
bool operator== (const CoreBaseObject &obj) const
 
template<class T >
T * cast ()
 
template<class T >
const T * cast () const
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 
bool operator== (const CoreBaseType &obj) const
 

Static Public Member Functions

static void make_callback_name (CoreString &name, OfAttr *attr, OfAction *action)
 
- Static Public Member Functions inherited from CoreBaseObject
static const CoreClassInfoclass_info ()
 
static bool ___class_destructor__ (void *instance, const bool &is_array)
 
template<class T >
static T * cast (CoreBaseObject *object)
 
template<class T >
static const T * cast (const CoreBaseObject *object)
 
- Static Public Member Functions inherited from CoreBaseType
static bool ___class_destructor__ (void *instance, const bool &is_array)
 
static const CoreClassInfoclass_info ()
 

Detailed Description

Defines actions, which trigger a callback call when a specific event occurs (like a key event).