Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
ModuleProcessScriptEngine Class Reference

A specialized engine to script processes. More...

Inheritance diagram for ModuleProcessScriptEngine:
ModuleScriptedClassEngine CoreBaseObject CoreBaseType

Public Member Functions

virtual bool run (OfObject &object, AppProgressBar &progress)
 This methods defines what to do when the process is runned. Must Return true on success.
 
- Public Member Functions inherited from ModuleScriptedClassEngine
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
 
const unsigned long & get_class_info_id () const
 
virtual bool is_kindof (const CoreClassInfo &cinfo) const
 
virtual const CoreClassInfoget_class_info () 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
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseObject
static const CoreClassInfoclass_info ()
 
template<class T >
static T * cast (CoreBaseObject *object)
 
template<class T >
static const T * cast (const CoreBaseObject *object)
 

Detailed Description

A specialized engine to script processes.