SoScXMLStateMachine(3)
π NAME π
SoScXMLStateMachine β okay bestie, this is the integration level for using Coin events with SCXML-based state machines. That's the whole vibe. You're on the SoScXMLStateMachine(3) page, from the Library Functions Manual, and it's giving "glue code that makes two worlds hold hands" β¨
π SYNOPSIS π
#include <Inventor/scxml/SoScXMLStateMachine.h>
Inherits ScXMLStateMachine.
π«Ά Public Member Functions
virtual SoType getTypeId (void) const
virtual void setSceneGraphRoot (SoNode *root)
virtual SoNode * getSceneGraphRoot (void) const
virtual void setActiveCamera (SoCamera *camera)
virtual SoCamera * getActiveCamera (void) const
virtual void setViewportRegion (const SbViewportRegion &vp)
virtual const SbViewportRegion & getViewportRegion (void) const
virtual void preGLRender (void)
virtual void postGLRender (void)
virtual SbBool processSoEvent (const SoEvent *event)
π Public Member Functions inherited from ScXMLStateMachine
yes, she's got a whole inheritance situation going on, and it's lowkey iconic:
virtual void setName (const SbName &name)
const SbName & getName (void) const
virtual void setDescription (ScXMLDocument *document)
const ScXMLDocument * getDescription (void) const
virtual void initialize (void)
virtual void queueEvent (const ScXMLEvent *event, SbBool dealloc=FALSE)
virtual void queueEvent (const SbName &eventid)
virtual SbBool processEventQueue (void)
virtual SbBool isActive (void) const
virtual SbBool isFinished (void) const
virtual const ScXMLEvent * getCurrentEvent (void) const
virtual int getNumActiveStates (void) const
virtual const ScXMLObject * getActiveState (int idx) const
virtual const ScXMLObject * getState (const char *identifier) const
virtual 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)
π¦ Public Member Functions inherited from ScXMLObject
SbBool isOfType (SoType type) const
void setXMLAttribute (const char *attribute, const char *value)
const char * getXMLAttribute (const char *attribute) const
virtual SbBool handleXMLAttributes (void)
virtual void setContainer (ScXMLObject *container)
ScXMLObject * getContainer (void) const
SbBool isContainedIn (const ScXMLObject *object) const
β¨ Static Public Member Functions
static SoType getClassTypeId (void)
static void * createInstance (void)
static void initClass (void)
β Static Public Member Functions inherited from ScXMLStateMachine
static SoType getClassTypeId (void)
static void * createInstance (void)
static void initClass (void)
πΈ Static Public Member Functions inherited from ScXMLObject
static SoType getClassTypeId (void)
static void initClass (void)
π Additional Inherited Members
π Protected Member Functions inherited from ScXMLStateMachine
virtual SbBool processOneEvent (const ScXMLEvent *event)
virtual void setCurrentEvent (const ScXMLEvent *event)
π§ 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 π
Integration level for using Coin events with SCXML-based state machines.
So here's the tea: this class is part of integrating the Coin types with the SCXML subsystem. And SoScXMLStateMachines adds convenience for using SCXML state machines together with Coin events. It's literally the friendship bracelet between your state machine and your events π«Ά
fr fr, that's the entire job description. no notes. π
π¦ Since π¦
Coin 3.0 β she's been around, and she's aged like fine wine π
π₯ MEMBER FUNCTION DOCUMENTATION π₯
π SoType SoScXMLStateMachine::getTypeId (void ) const [virtual]
Reimplemented from ScXMLStateMachine.
yes bestie, she's reimplementing it, that's the whole point π
π SbBool SoScXMLStateMachine::processSoEvent (const SoEvent * event) [virtual]
This function makes the state machine process an SoEvent. that's it. that's the function. it processes the SoEvent. slay. β¨
π AUTHOR π
Generated automatically by Doxygen for Coin from the source code. (not a human, not a girlie, just a doc generator doing its thing π)
and that's the whole page, bestie β you read all of it, so proud of you π
this was Coin β Version 3.1.3 β SoScXMLStateMachine(3) π¦ periodt, no cap, go write some state machines π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms