ScXMLEvent(3)
π ScXMLEvent(3) π
okay bestie, sit down, hydrate, because we're talking about ScXMLEvent from the Coin manual. this is a 3D-graphics-library-adjacent, SCXML-state-machine-adjacent situation and honestly? it's giving base class energy in the best way. let's go π¦
β¨ NAME β¨
ScXMLEvent β the base class for events sent to SCXML state machines. the blueprint. the blueprint blueprint. the blueprint's blueprint. π
πΈ SYNOPSIS πΈ
#include <Inventor/scxml/ScXMLEvent.h>
so it Inherits ScXMLObject, and it's Inherited by SoScXMLEvent. family tree's looking cute π
π Public Member Functions π
virtual SoType getTypeId (void) constβ hands you the type identification of an object derived from a class inheritingSoBase. this is what makes runtime type checking and "downward" casting possible, no cap.virtual void setEventName (const SbName &name)β sets the event's name.const SbName & getEventName (void) constβ gets the event's name.ScXMLEvent * clone (void) constβ clones it. copy-paste but make it legal β¨void setAssociation (const char *key, const char *value)β sets an association.const char * getAssociation (const char *key) constβ gets an association.size_t getNumAssociations (void) constβ how many associations we got.size_t getAssociationKeys (SbList< const char * > &keys) constβ grab all the association keys into your list.
π 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. so basically "are you one of us or one of our ancestors" π«Ά
β 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 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. the un-init. the anti-init. iconic honestly.
π§ Protected Member Functions π§
virtual void copyContents (const ScXMLEvent *rhs)β copies the contents over.
π Protected Attributes π
SbName nameβ yes. it's a name. we love a self-explanatory queen.
π 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)
π₯ DESCRIPTION π₯
Base class for events sent to SCXML state machines. that's the whole vibe. it's the parent of all the little events that go knock-knock on your state machine's door. π
Since: Coin 3.0
π MEMBER FUNCTION DOCUMENTATION π
SoType ScXMLEvent::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: ScXMLObject.
Reimplemented in: SoScXMLEvent.
void ScXMLEvent::setEventName (const SbName & namearg) [virtual]
This method is for setting a string that will identify this particular event, having this particular state, and can be used for event matching in the SCXML descriptions.
The string should, according to the specification, be a set of tokens consisting of alphanumeric characters, separated with periods (.). This limitation is not enforced by this implementation. so like, the spec says one thing and the code is just out here living its truth π
π AUTHOR π
Generated automatically by Doxygen for Coin from the source code. (not a human, just a robot doing its little robot best π«Ά)
okay bestie that's the whole page!! this was Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00, and you just read ScXMLEvent(3). go forth and send some events, you absolute main character β¨π
πΈ
π¦ 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