Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://coin3d.github.io
https://www.kongsberg.com/en/kogt/
ScXMLStateMachine.h File Reference
#include <Inventor/scxml/ScXMLEventTarget.h>
#include <Inventor/SbName.h>
#include <Inventor/lists/SbList.h>

Go to the source code of this file.

Classes

class  ScXMLStateMachine
 Manager for processing events and setting states in SCXML structures. More...
 

Typedefs

typedef void ScXMLStateMachineDeleteCB(void *userdata, ScXMLStateMachine *statemachine)
 
typedef void ScXMLStateChangeCB(void *userdata, ScXMLStateMachine *statemachine, const char *stateidentifier, SbBool enterstate, SbBool success)
 
typedef void ScXMLParallelStateChangeCB(void *userdata, ScXMLStateMachine *statemachine, int numstates, const char **stateidentifiers, SbBool enterstate, SbBool success)
 

Typedef Documentation

◆ ScXMLStateMachineDeleteCB

void ScXMLStateMachineDeleteCB

This is the type definition for all callback functions to be invoked when a state machine is deleted.

◆ ScXMLStateChangeCB

ScXMLStateChangeCB

This callback type is for notifying listeners on when the state machine enters and exits states that are tagged as "tasks" for logging purposes. This is what the Boolean "task" attribute in the state element sets up.

The success argument is currently unsupported (will always be TRUE), but has been preemptively added to avoid a signature change later.

See also
addStateChangeCallback

◆ ScXMLParallelStateChangeCB

void ScXMLParallelStateChangeCB

This typedef is currently unused.