SoScXMLEvent(3)
π SoScXMLEvent β the Coin manual, bestie edition
okay so picture this: you're deep in Coin, you're deep in SCXML, and you need an SoEvent to actually travel through your state machine. That's literally this class. It's SoScXMLEvent(3) from the Coin library, and it's giving "tiny wrapper, huge main character energy" β¨
πΈ NAME πΈ
SoScXMLEvent β adds an SoEvent holder to the ScXMLEvent base. That's it. That's the whole job. And she does it flawlessly π
β¨ SYNOPSIS β¨
#include <Inventor/scxml/SoScXMLEvent.h>
Inherits ScXMLEvent. (Yes bestie, she's a nepo baby, but a talented one π)
π«Ά 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. (iykyk what that stray quote is doing there, but we reproduce it faithfully π)virtual void setSoEvent (const SoEvent *soevent)virtual const SoEvent * getSoEvent (void) constvirtual void setUpIdentifier (void)virtual void copyContents (const ScXMLEvent *rhs)
Public Member Functions inherited from ScXMLEvent
virtual void setEventName (const SbName &name)const SbName & getEventName (void) constScXMLEvent * clone (void) constvoid setAssociation (const char *key, const char *value)const char * getAssociation (const char *key) constsize_t getNumAssociations (void) constsize_t getAssociationKeys (SbList< const char * > &keys) const
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 ScXMLEvent
static SoType getClassTypeId (void)static void * createInstance (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. Lowkey the class's glow-up ritual π§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. The de-influencing arc π
π¦ Additional Inherited Members
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 ScXMLEvent
SbName name
π Detailed Description π
Adds an SoEvent holder to the ScXMLEvent base.
This class is part of integrating the Coin types with the SCXML subsystem. SoScXMLEvent objects are ScXMLEvents that wraps/passes an SoEvent to the SCXML state machine. She's the lil courier π, the middlewoman, the go-between. no cap.
Since: Coin 3.0
π₯ Member Function Documentation π₯
SoType SoScXMLEvent::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 ScXMLEvent.
void SoScXMLEvent::setSoEvent (const SoEvent * soevent) [virtual]
This function stores a pointer to the originator SoEvent that caused the given event, if any.
The event is duplicated when set, and can be deleted immediately by the caller. So bestie, you can hand her your event and then immediately let it go β she made her own copy, she's not borrowing yours, she's keeping it π
See also: setUpIdentifiers
const SoEvent * SoScXMLEvent::getSoEvent (void ) const [virtual]
Returns the pointer to the stored SoEvent or NULL if no event has been stored yet. Empty-handed era = NULL. periodt.
See also: setSoEvent
void SoScXMLEvent::setUpIdentifier (void ) [virtual]
This method updates the ScXMLEvent event class and event identifier strings based on the set SoEvent object.
The identifiers will be cleared if no SoEvent object has been stored. So no event = no identifiers, she wipes the slate clean, iconic behavior honestly π
See also: setSoEvent
void SoScXMLEvent::copyContents (const ScXMLEvent * rhs) [virtual]
Reimplemented from ScXMLEvent.
π Author π
Generated automatically by Doxygen for Coin from the source code. (So if the prose is a little stiff, blame the robot, not me π)
Version 4.0.10 πΈ Thu Jun 25 2026 00:00:00 β that's the whole page, bestie, SoScXMLEvent(3) and we're out. slay, stay typed, and go pass some events through your state machine ππ¦
π¦ 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