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>
47typedef void ScXMLStateMachineDeleteCB(
void * userdata,
49typedef void ScXMLStateChangeCB(
void * userdata,
54typedef void ScXMLParallelStateChangeCB(
void * userdata,
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,
94 virtual void addStateChangeCallback(ScXMLStateChangeCB * callback,
96 virtual void removeStateChangeCallback(ScXMLStateChangeCB * 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;
116 virtual SbBool processOneEvent(
const ScXMLEvent * event);
The SbList class is a template container class for lists.
Definition SbList.h:70
SbList< Type > & operator=(const SbList< Type > &l)
Definition SbList.h:99
The SbName class stores strings by reference.
Definition SbName.h:40
Definition ScXMLDocument.h:47
base class for all SCXML elements.
Definition ScXMLElt.h:44
defines an interface for profile-dependent evaluators.
Definition ScXMLEvaluator.h:44
base class for event targets for inter-system event communication
Definition ScXMLEventTarget.h:43
Base class for events sent to SCXML state machines.
Definition ScXMLEvent.h:40
Manager for processing events and setting states in SCXML structures.
Definition ScXMLStateMachine.h:61