ScXMLEventElt(3)
π ScXMLEventElt π
okay bestie, welcome to the Coin manual, section 3 β this page is all about ScXMLEventElt, and ngl she is that girl. π
β¨ NAME β¨
ScXMLEventElt β the class that implements the <event> SCXML element. periodt.
π¦ SYNOPSIS π¦
#include <Inventor/scxml/ScXMLEventElt.h>
Inherits ScXMLExecutableElt. π
π Public Member Functions
virtual SoType getTypeId (void) constβ hands you the type identification of an object derived from a class that inheritsSoBase. it's literally the whole reason runtime type checking and downward casting exist. iconic.virtual void setNameAttribute (const char *name)virtual const char * getNameAttribute (void) constvirtual SbBool handleXMLAttributes (void)virtual void copyContents (const ScXMLElt *rhs)virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) constScXMLEvent * createEvent (ScXMLEventTarget *host) constvirtual void execute (ScXMLStateMachine *statemachine) const
πΈ Public Member Functions inherited from ScXMLElt
void setXMLAttribute (const char *attribute, const char *value)const char * getXMLAttribute (const char *attribute) constScXMLElt * clone (void) constvirtual void setContainer (ScXMLElt *container)ScXMLElt * getContainer (void) constSbBool isContainedIn (const ScXMLElt *object) const
π Public Member Functions inherited from ScXMLObject
SbBool isOfType (SoType type) constβ returnsTRUEif the type of this object is either of the same type as type or inherited from type. no cap.
β Static Public Member Functions
static ScXMLEltReader * getElementReader (void)static SoType getClassTypeId (void)static void * createInstance (void)static void initClass (void)static void cleanClass (void)
π Static Public Member Functions inherited from ScXMLExecutableElt
static SoType getClassTypeId (void)static void initClass (void)static void cleanClass (void)
π¦ Static Public Member Functions inherited from ScXMLElt
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 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.
π Protected Attributes
char * name
π§ Additional Inherited Members
Static Protected Member Functions inherited from ScXMLElt
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)
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 π
implements the <event> SCXML element. that's the whole job bestie. π
Since
Coin 3.1 β so she's been serving since way back. π«Ά
π₯ Member Function Documentation π₯
SoType ScXMLEventElt::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. (it's giving type system main character energy β¨)
See also
SoBase::getTypeId() const
Implements ScXMLExecutableElt.
SbBool ScXMLEventElt::handleXMLAttributes (void ) [virtual]
This method is called when the file reader has set all the XML attributes on the object, and wants the object to handle them and report if the values were OK or if a read error should be produced. lowkey a whole vibe check for your XML attributes.
Returns
TRUE if the attributes are OK, and FALSE on error.
This base class implementation does nothing and just returns TRUE. ngl, she's just chillin'.
Reimplemented from ScXMLElt.
void ScXMLEventElt::copyContents (const ScXMLElt * rhs) [virtual]
Reimplemented from ScXMLExecutableElt.
const ScXMLElt * ScXMLEventElt::search (const char * attrname, const char * attrvalue) const [virtual]
This method searches the SCXML structure for an element with the given attribute value for the given attribute. she's out here hunting for that one element. π
Returns
NULL if nothing was found. (sad girl hours π)
This function needs to be reimplemented to traverse child elements. don't forget the kids fr fr.
Reimplemented from ScXMLElt.
void ScXMLEventElt::execute (ScXMLStateMachine * statemachine) const [virtual]
Reimplemented from ScXMLExecutableElt.
π Author π
Generated automatically by Doxygen for Coin from the source code. (yes bestie, the robots wrote it and they ate. π)
okay and for the cute lil sign-off: this page is from Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β go forth and implement that <event> element, you absolute icon. π¦β¨π
π¦ 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