.TH "ScXMLParallelElt" 3 "Sat Oct 12 2013" "Version 4.0.0a" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME ScXMLParallelElt \- .PP implements the SCXML element\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBScXMLAbstractStateElt\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fBSoType\fP \fBgetTypeId\fP (void) const " .br .RI "\fIReturns the type identification of an object derived from a class inheriting \fBSoBase\fP\&. This is used for run-time type checking and 'downward' casting\&. \fP" .ti -1c .RI "virtual void \fBsetSrcAttribute\fP (const char *src)" .br .ti -1c .RI "const char * \fBgetSrcAttribute\fP (void) const " .br .ti -1c .RI "virtual SbBool \fBhandleXMLAttributes\fP (void)" .br .ti -1c .RI "virtual void \fBcopyContents\fP (const \fBScXMLElt\fP *rhs)" .br .ti -1c .RI "virtual const \fBScXMLElt\fP * \fBsearch\fP (const char *attrname, const char *attrvalue) const " .br .ti -1c .RI "virtual void \fBsetOnEntry\fP (ScXMLOnEntryElt *onentry)" .br .ti -1c .RI "virtual ScXMLOnEntryElt * \fBgetOnEntry\fP (void) const " .br .ti -1c .RI "virtual void \fBsetOnExit\fP (ScXMLOnExitElt *onexit)" .br .ti -1c .RI "virtual ScXMLOnExitElt * \fBgetOnExit\fP (void) const " .br .ti -1c .RI "virtual int \fBgetNumTransitions\fP (void) const " .br .ti -1c .RI "virtual \fBScXMLTransitionElt\fP * \fBgetTransition\fP (int idx) const " .br .ti -1c .RI "virtual void \fBaddTransition\fP (\fBScXMLTransitionElt\fP *transition)" .br .ti -1c .RI "virtual void \fBremoveTransition\fP (\fBScXMLTransitionElt\fP *transition)" .br .ti -1c .RI "virtual void \fBclearAllTransitions\fP (void)" .br .ti -1c .RI "virtual void \fBsetInitial\fP (\fBScXMLInitialElt\fP *initial)" .br .ti -1c .RI "virtual \fBScXMLInitialElt\fP * \fBgetInitial\fP (void) const " .br .ti -1c .RI "virtual int \fBgetNumStates\fP (void) const " .br .ti -1c .RI "virtual \fBScXMLStateElt\fP * \fBgetState\fP (int idx) const " .br .ti -1c .RI "virtual void \fBaddState\fP (\fBScXMLStateElt\fP *state)" .br .ti -1c .RI "virtual void \fBremoveState\fP (\fBScXMLStateElt\fP *state)" .br .ti -1c .RI "virtual void \fBclearAllStates\fP (void)" .br .ti -1c .RI "virtual int \fBgetNumParallels\fP (void) const " .br .ti -1c .RI "virtual \fBScXMLParallelElt\fP * \fBgetParallel\fP (int idx) const " .br .ti -1c .RI "virtual void \fBaddParallel\fP (\fBScXMLParallelElt\fP *state)" .br .ti -1c .RI "virtual void \fBremoveParallel\fP (\fBScXMLParallelElt\fP *state)" .br .ti -1c .RI "virtual void \fBclearAllParallels\fP (void)" .br .ti -1c .RI "virtual int \fBgetNumFinals\fP (void) const " .br .ti -1c .RI "virtual \fBScXMLFinalElt\fP * \fBgetFinal\fP (int idx) const " .br .ti -1c .RI "virtual void \fBaddFinal\fP (\fBScXMLFinalElt\fP *state)" .br .ti -1c .RI "virtual void \fBremoveFinal\fP (\fBScXMLFinalElt\fP *state)" .br .ti -1c .RI "virtual void \fBclearAllFinals\fP (void)" .br .ti -1c .RI "virtual int \fBgetNumHistories\fP (void) const " .br .ti -1c .RI "virtual \fBScXMLHistoryElt\fP * \fBgetHistory\fP (int idx) const " .br .ti -1c .RI "virtual void \fBaddHistory\fP (\fBScXMLHistoryElt\fP *history)" .br .ti -1c .RI "virtual void \fBremoveHistory\fP (\fBScXMLHistoryElt\fP *history)" .br .ti -1c .RI "virtual void \fBclearAllHistories\fP (void)" .br .ti -1c .RI "virtual int \fBgetNumAnchors\fP (void) const " .br .ti -1c .RI "virtual \fBScXMLAnchorElt\fP * \fBgetAnchor\fP (int idx) const " .br .ti -1c .RI "virtual void \fBaddAnchor\fP (\fBScXMLAnchorElt\fP *anchor)" .br .ti -1c .RI "virtual void \fBremoveAnchor\fP (\fBScXMLAnchorElt\fP *anchor)" .br .ti -1c .RI "virtual void \fBclearAllAnchors\fP (void)" .br .ti -1c .RI "virtual void \fBsetDataModel\fP (\fBScXMLDataModelElt\fP *datamodel)" .br .ti -1c .RI "virtual \fBScXMLDataModelElt\fP * \fBgetDataModel\fP (void) const " .br .ti -1c .RI "SbBool \fBisAtomicState\fP (void) const " .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBScXMLEltReader\fP * \fBgetElementReader\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .RI "\fIThis static method returns the \fBSoType\fP object associated with objects of this class\&. \fP" .ti -1c .RI "static void * \fBcreateInstance\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .RI "\fISets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. \fP" .ti -1c .RI "static void \fBcleanClass\fP (void)" .br .RI "\fIDoes the opposite of initClass, deallocates any class specific resources and resets the class to an uninitialized state with respect to the Coin typesystem\&. \fP" .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "char * \fBsrc\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP implements the SCXML element\&. \fBSince:\fP .RS 4 Coin 3\&.0 .RE .PP .SH "Member Function Documentation" .PP .SS "\fBSoType\fP ScXMLParallelElt::getClassTypeId (void)\fC [static]\fP" .PP This static method returns the \fBSoType\fP object associated with objects of this class\&. \fBSee Also:\fP .RS 4 \fBSoBase::getClassTypeId\fP .RE .PP .PP Reimplemented from \fBScXMLAbstractStateElt\fP\&. .SS "\fBSoType\fP ScXMLParallelElt::getTypeId (void) const\fC [virtual]\fP" .PP Returns the type identification of an object derived from a class inheriting \fBSoBase\fP\&. This is used for run-time type checking and 'downward' casting\&. \fBSee Also:\fP .RS 4 \fBSoBase::getTypeId() const\fP .RE .PP .PP Implements \fBScXMLAbstractStateElt\fP\&. .SS "void ScXMLParallelElt::initClass (void)\fC [static]\fP" .PP Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system\&. \fBSee Also:\fP .RS 4 \fBSoBase::initClass()\fP .RE .PP .PP Reimplemented from \fBScXMLAbstractStateElt\fP\&. .SS "SbBool ScXMLParallelElt::handleXMLAttributes (void)\fC [virtual]\fP" This method is called when the file reader has set all the XML attributes on the object, and wants the object to handle them and report if the values were ok or if a read error should be produced\&. .PP \fBReturns:\fP .RS 4 TRUE if the attributes are ok, and FALSE on error\&. .RE .PP This base class implementation does nothing and just returns TRUE\&. .PP Reimplemented from \fBScXMLAbstractStateElt\fP\&. .SS "const \fBScXMLElt\fP * ScXMLParallelElt::search (const char *attrname, const char *attrvalue) const\fC [virtual]\fP" This method searches the SCXML structure for an element with the given attributevalue for the given attribute\&. .PP Returns NULL if nothing was found\&. .PP This function needs to be reimplemented to traverse child elements\&. .PP Reimplemented from \fBScXMLAbstractStateElt\fP\&. .SS "SbBool ScXMLParallelElt::isAtomicState (void) const" Returns TRUE if this is an 'atomic state', which means that it has no sub-states but contains executable content\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.