EventTable< Source, Event >::InternalEvent Class Reference

Inheritance diagram for EventTable< Source, Event >::InternalEvent:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<typename Source, typename Event>
class EventTable< Source, Event >::InternalEvent

Wrapper class for temporary storing pending events and similar.

Definition at line 510 of file event.h.


Public Member Functions

 InternalEvent (Source src, Event evt)
 Constructor.
Source getSource () const
Event getEvent () const
bool isValid () const
 Check the validity of this event.
void setValidator (boost::shared_ptr< bool > v)
 Set the validator for this event.

Private Attributes

Source m_src
 Event source object.
Event m_evt
 The event itself.
boost::shared_ptr< bool > m_valid
 Validity.

Constructor & Destructor Documentation

template<typename Source, typename Event>
EventTable< Source, Event >::InternalEvent::InternalEvent Source  src,
Event  evt
[inline]
 

Constructor.

Definition at line 513 of file event.h.

References EventTable< Source, Event >::getSetHandler(), EventTable< Source, Event >::InternalEvent::m_evt, and EventTable< Source, Event >::InternalEvent::m_src.

Here is the call graph for this function:


Member Function Documentation

template<typename Source, typename Event>
Event EventTable< Source, Event >::InternalEvent::getEvent  )  const [inline]
 

Definition at line 518 of file event.h.

References EventTable< Source, Event >::InternalEvent::m_evt.

template<typename Source, typename Event>
Source EventTable< Source, Event >::InternalEvent::getSource  )  const [inline]
 

Definition at line 517 of file event.h.

References EventTable< Source, Event >::InternalEvent::m_src.

template<typename Source, typename Event>
bool EventTable< Source, Event >::InternalEvent::isValid  )  const [inline]
 

Check the validity of this event.

Definition at line 520 of file event.h.

References EventTable< Source, Event >::InternalEvent::m_valid.

template<typename Source, typename Event>
void EventTable< Source, Event >::InternalEvent::setValidator boost::shared_ptr< bool >  v  )  [inline]
 

Set the validator for this event.

Definition at line 522 of file event.h.

References EventTable< Source, Event >::InternalEvent::m_valid.


Member Data Documentation

template<typename Source, typename Event>
Event EventTable< Source, Event >::InternalEvent::m_evt [private]
 

The event itself.

Definition at line 525 of file event.h.

Referenced by EventTable< Source, Event >::InternalEvent::getEvent(), and EventTable< Source, Event >::InternalEvent::InternalEvent().

template<typename Source, typename Event>
Source EventTable< Source, Event >::InternalEvent::m_src [private]
 

Event source object.

Definition at line 524 of file event.h.

Referenced by EventTable< Source, Event >::InternalEvent::getSource(), and EventTable< Source, Event >::InternalEvent::InternalEvent().

template<typename Source, typename Event>
boost::shared_ptr<bool> EventTable< Source, Event >::InternalEvent::m_valid [private]
 

Validity.

Definition at line 526 of file event.h.

Referenced by EventTable< Source, Event >::InternalEvent::isValid(), and EventTable< Source, Event >::InternalEvent::setValidator().


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