ScXMLParallelElt(3)
π ScXMLParallelElt(3) π
okay bestie, sit down, hydrate, because today we're talking about ScXMLParallelElt(3) β a whole Coin manpage, and she is serving documentation realness. it's the <parallel> SCXML element, she inherits from ScXMLAbstractStateElt, and she has SO many member functions it's giving main character energy. let's get into it π
β¨ NAME β¨
ScXMLParallelElt β no cap, this class implements the <parallel> SCXML element. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
#include <Inventor/scxml/ScXMLParallelElt.h>
Inherits ScXMLAbstractStateElt. π¦
π Public Member Functions
virtual SoType getTypeId (void) constβ Returns the type identification of an object derived from a class inheritingSoBase. This is used for runtime type checking and downward"casting.virtual void setSrcAttribute (const char *src)β sets the src attribute, obviously πconst char * getSrcAttribute (void) constβ grabs the src attribute back outvirtual SbBool handleXMLAttributes (void)β handles the XML attributesvirtual void copyContents (const ScXMLElt *rhs)β copies the contentsvirtual const ScXMLElt * search (const char *attrname, const char *attrvalue) constβ searches for an elementvirtual void setOnEntry (ScXMLOnEntryElt *onentry)β sets the onentry elementvirtual ScXMLOnEntryElt * getOnEntry (void) constβ gets the onentry elementvirtual void setOnExit (ScXMLOnExitElt *onexit)β sets the onexit elementvirtual ScXMLOnExitElt * getOnExit (void) constβ gets the onexit elementvirtual int getNumTransitions (void) constβ how many transitions we gotvirtual ScXMLTransitionElt * getTransition (int idx) constβ get the transition atidxvirtual void addTransition (ScXMLTransitionElt *transition)β add a transitionvirtual void removeTransition (ScXMLTransitionElt *transition)β remove a transitionvirtual void clearAllTransitions (void)β bye bye, all transitions π«Άvirtual void setInitial (ScXMLInitialElt *initial)β set the initial elementvirtual ScXMLInitialElt * getInitial (void) constβ get the initial elementvirtual int getNumStates (void) constβ count the statesvirtual ScXMLStateElt * getState (int idx) constβ get state atidxvirtual void addState (ScXMLStateElt *state)β add a statevirtual void removeState (ScXMLStateElt *state)β remove a statevirtual void clearAllStates (void)β clear all the statesvirtual int getNumParallels (void) constβ count the parallelsvirtual ScXMLParallelElt * getParallel (int idx) constβ get parallel atidxvirtual void addParallel (ScXMLParallelElt *state)β add a parallelvirtual void removeParallel (ScXMLParallelElt *state)β remove a parallelvirtual void clearAllParallels (void)β clear all parallelsvirtual int getNumFinals (void) constβ count the finalsvirtual ScXMLFinalElt * getFinal (int idx) constβ get final atidxvirtual void addFinal (ScXMLFinalElt *state)β add a finalvirtual void removeFinal (ScXMLFinalElt *state)β remove a finalvirtual void clearAllFinals (void)β clear all finalsvirtual int getNumHistories (void) constβ count the historiesvirtual ScXMLHistoryElt * getHistory (int idx) constβ get history atidxvirtual void addHistory (ScXMLHistoryElt *history)β add a historyvirtual void removeHistory (ScXMLHistoryElt *history)β remove a historyvirtual void clearAllHistories (void)β clear all historiesvirtual int getNumAnchors (void) constβ count the anchorsvirtual ScXMLAnchorElt * getAnchor (int idx) constβ get anchor atidxvirtual void addAnchor (ScXMLAnchorElt *anchor)β add an anchorvirtual void removeAnchor (ScXMLAnchorElt *anchor)β remove an anchorvirtual void clearAllAnchors (void)β clear all anchorsvirtual void setDataModel (ScXMLDataModelElt *datamodel)β set the datamodelvirtual ScXMLDataModelElt * getDataModel (void) constβ get the datamodelSbBool isAtomicState (void) constβ is it an atomic state?? find out β¨
π Public Member Functions inherited from ScXMLAbstractStateElt
virtual void setIdAttribute (const char *id)β set the id attributeconst char * getIdAttribute (void) constβ get the id attribute
π Public Member Functions inherited from ScXMLElt
void setXMLAttribute (const char *attribute, const char *value)β set an XML attributeconst char * getXMLAttribute (const char *attribute) constβ get an XML attributeScXMLElt * clone (void) constβ clone it, bestievirtual void setContainer (ScXMLElt *container)β set the containerScXMLElt * getContainer (void) constβ get the containerSbBool isContainedIn (const ScXMLElt *object) constβ is it contained inobject?
π Public Member Functions inherited from ScXMLObject
SbBool isOfType (SoType type) constβ ReturnsTRUEif the type of this object is either of the same type or inherited from type.
β Static Public Member Functions
static ScXMLEltReader * getElementReader (void)β get the element readerstatic SoType getClassTypeId (void)β get the class type idstatic void * createInstance (void)β create an instancestatic void initClass (void)β init the classstatic void cleanClass (void)β clean the class
π Static Public Member Functions inherited from ScXMLAbstractStateElt
static SoType getClassTypeId (void)static void initClass (void)static void cleanClass (void)
π Static Public Member Functions inherited from ScXMLElt
static SoType getClassTypeId (void)static void initClass (void)static void cleanClass (void)
π Static Public Member Functions inherited from ScXMLObject
static SoType getClassTypeId (void)β This static method returns theSoTypeobject associated with objects of this class.static void initClass (void)β Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static void cleanClass (void)β Does the opposite ofinitClass, deallocates any class specific resources and resets the class to an uninitialized state with respect to the Coin type system.
π Protected Attributes
char * srcβ the src, protected, iconic
π Protected Attributes inherited from ScXMLAbstractStateElt
char * idβ the id, also protected
π§ Additional Inherited Members
Static Protected Member Functions inherited from ScXMLElt
static void registerClassType (const char *xmlns, const char *classname, SoType type)static void registerInvokeClassType (const char *xmlns, const char *targettype, const char *source, SoType type)
Static Protected Member Functions inherited from ScXMLObject
static void registerClassType (const char *xmlns, const char *classname, SoType type)static void registerInvokeClassType (const char *xmlns, const char *targettype, const char *source, SoType type)
π Detailed Description π
implements the <parallel> SCXML element. that's the whole description, she's short and she knows it π
Since: Coin 3.0 β vintage but make it cute β¨
π₯ Member Function Documentation π₯
SoType ScXMLParallelElt::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.
See also: SoBase::getTypeId() const
Implements ScXMLAbstractStateElt.
SbBool ScXMLParallelElt::handleXMLAttributes (void ) [virtual]
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.
Returns: TRUE if the attributes are OK, and FALSE on error.
This base class implementation does nothing and just returns TRUE. (lowkey the chillest function in the whole file, she's just vibing π)
Reimplemented from ScXMLAbstractStateElt.
void ScXMLParallelElt::copyContents (const ScXMLElt * rhs) [virtual]
Reimplemented from ScXMLAbstractStateElt.
const ScXMLElt * ScXMLParallelElt::search (const char * attrname, const char * attrvalue) const [virtual]
This method searches the SCXML structure for an element with the given attribute value for the given attribute.
Returns NULL if nothing was found. π«₯
This function needs to be reimplemented to traverse child elements.
Reimplemented from ScXMLAbstractStateElt.
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.
πΈ Author πΈ
Generated automatically by Doxygen for Coin from the source code. (yes bestie, a robot wrote this and honestly? she ate π€π)
and that's the whole page!! tysm for reading, you're doing amazing sweetie π«Άβ¨
little sign-off moment: this was Coin documentation, version 4.0.10, dated Thu Jun 25 2026 00:00:00, filed under ScXMLParallelElt(3). go forth and parallel, queen ππ
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms