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

Public Member Functions

 OfResourceCustom (OfClassCallbacks::CreateResourceCustomCallback create_callback, OfResourceCustomData *data)
 

Public Attributes

OfClassCallbacks::CreateResourceCustomCallback create_resource_callback
 callback called by ModuleObject::get_resource() to create the custom resource
 
OfClassCallbacks::CreateResourceCustomOverrideCallback create_resource_override_callback
 callback called by ModuleObject::get_resource_override() to create the custom resource
 
OfClassCallbacks::OnResourceUpdateCustomCallback on_update_resource_callback
 optionnal callback called by ModuleObject::propagate_resource_update() to update the data depending of the resource when it changes
 
OfResourceCustomDatadata
 optionnal data which is passed as argument to create_resource_callback, it is delete by the module when the resource is removed
 

Detailed Description

Struct holding data to create and update a custom resource

Note
A custom resource is a resource which is not defined by the class or the module itself It is added in an external way, see OfClass::add_resource() or ModuleObject::add_resource()