ScXMLEvent(3)

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

πŸ’– 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 inheriting SoBase. 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 β€” Returns TRUE if 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 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. 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