1 #ifndef COIN_SCXMLSTATEMACHINE_H 2 #define COIN_SCXMLSTATEMACHINE_H 36 #include <Inventor/scxml/ScXMLEventTarget.h> 38 #include <Inventor/SbName.h> 39 #include <Inventor/lists/SbList.h> 51 const char * stateidentifier,
57 const char ** stateidentifiers,
66 static void initClass(
void);
67 static void cleanClass(
void);
72 virtual void setName(
const SbName & name);
73 const SbName & getName(
void)
const;
78 virtual void setSessionId(
const SbName & sessionid);
79 const SbName & getSessionId(
void)
const;
81 virtual void initialize(
void);
83 virtual SbBool isActive(
void)
const;
84 virtual SbBool isFinished(
void)
const;
86 virtual int getNumActiveStates(
void)
const;
87 virtual const ScXMLElt * getActiveState(
int idx)
const;
99 virtual void setVariable(
const char * name,
const char * value);
100 virtual const char * getVariable(
const char * name)
const;
104 virtual void setLogLevel(
int loglevel);
105 int getLogLevel(
void)
const;
110 SbBool isModuleEnabled(
const char * modulename)
const;
111 int getNumEnabledModules(
void)
const;
112 const char * getEnabledModuleName(
int idx)
const;
127 #endif // !COIN_SCXMLSTATEMACHINE_H virtual SbBool processOneEvent(const ScXMLEvent *event)
Definition: ScXMLEventTarget.cpp:582
void ScXMLStateChangeCB(void *userdata, ScXMLStateMachine *statemachine, const char *stateidentifier, SbBool enterstate, SbBool success)
Definition: ScXMLStateMachine.h:49
void ScXMLParallelStateChangeCB(void *userdata, ScXMLStateMachine *statemachine, int numstates, const char **stateidentifiers, SbBool enterstate, SbBool success)
Definition: ScXMLStateMachine.h:54
The SbList class is a template container class for lists.
Definition: SoType.h:55
defines an interface for profile-dependent evaluators.
Definition: ScXMLEvaluator.h:44
void ScXMLStateMachineDeleteCB(void *userdata, ScXMLStateMachine *statemachine)
Definition: ScXMLStateMachine.h:47
base class for all SCXML elements.
Definition: ScXMLElt.h:44
Base class for events sent to SCXML state machines.
Definition: ScXMLEvent.h:40
Definition: ScXMLDocument.h:47
Base class for all SCXML objects.
Definition: ScXMLObject.h:41
base class for event targets for inter-system event communication
Definition: ScXMLEventTarget.h:43
The SbName class stores strings by reference.
Definition: SbName.h:40
Manager for processing events and setting states in SCXML structures.
Definition: ScXMLStateMachine.h:61