Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::PhysicalComponents::EventListener Class Reference

EventListener can receive input events from WindowManager. More...

#include <EventListener.h>

Inheritance diagram for Teddy::PhysicalComponents::EventListener:

Inheritance graph
[legend]
Collaboration diagram for Teddy::PhysicalComponents::EventListener:

Collaboration graph
[legend]
List of all members.

Public Methods

 EventListener ()
virtual ~EventListener ()
virtual void event (const Event &e)
virtual bool doesEvent (int type)
void bind (int type, Teddy::Signals::Functor1< bool, const Event & > *f)
void enableEvent (int type)
void disableEvent (int type)
 EventListener ()
virtual ~EventListener ()
void bind (int type, const SigC::Signal1< void, const Event & > &s)
void event (const Event &e)

Public Attributes

unsigned long functor_mask
unsigned long anon_mask
Teddy::Signals::Holder1< bool,
const Event & > 
holder [32]
unsigned long signal_mask
SigC::Signal1< void, const
Event & > 
signal [32]

Detailed Description

EventListener can receive input events from WindowManager.

Definition at line 224 of file EventListener.h.


Constructor & Destructor Documentation

Teddy::PhysicalComponents::EventListener::EventListener  
 

Definition at line 65 of file EventListener.cpp.

References anon_mask, and functor_mask.

Referenced by Teddy::PhysicalComponents::WindowManager::mouseKey.

Teddy::PhysicalComponents::EventListener::~EventListener   [virtual]
 

Definition at line 70 of file EventListener.cpp.

Teddy::PhysicalComponents::EventListener::EventListener  
 

virtual Teddy::PhysicalComponents::EventListener::~EventListener   [virtual]
 


Member Function Documentation

void Teddy::PhysicalComponents::EventListener::bind int    type,
const SigC::Signal1< void, const Event & > &    s
[inline]
 

Definition at line 230 of file EventListener2.h.

References signal.

void Teddy::PhysicalComponents::EventListener::bind int    type,
Teddy::Signals::Functor1< bool, const Event & > *    f
 

Definition at line 74 of file EventListener.cpp.

References Teddy::Signals::Holder1< bool, const Event & >::functor, functor_mask, and holder.

Referenced by Teddy::PhysicalComponents::Console::Console.

void Teddy::PhysicalComponents::EventListener::disableEvent int    type
 

Definition at line 89 of file EventListener.cpp.

References functor_mask.

bool Teddy::PhysicalComponents::EventListener::doesEvent int    type [virtual]
 

Reimplemented in Teddy::PhysicalComponents::ActionButton.

Definition at line 80 of file EventListener.cpp.

References functor_mask.

void Teddy::PhysicalComponents::EventListener::enableEvent int    type
 

Definition at line 85 of file EventListener.cpp.

References functor_mask.

void Teddy::PhysicalComponents::EventListener::event const Event   e [inline]
 

Reimplemented in Teddy::PhysicalComponents::ActionButton.

Definition at line 231 of file EventListener2.h.

References signal.

void Teddy::PhysicalComponents::EventListener::event const Event   e [virtual]
 

Reimplemented in Teddy::PhysicalComponents::ActionButton.

Definition at line 94 of file EventListener.cpp.

References functor_mask, and holder.

Referenced by Teddy::PhysicalComponents::WindowManager::inputLoop.


Member Data Documentation

unsigned long Teddy::PhysicalComponents::EventListener::anon_mask
 

Definition at line 236 of file EventListener.h.

Referenced by EventListener.

unsigned long Teddy::PhysicalComponents::EventListener::functor_mask
 

Definition at line 235 of file EventListener.h.

Referenced by bind, disableEvent, doesEvent, enableEvent, event, and EventListener.

Teddy::Signals::Holder1<bool,const Event &> Teddy::PhysicalComponents::EventListener::holder[32]
 

Definition at line 237 of file EventListener.h.

Referenced by bind, and event.

SigC::Signal1<void,const Event &> Teddy::PhysicalComponents::EventListener::signal[32]
 

Definition at line 234 of file EventListener2.h.

Referenced by bind, and event.

unsigned long Teddy::PhysicalComponents::EventListener::signal_mask
 

Definition at line 233 of file EventListener2.h.


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