ScXMLParallelElt(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– 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 inheriting SoBase. 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 out
  • virtual SbBool handleXMLAttributes (void) β€” handles the XML attributes
  • virtual void copyContents (const ScXMLElt *rhs) β€” copies the contents
  • virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) const β€” searches for an element
  • virtual void setOnEntry (ScXMLOnEntryElt *onentry) β€” sets the onentry element
  • virtual ScXMLOnEntryElt * getOnEntry (void) const β€” gets the onentry element
  • virtual void setOnExit (ScXMLOnExitElt *onexit) β€” sets the onexit element
  • virtual ScXMLOnExitElt * getOnExit (void) const β€” gets the onexit element
  • virtual int getNumTransitions (void) const β€” how many transitions we got
  • virtual ScXMLTransitionElt * getTransition (int idx) const β€” get the transition at idx
  • virtual void addTransition (ScXMLTransitionElt *transition) β€” add a transition
  • virtual void removeTransition (ScXMLTransitionElt *transition) β€” remove a transition
  • virtual void clearAllTransitions (void) β€” bye bye, all transitions 🫢
  • virtual void setInitial (ScXMLInitialElt *initial) β€” set the initial element
  • virtual ScXMLInitialElt * getInitial (void) const β€” get the initial element
  • virtual int getNumStates (void) const β€” count the states
  • virtual ScXMLStateElt * getState (int idx) const β€” get state at idx
  • virtual void addState (ScXMLStateElt *state) β€” add a state
  • virtual void removeState (ScXMLStateElt *state) β€” remove a state
  • virtual void clearAllStates (void) β€” clear all the states
  • virtual int getNumParallels (void) const β€” count the parallels
  • virtual ScXMLParallelElt * getParallel (int idx) const β€” get parallel at idx
  • virtual void addParallel (ScXMLParallelElt *state) β€” add a parallel
  • virtual void removeParallel (ScXMLParallelElt *state) β€” remove a parallel
  • virtual void clearAllParallels (void) β€” clear all parallels
  • virtual int getNumFinals (void) const β€” count the finals
  • virtual ScXMLFinalElt * getFinal (int idx) const β€” get final at idx
  • virtual void addFinal (ScXMLFinalElt *state) β€” add a final
  • virtual void removeFinal (ScXMLFinalElt *state) β€” remove a final
  • virtual void clearAllFinals (void) β€” clear all finals
  • virtual int getNumHistories (void) const β€” count the histories
  • virtual ScXMLHistoryElt * getHistory (int idx) const β€” get history at idx
  • virtual void addHistory (ScXMLHistoryElt *history) β€” add a history
  • virtual void removeHistory (ScXMLHistoryElt *history) β€” remove a history
  • virtual void clearAllHistories (void) β€” clear all histories
  • virtual int getNumAnchors (void) const β€” count the anchors
  • virtual ScXMLAnchorElt * getAnchor (int idx) const β€” get anchor at idx
  • virtual void addAnchor (ScXMLAnchorElt *anchor) β€” add an anchor
  • virtual void removeAnchor (ScXMLAnchorElt *anchor) β€” remove an anchor
  • virtual void clearAllAnchors (void) β€” clear all anchors
  • virtual void setDataModel (ScXMLDataModelElt *datamodel) β€” set the datamodel
  • virtual ScXMLDataModelElt * getDataModel (void) const β€” get the datamodel
  • SbBool 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 attribute
  • const 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 attribute
  • const char * getXMLAttribute (const char *attribute) const β€” get an XML attribute
  • ScXMLElt * clone (void) const β€” clone it, bestie
  • virtual void setContainer (ScXMLElt *container) β€” set the container
  • ScXMLElt * getContainer (void) const β€” get the container
  • SbBool isContainedIn (const ScXMLElt *object) const β€” is it contained in object?

🌈 Public Member Functions inherited from ScXMLObject

  • SbBool isOfType (SoType type) const β€” Returns TRUE if 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 reader
  • static SoType getClassTypeId (void) β€” get the class type id
  • static void * createInstance (void) β€” create an instance
  • static void initClass (void) β€” init the class
  • static 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 the SoType object 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 of initClass, 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