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

Defines an engine used to implement a class by script. More...

Inheritance diagram for ModuleScriptedClassEngine:
CoreBaseObject CoreBaseType ModuleProcessScriptEngine

Public Member Functions

void add_action (OfClass &cls, const CoreString &action, const CoreString &category="General")
 Binds a new action.
 
virtual
ModuleScriptedClassEngineData
create_instance_data (OfObject &object)
 Return a dedicated instance data for this specific process. You must call ModuleProcessScriptEngineData::initialize_data before returning it!
 
virtual void declare_attributes (OfClass &cls)
 Allow to declare attributes of the class. Can be used as declare_cid alternative.
 
virtual void on_action (const OfAction &action, OfObject &object, void *data)
 Allow to declare attributes of the class. Can be used as declare_cid alternative.
 
virtual void on_attribute_change (OfObject &object, const OfAttr &attr, int &dirtiness, const int &dirtiness_flags)
 Call when attributes of an instance are modified.
 
bool is_shared () const
 Return true is the engine is currently shared (has been registered). When an engine is shared, its deletion will be handled by the ModuleProcessScript.
 
void share ()
 Used internally to track destruction.
 
- Public Member Functions inherited from CoreBaseObject
bool is_kindof (const CoreBaseObject &object) const
 
virtual size_t get_memory_size () 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
 

Additional Inherited Members

- 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)
 

Detailed Description

Defines an engine used to implement a class by script.