![]() |
http://www.sim.no/ http://www.coin3d.org/ |
#include <Inventor/scxml/SoScXMLEvent.h>
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.
Public Member Functions | |
virtual SoType | getTypeId (void) const |
virtual void | setSoEvent (const SoEvent *soevent) |
virtual const SoEvent * | getSoEvent (void) const |
virtual void | setUpIdentifier (void) |
Static Public Member Functions | |
static SoType | getClassTypeId (void) |
static void * | createInstance (void) |
static void | initClass (void) |
void SoScXMLEvent::setSoEvent | ( | const SoEvent * | soevent | ) | [virtual] |
This function stores a pointer to the originator SoEvent that caused the given event, if any.
There is no resource management with regards to this pointer - it has to be kept alive on the outside for as long as this event may live, and be deallocated on the outside as well.
const SoEvent * SoScXMLEvent::getSoEvent | ( | void | ) | const [virtual] |
Returns the pointer stored by setSoEvent() or NULL if no pointer has been stored yet.
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.
Copyright © 1998-2008 by Kongsberg SIM. All rights reserved.
Generated on Tue May 5 02:52:20 2009 for Coin by Doxygen 1.5.5.