OpenGLPrakt --> cObject --> cVisibleObject --> cInteractiveObject
A class for a visible object which is able to react on several events.
cInteractiveObject
cInteractiveObject
cInteractiveObject
cInteractiveObject
~cInteractiveObject
mSelected
GetDefaultName
Init
ReceiveEvent
SubscribeToActiveEvents
SubscribeToPassiveEvents
UnsubscribeFromActiveEvents
UnsubscribeFromPassiveEvents
public cInteractiveObject ( cEventDispatcher * disp ,
const char * name = NULL ) ;
constructor with initialization
| disp | cEventDispatcher to register/unregister at |
| name | optional name of object (defaults to class name) |
public cInteractiveObject ( cEventDispatcher * disp ,
const cVertex & pos ,
const char * name = NULL ) ;
constructor with initialization
| disp | cEventDispatcher to register/unregister at |
| pos | initial position of object |
| name | optional name of object (defaults to class name) |
public cInteractiveObject ( cEventDispatcher * disp ,
const cVertex & pos ,
const cQuaternion & rot ,
const char * name = NULL ) ;
constructor with initialization
| disp | cEventDispatcher to register/unregister at |
| pos | initial position of object |
| rot | initial rotation of object |
| name | optional name of object (defaults to class name) |
public cInteractiveObject ( const cInteractiveObject & cio ) ;
copy constructor
public ~ cInteractiveObject ( ) ;
destructor
protected bool mSelected
remember whether we are currently selected "active" object
public virtual int Init ( ) ;
perform initialization
public virtual int ReceiveEvent ( const cEvent & event ) ;
event receiver
| event | cEvent to receive/check |
protected virtual const char * GetDefaultName ( ) const ;
return default class name as char *
protected virtual void SubscribeToActiveEvents ( ) ;
subscribe to any event the active object is interested in
protected virtual void SubscribeToPassiveEvents ( ) ;
subscribe to any event the object is interested in the whole time
protected virtual void UnsubscribeFromActiveEvents ( ) ;
unsubscribe from any event the active object is interested in
protected virtual void UnsubscribeFromPassiveEvents ( ) ;
unsubscribe from any event the object is interested in the whole time
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.
Click here to return to the top of the page.