SoScXMLStateMachine(3)
π SoScXMLStateMachine π (section 3 of the Coin manual, bestie)
okay so. this is the page for SoScXMLStateMachine β the integration level for using Coin events with SCXML-based state machines. it lives in the Coin docs, manual section 3. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
SoScXMLStateMachine β Integration level for using Coin events with SCXML-based state machines.
β¨ SYNOPSIS β¨
#include <Inventor/scxml/SoScXMLStateMachine.h>
Inherits ScXMLStateMachine.
π 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 setSceneGraphRoot (SoNode *root)virtual SoNode * getSceneGraphRoot (void) constvirtual void setActiveCamera (SoCamera *camera)virtual SoCamera * getActiveCamera (void) constvirtual void setViewportRegion (const SbViewportRegion &vp)virtual const SbViewportRegion & getViewportRegion (void) constvirtual void preGLRender (void)virtual void postGLRender (void)virtual SbBool processSoEvent (const SoEvent *event)virtual const char * getVariable (const char *key) const
π¦ Public Member Functions inherited from ScXMLStateMachine π¦
virtual void setName (const SbName &name)const SbName & getName (void) constvirtual void setDescription (ScXMLDocument *document)const ScXMLDocument * getDescription (void) constvirtual void setSessionId (const SbName &sessionid)const SbName & getSessionId (void) constvirtual void initialize (void)virtual SbBool isActive (void) constvirtual SbBool isFinished (void) constvirtual int getNumActiveStates (void) constvirtual const ScXMLElt * getActiveState (int idx) constvirtual void addDeleteCallback (ScXMLStateMachineDeleteCB *callback, void *userdata)virtual void removeDeleteCallback (ScXMLStateMachineDeleteCB *callback, void *userdata)virtual void addStateChangeCallback (ScXMLStateChangeCB *callback, void *userdata)virtual void removeStateChangeCallback (ScXMLStateChangeCB *callback, void *userdata)virtual void setVariable (const char *name, const char *value)virtual void setLogLevel (int loglevel)int getLogLevel (void) constvirtual void setEvaluator (ScXMLEvaluator *evaluator)ScXMLEvaluator * getEvaluator (void) constSbBool isModuleEnabled (const char *modulename) constint getNumEnabledModules (void) constconst char * getEnabledModuleName (int idx) constvoid setEnabledModulesList (const SbList< const char * > &modulenames)
πΈ Public Member Functions inherited from ScXMLEventTarget πΈ
virtual void setEventTargetType (const char *targettype)const char * getEventTargetType (void) constvirtual void setEventTargetName (const char *targetname)const char * getEventTargetName (void) constvirtual const ScXMLEvent * getCurrentEvent (void) constvirtual void queueEvent (const ScXMLEvent *event)virtual void queueEvent (const SbName &eventid)virtual SbBool processEventQueue (void)virtual SbBool sendExternalEvent (const ScXMLSendElt *sendelt)virtual SbBool sendInternalEvent (const ScXMLEventElt *sendelt)virtual void queueInternalEvent (const ScXMLEvent *event)virtual void queueInternalEvent (const SbName &eventid)
π 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 SoType getClassTypeId (void)static void * createInstance (void)static void initClass (void)static void cleanClass (void)
β Static Public Member Functions inherited from ScXMLStateMachine β
static SoType getClassTypeId (void)static void * createInstance (void)static void initClass (void)static void cleanClass (void)static ScXMLStateMachine * getStateMachineForSessionId (const SbName &sessionid)
β Static Public Member Functions inherited from ScXMLEventTarget β
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.
π Additional Inherited Members π
π₯ Protected Member Functions inherited from ScXMLStateMachine π₯
virtual SbBool processOneEvent (const ScXMLEvent *event)
π₯ Protected Member Functions inherited from ScXMLEventTarget π₯
virtual void setCurrentEvent (const ScXMLEvent *event)virtual const ScXMLEvent * getNextEvent (void)virtual const ScXMLEvent * getNextInternalEvent (void)virtual const ScXMLEvent * getNextExternalEvent (void)
π₯ Static Protected Member Functions inherited from ScXMLEventTarget π₯
static void registerEventTarget (ScXMLEventTarget *target, const char *sessionid=NULL)static void unregisterEventTarget (ScXMLEventTarget *target, const char *sessionid=NULL)static ScXMLEventTarget * getEventTarget (const char *targettype, const char *targetname, const char *sessionid=NULL)
π₯ 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)
π₯ Protected Attributes inherited from ScXMLEventTarget π₯
char * targetnamechar * targettypeconst ScXMLEvent * currenteventSbBool isprocessingqueue
π Detailed Description π
Integration level for using Coin events with SCXML-based state machines.
This class is part of integrating the Coin types with the SCXML subsystem. SoScXMLStateMachines adds convenience for using SCXML state machines together with Coin events.
Since
Coin 3.0
π Member Function Documentation π
SoType SoScXMLStateMachine::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
Reimplemented from ScXMLStateMachine.
SbBool SoScXMLStateMachine::processSoEvent (const SoEvent * event) [virtual]
This function makes the state machine process an SoEvent.
const char * SoScXMLStateMachine::getVariable (const char * key) const [virtual]
The string returned from this function is only valid until the next variable is requested.
fr fr, that lifetime thing is not a joke β grab what you need before you go asking for the next variable, bestie. π
Reimplemented from ScXMLStateMachine.
π Author π
Generated automatically by Doxygen for Coin from the source code.
okay that's the whole page, no skips, no cuts, every option and every inherited member accounted for π
Version 4.0.10 β dated Thu Jun 25 2026 00:00:00, and it's the SoScXMLStateMachine(3) page. periodt. π
β¨π¦
π¦ 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