1#ifndef COIN_SCXMLPARALLELELT_H
2#define COIN_SCXMLPARALLELELT_H
36#include <Inventor/scxml/ScXMLAbstractStateElt.h>
37#include <Inventor/tools/SbPimplPtr.h>
51class COIN_DLL_API ScXMLParallelElt :
public ScXMLAbstractStateElt {
52 typedef ScXMLAbstractStateElt inherited;
53 SCXML_ELEMENT_HEADER(ScXMLElt)
56 static void initClass(
void);
57 static void cleanClass(
void);
59 ScXMLParallelElt(
void);
60 virtual ~ScXMLParallelElt(
void);
63 virtual void setSrcAttribute(
const char * src);
64 const char * getSrcAttribute(
void)
const {
return this->src; }
68 virtual void copyContents(
const ScXMLElt * rhs);
70 virtual const ScXMLElt *
search(
const char * attrname,
const char * attrvalue)
const;
79 virtual int getNumTransitions(
void)
const;
83 virtual void clearAllTransitions(
void);
88 virtual int getNumStates(
void)
const;
92 virtual void clearAllStates(
void);
94 virtual int getNumParallels(
void)
const;
95 virtual ScXMLParallelElt * getParallel(
int idx)
const;
96 virtual void addParallel(ScXMLParallelElt * state);
97 virtual void removeParallel(ScXMLParallelElt * state);
98 virtual void clearAllParallels(
void);
100 virtual int getNumFinals(
void)
const;
104 virtual void clearAllFinals(
void);
106 virtual int getNumHistories(
void)
const;
110 virtual void clearAllHistories(
void);
112 virtual int getNumAnchors(
void)
const;
116 virtual void clearAllAnchors(
void);
127 ScXMLParallelElt(
const ScXMLParallelElt & rhs);
128 ScXMLParallelElt & operator = (
const ScXMLParallelElt & rhs);
Definition SbPimplPtr.h:55
virtual const ScXMLElt * search(const char *attrname, const char *attrvalue) const
Definition ScXMLAbstractStateElt.cpp:117
virtual SbBool handleXMLAttributes(void)
Definition ScXMLAbstractStateElt.cpp:90
implements the <anchor> SCXML element.
Definition ScXMLAnchorElt.h:40
implements the <datamodel> SCXML element.
Definition ScXMLDataModelElt.h:42
Base class for events sent to SCXML state machines.
Definition ScXMLEvent.h:40
implements the <final> SCXML element.
Definition ScXMLFinalElt.h:42
implements the <history> SCXML element.
Definition ScXMLHistoryElt.h:42
implements the <initial> SCXML element.
Definition ScXMLInitialElt.h:41
implements the <onentry> SCXML element.
Definition ScXMLOnEntryElt.h:43
implements the <onexit> SCXML element.
Definition ScXMLOnExitElt.h:43
SbBool isAtomicState(void) const
Definition ScXMLParallelElt.cpp:757
implements the <state> SCXML element.
Definition ScXMLStateElt.h:51
Manager for processing events and setting states in SCXML structures.
Definition ScXMLStateMachine.h:61
the <transition> SCXML element.
Definition ScXMLTransitionElt.h:43