OpenSceneGraph  3.4.0
Public Member Functions | Protected Member Functions | Protected Attributes
osgGA::Event Class Reference

Base Event class. More...

Inheritance diagram for osgGA::Event:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Event ()
 Event (const Event &rhs, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgGA, Event)
virtual GUIEventAdapterasGUIEventAdapter ()
virtual const GUIEventAdapterasGUIEventAdapter () const
void setHandled (bool handled) const
 Set whether this event has been handled by an event handler or not.
bool getHandled () const
 Get whether this event has been handled by an event handler or not.
void setTime (double time)
 set time in seconds of event.
double getTime () const
 get time in seconds of event.

Protected Member Functions

virtual ~Event ()

Protected Attributes

bool _handled
double _time

Detailed Description

Base Event class.


Constructor & Destructor Documentation

osgGA::Event::Event ( const Event rhs,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)
virtual osgGA::Event::~Event ( ) [inline, protected, virtual]

Member Function Documentation

virtual GUIEventAdapter* osgGA::Event::asGUIEventAdapter ( ) [inline, virtual]

Reimplemented in osgGA::GUIEventAdapter.

virtual const GUIEventAdapter* osgGA::Event::asGUIEventAdapter ( ) const [inline, virtual]

Reimplemented in osgGA::GUIEventAdapter.

bool osgGA::Event::getHandled ( ) const [inline]

Get whether this event has been handled by an event handler or not.

double osgGA::Event::getTime ( ) const [inline]

get time in seconds of event.

osgGA::Event::META_Object ( osgGA  ,
Event   
)
void osgGA::Event::setHandled ( bool  handled) const [inline]

Set whether this event has been handled by an event handler or not.

void osgGA::Event::setTime ( double  time) [inline]

set time in seconds of event.


Member Data Documentation

bool osgGA::Event::_handled [mutable, protected]
double osgGA::Event::_time [protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Tue Dec 8 2015 00:14:28 for the OpenSceneGraph by doxygen 1.7.6.1.