table of contents
other versions
- wheezy-backports 3.1.4~abc9f50-3~bpo70+1
- jessie 3.1.4~abc9f50-7
ScXMLStateMachine(3) | Coin | ScXMLStateMachine(3) |
NAME¶
ScXMLStateMachine - Manager for processing events and setting states in SCXML structures.SYNOPSIS¶
#include <Inventor/scxml/ScXMLStateMachine.h> Inherits ScXMLEventTarget. Inherited by SoScXMLStateMachine.Public Member Functions¶
virtual SoType getTypeId (void) const
Static Public Member Functions¶
static SoType getClassTypeId (void)
Protected Member Functions¶
virtual SbBool processOneEvent (const ScXMLEvent *event)
Additional Inherited Members¶
Detailed Description¶
Manager for processing events and setting states in SCXML structures.Coin 3.0
Member Function Documentation¶
SoType ScXMLStateMachine::getClassTypeId (void) [static]¶
This static method returns the SoType object associated with objects of this class. See Also:SoBase::getClassTypeId
SoType ScXMLStateMachine::getTypeId (void) const [virtual]¶
Returns the type identification of an object derived from a class inheriting SoBase. This is used for run-time type checking and 'downward' casting. See Also:SoBase::getTypeId() const
void ScXMLStateMachine::initClass (void) [static]¶
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. See Also:SoBase::initClass()
void ScXMLStateMachine::setSessionId (const SbName &sessionidarg) [virtual]¶
This sets the session identifier for the state machine. Using this is optional, since state machines are already assigned unique session ids at construction-time.const SbName & ScXMLStateMachine::getSessionId (void) const¶
Returns the session identifier string for the state machine.void ScXMLStateMachine::initialize (void) [virtual]¶
Fire up the engine.SbBool ScXMLStateMachine::isActive (void) const [virtual]¶
Returns whether the state machine is active or not.SbBool ScXMLStateMachine::isFinished (void) const [virtual]¶
Returns whether the state machine has run to completion or not.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.const ScXMLElt * ScXMLStateMachine::getActiveState (intidx) const [virtual]¶
Returns the Nth active state.void ScXMLStateMachine::addDeleteCallback (ScXMLStateMachineDeleteCB *cb, void *userdata) [virtual]¶
Registers a callback to be called when the state machine object is being deleted.void ScXMLStateMachine::removeDeleteCallback (ScXMLStateMachineDeleteCB *cb, void *userdata) [virtual]¶
Unregisters a callback to be called when the state machine object is being deleted.void ScXMLStateMachine::addStateChangeCallback (ScXMLStateChangeCB *callback, void *userdata) [virtual]¶
Registers a callback to be called when the state machine exits or enters a state.void ScXMLStateMachine::removeStateChangeCallback (ScXMLStateChangeCB *callback, void *userdata) [virtual]¶
Unregisters a callback to be called when the state machine exits or enters a state.SbBool ScXMLStateMachine::processOneEvent (const ScXMLEvent *event) [protected], [virtual]¶
Processes one event. This is an internal inner event-loop utility function. Reimplemented from ScXMLEventTarget.Author¶
Generated automatically by Doxygen for Coin from the source code.Sat Oct 12 2013 | Version 4.0.0a |