|
virtual SoType | getTypeId (void) const |
| Returns the type identification of an object derived from a class inheriting SoBase. This is used for run-time type checking and "downward" casting. More...
|
|
virtual void | setName (const SbName &name) |
|
const SbName & | getName (void) const |
|
virtual void | setDescription (ScXMLDocument *document) |
|
const ScXMLDocument * | getDescription (void) const |
|
virtual void | setSessionId (const SbName &sessionid) |
|
const SbName & | getSessionId (void) const |
|
virtual void | initialize (void) |
|
virtual SbBool | isActive (void) const |
|
virtual SbBool | isFinished (void) const |
|
virtual int | getNumActiveStates (void) const |
|
virtual const ScXMLElt * | getActiveState (int idx) const |
|
virtual void | addDeleteCallback (ScXMLStateMachineDeleteCB *callback, void *userdata) |
|
virtual void | removeDeleteCallback (ScXMLStateMachineDeleteCB *callback, void *userdata) |
|
virtual void | addStateChangeCallback (ScXMLStateChangeCB *callback, void *userdata) |
|
virtual void | removeStateChangeCallback (ScXMLStateChangeCB *callback, void *userdata) |
|
virtual void | setVariable (const char *name, const char *value) |
|
virtual const char * | getVariable (const char *name) const |
|
virtual void | setLogLevel (int loglevel) |
|
int | getLogLevel (void) const |
|
virtual void | setEvaluator (ScXMLEvaluator *evaluator) |
|
ScXMLEvaluator * | getEvaluator (void) const |
|
SbBool | isModuleEnabled (const char *modulename) const |
|
int | getNumEnabledModules (void) const |
|
const char * | getEnabledModuleName (int idx) const |
|
void | setEnabledModulesList (const SbList< const char * > &modulenames) |
|
virtual void | setEventTargetType (const char *targettype) |
|
const char * | getEventTargetType (void) const |
|
virtual void | setEventTargetName (const char *targetname) |
|
const char * | getEventTargetName (void) const |
|
virtual const ScXMLEvent * | getCurrentEvent (void) const |
|
virtual void | queueEvent (const ScXMLEvent *event) |
|
virtual void | queueEvent (const SbName &eventid) |
|
virtual SbBool | processEventQueue (void) |
|
virtual SbBool | sendExternalEvent (const ScXMLSendElt *sendelt) |
|
virtual SbBool | sendInternalEvent (const ScXMLEventElt *sendelt) |
|
virtual void | queueInternalEvent (const ScXMLEvent *event) |
|
virtual void | queueInternalEvent (const SbName &eventid) |
|
SbBool | isOfType (SoType type) const |
| Returns TRUE if the type of this object is either of the same type or inherited from type. More...
|
|
|
static void | registerEventTarget (ScXMLEventTarget *target, const char *sessionid=NULL) |
|
static void | unregisterEventTarget (ScXMLEventTarget *target, const char *sessionid=NULL) |
|
static ScXMLEventTarget * | getEventTarget (const char *targettype, const char *targetname, const char *sessionid=NULL) |
|
static void | registerClassType (const char *xmlns, const char *classname, SoType type) |
|
static void | registerInvokeClassType (const char *xmlns, const char *targettype, const char *source, SoType type) |
|
char * | targetname |
|
char * | targettype |
|
const ScXMLEvent * | currentevent |
|
SbBool | isprocessingqueue |
|
Manager for processing events and setting states in SCXML structures.
- Since
- Coin 3.0
int ScXMLStateMachine::getNumActiveStates |
( |
void |
| ) |
const |
|
virtual |
This method returns the current event during event processing, and NULL when not processing events.
Event processing is in special cases done with NULL as the current event, as for instance during state machine initialization.
Returns the number of active states in the state machine. This number should currently be 1, but in the future, when <parallel> is implemented, it can be more.