ScXMLOnExitElt(3)
β¨ ScXMLOnExitElt β¨
okay bestie, we're reading the ScXMLOnExitElt(3) manpage from the Coin manual and it is lowkey iconic π
this one implements the <onexit> SCXML element, and yes it's giving very "small class, huge responsibilities" energy π
πΈ NAME πΈ
ScXMLOnExitElt β implements the <onexit> SCXML element. periodt.
π¦ SYNOPSIS π¦
#include <Inventor/scxml/ScXMLOnExitElt.h>
Inherits ScXMLElt.
π 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. (yes the original quote has that lil stray quote indownward"castingβ we keep it, no cap, character for character π«Ά)virtual int getNumExecutables (void) constβ how many executables are in here, as a number.virtual ScXMLExecutableElt * getExecutable (int idx) constβ grab the executable sitting at indexidx.virtual void addExecutable (ScXMLExecutableElt *executable)β add an executable to the pile.virtual void removeExecutable (ScXMLExecutableElt *executable)β yeet an executable back out.virtual void clearAllExecutables (void)β remove literally all of them, clean slate energy β¨virtual void copyContents (const ScXMLElt *rhs)β copies the contents over fromrhs.virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) constβ hunts through the SCXML structure for an element with the given attribute value for the given attribute.virtual void execute (ScXMLStateMachine *statemachine) constβ runs this thing againststatemachine.
π 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 back.virtual SbBool handleXMLAttributes (void)β handle those XML attributes.ScXMLElt * clone (void) constβ clone it.virtual void setContainer (ScXMLElt *container)β set the container.ScXMLElt * getContainer (void) constβ get the container.SbBool isContainedIn (const ScXMLElt *object) constβ is it contained inobject? mystery solved.
π 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 fromtype. fr fr, it's the vibe check for types.
β Static Public Member Functions β
static ScXMLEltReader * getElementReader (void)β hands you the element reader.static SoType getClassTypeId (void)β the class'sSoType.static void * createInstance (void)β makes an instance.static void initClass (void)β sets the class up.static void cleanClass (void)β tears it back down.
π 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. so basically the factory reset π§
π¦ 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 <onexit> SCXML element. that's the whole vibe, honestly.
Since: Coin 3.0 β¨ (she's been here a minute)
π Member Function Documentation π
π SoType ScXMLOnExitElt::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 ScXMLElt.
π void ScXMLOnExitElt::copyContents (const ScXMLElt * rhs) [virtual] π
Reimplemented from ScXMLElt.
π const ScXMLElt * ScXMLOnExitElt::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. (ngl, she will absolutely come back empty-handed sometimes π)
This function needs to be reimplemented to traverse child elements.
Reimplemented from ScXMLElt.
π Author π
Generated automatically by Doxygen for Coin from the source code. (so if the prose is a little stiff, blame the robot, not me π)
aaaand that's the whole page bestie π«Ά this was ScXMLOnExitElt(3), straight out of Coin, Version 4.0.10, dated Thu Jun 25 2026 00:00:00. go forth and <onexit> responsibly, mwah πβ¨
π¦ 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