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> 47 typedef void ScXMLStateMachineDeleteCB(
void * userdata,
51 const char * stateidentifier,
54 typedef void ScXMLParallelStateChangeCB(
void * userdata,
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;
89 virtual void addDeleteCallback(ScXMLStateMachineDeleteCB * callback,
91 virtual void removeDeleteCallback(ScXMLStateMachineDeleteCB * callback,
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;
123 SbPimplPtr<PImpl> pimpl;
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
defines an interface for profile-dependent evaluators.
Definition: ScXMLEvaluator.h:44
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.The class is used by Coin for storing keywords...
Definition: SbName.h:40
Manager for processing events and setting states in SCXML structures.
Definition: ScXMLStateMachine.h:61