Public Member Functions | Public Attributes

Swift::Event Class Reference

List of all members.

Public Member Functions

 Event (boost::shared_ptr< EventOwner > owner, const boost::function< void()> &callback)
bool operator== (const Event &o) const

Public Attributes

unsigned int id
boost::shared_ptr< EventOwnerowner
boost::function< void()> callback

Detailed Description

Definition at line 15 of file Event.h.


Constructor & Destructor Documentation

Swift::Event::Event ( boost::shared_ptr< EventOwner owner,
const boost::function< void()> &  callback 
) [inline]

Definition at line 17 of file Event.h.


Member Function Documentation

bool Swift::Event::operator== ( const Event o  )  const [inline]

Definition at line 20 of file Event.h.

References id.


Member Data Documentation

boost::function<void()> Swift::Event::callback

Definition at line 26 of file Event.h.

unsigned int Swift::Event::id

Definition at line 24 of file Event.h.

Referenced by operator==().

boost::shared_ptr<EventOwner> Swift::Event::owner

Definition at line 25 of file Event.h.