C-DEngine 5.105

ICDEThing Methods

The ICDEThing type exposes the following members.

Methods


  Name Description
Public method CreateUX
This function is called by the NMI Engine and allows TheThing to create its UX Model The NMI Model is calling this method until IsUXInit returns true
Public method Delete
Called by the cdeEngine when the Thing has been deleted from the Thing Registry.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FireEvent
Fires a specific event and calls all registered callbacks
Public method GetBaseThing
Returns the current TheThing belonging to this class
Public method GetHashCode (Inherited from Object.)
Public method GetProperty
Get a property of TheThing associated with this class
Public method GetType (Inherited from Object.)
Public method HandleMessage
This is the main message Handler of TheThing. All incoming messages directed at this thing will be routed through this handler
Public method HasRegisteredEvents
To optimize runtime performance, this call can be used to check if there are any events registered under the EventName
Public method Init
This function will be called by TheThingRegistry when "RegisterThing" is called It is possible that TheThingRegistry calls this method multiple times. In fact when ever a new TheThing is registerd with TheThingRegistry, all Things that reply "IsInit()=false" will be called again.
Public method IsInit
The method needs to return true, if the class has already been initialized.
Public method IsUXInit
Similar to the IsInit Function IsUXInit should return true if the UX has been created.
Protected method MemberwiseClone (Inherited from Object.)
Public method RegisterEvent
New in V2.1 - Allows for other Plugins and Hosting Applications to listen to certain event.
Public method SetBaseThing
Add a reference to TheThing, that will be used for serialization and communication. Basically TheThing is all the Mesh and storage persistant data of the class with the ICDEThing interface
Public method SetProperty
Sets a property of TheThing associated with this class
Public method ToString (Inherited from Object.)
Public method UnregisterEvent
Unregisters a previously registered event