ScXMLEventTarget(3)
π ScXMLEventTarget(3) β a Coin manual page, but make it cute π
okay so bestie, you opened the Coin manual and landed on ScXMLEventTarget(3), and honestly? it's giving foundational. this is the base-class baddie that every event target in the whole SCXML situation descends from. let's get into it π«Ά
β¨ NAME β¨
ScXMLEventTarget β base class for event targets for inter-system event communication
πΈ SYNOPSIS πΈ
#include <Inventor/scxml/ScXMLEventTarget.h>
Inherits ScXMLObject.
Inherited by ScXMLStateMachine, and SoScXMLNavigationTarget.
π Public Member Functions
virtual SoType getTypeId (void) const =0β hands you back the type identification of an object derived from a class that inheritsSoBase. this is the whole reason runtime type checking and "downward" casting even work, no cap.virtual void setEventTargetType (const char *targettype)β sets the target type.const char * getEventTargetType (void) constβ gives you the target type back.virtual void setEventTargetName (const char *targetname)β sets the target name.const char * getEventTargetName (void) constβ gives you the target name back.virtual const ScXMLEvent * getCurrentEvent (void) constβ the current event, please.virtual void queueEvent (const ScXMLEvent *event)β queue an event up, queen.virtual void queueEvent (const SbName &eventid)β same thing but you hand it an event id.virtual SbBool processEventQueue (void)β go through the queue.virtual SbBool sendExternalEvent (const ScXMLSendElt *sendelt)β send an external event.virtual SbBool sendInternalEvent (const ScXMLEventElt *sendelt)β send an internal event.virtual void queueInternalEvent (const ScXMLEvent *event)β queue an internal event.virtual void queueInternalEvent (const SbName &eventid)β queue an internal event by its id.
π¦ 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 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 Member Functions
virtual void setCurrentEvent (const ScXMLEvent *event)virtual const ScXMLEvent * getNextEvent (void)virtual const ScXMLEvent * getNextInternalEvent (void)virtual const ScXMLEvent * getNextExternalEvent (void)virtual SbBool processOneEvent (const ScXMLEvent *event)
π§ Static Protected Member Functions
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
char * targetnamechar * targettypeconst ScXMLEvent * currenteventSbBool isprocessingqueue
π Detailed Description π
base class for event targets for inter-system event communication
This class manages inter-communication between SCXML systems and systems intended for communicating with such systems. It also manages the external event queue for such systems (systems may also have internal event queues).
Since β Coin 3.1. so like, vintage. an OG. respect it π
π Member Function Documentation π
virtual SoType ScXMLEventTarget::getTypeId (void ) const [pure 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.
Implemented in ScXMLStateMachine, SoScXMLDollyTarget, SoScXMLFlightControlTarget, SoScXMLMiscTarget, SoScXMLMotionTarget, SoScXMLNavigationTarget, SoScXMLPanTarget, SoScXMLRotateTarget, SoScXMLSeekTarget, SoScXMLSpinTarget, SoScXMLStateMachine, and SoScXMLZoomTarget.
(it's =0, bestie β pure virtual. you do not get to skip this one. main character obligation π«‘)
virtual const ScXMLEvent * ScXMLEventTarget::getCurrentEvent (void ) const [inline], [virtual]
This method returns the current event during event processing, and NULL when not processing events.
Event processing is in special cases done with NULL as the current event, as for instance during state machine initialization.
void ScXMLEventTarget::queueEvent (const ScXMLEvent * event) [virtual]
Queues an ScXMLEvent event. The event is copied, and can be deleted as soon as the function returns. so you can let that pointer go, she's got it from here β¨
void ScXMLEventTarget::queueEvent (const SbName & eventid) [virtual]
Queues an ScXMLEvent event that has the given eventid as its event name.
void ScXMLEventTarget::setCurrentEvent (const ScXMLEvent * event) [protected], [virtual]
Sets a pointer for the event that is 'current' during event processing. This is an internal method, and the updating of the current event should be handled automatically. so like, hands off, it's not yours to micromanage π
SbBool ScXMLEventTarget::processOneEvent (const ScXMLEvent * event) [protected], [virtual]
This function processes one event. The base class implementation does nothing. literally nothing. it's a placeholder, the actual personality comes from the subclasses.
Reimplemented in ScXMLStateMachine, SoScXMLDollyTarget, SoScXMLFlightControlTarget, SoScXMLMiscTarget, SoScXMLMotionTarget, SoScXMLPanTarget, SoScXMLRotateTarget, SoScXMLSeekTarget, SoScXMLSpinTarget, and SoScXMLZoomTarget.
π Author π
Generated automatically by Doxygen for Coin from the source code.
okay that's the whole page, you ate it, you're welcome π this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's still filed under ScXMLEventTarget(3). go forth and communicate between systems, bestie ππ
π¦ 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