SoScXMLStateMachine(3)

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

πŸ’– 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 inheriting SoBase. This is used for runtime type checking and downward"casting.
  • 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)
  • virtual const char * getVariable (const char *key) const

πŸ¦‹ Public Member Functions inherited from ScXMLStateMachine πŸ¦‹

  • virtual void setName (const SbName &name)
  • const SbName & getName (void) const
  • virtual void setDescription (ScXMLDocument *document)
  • const ScXMLDocument * getDescription (void) const
  • virtual void setSessionId (const SbName &sessionid)
  • const SbName & getSessionId (void) const
  • virtual void initialize (void)
  • virtual SbBool isActive (void) const
  • virtual SbBool isFinished (void) const
  • virtual int getNumActiveStates (void) const
  • virtual const ScXMLElt * getActiveState (int idx) 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)
  • virtual void setVariable (const char *name, const char *value)
  • virtual void setLogLevel (int loglevel)
  • int getLogLevel (void) const
  • virtual void setEvaluator (ScXMLEvaluator *evaluator)
  • ScXMLEvaluator * getEvaluator (void) const
  • SbBool isModuleEnabled (const char *modulename) const
  • int getNumEnabledModules (void) const
  • const char * getEnabledModuleName (int idx) const
  • void setEnabledModulesList (const SbList< const char * > &modulenames)

🌸 Public Member Functions inherited from ScXMLEventTarget 🌸

  • virtual void setEventTargetType (const char *targettype)
  • const char * getEventTargetType (void) const
  • virtual void setEventTargetName (const char *targetname)
  • const char * getEventTargetName (void) const
  • virtual const ScXMLEvent * getCurrentEvent (void) const
  • virtual 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 β€” Returns TRUE if 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 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.

🌈 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 * targetname
  • char * targettype
  • const ScXMLEvent * currentevent
  • SbBool 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