16#ifndef __albaEventSender_h
17#define __albaEventSender_h
long albaID
type for IDs inside ALBA
Implementation of the message object for the Subject/Observer design pattern.
class acting as an interface for objects using ALBA hierarchical event communication model This objec...
virtual void InvokeEvent(albaEventBase *e)
invoke an event of this subject
virtual void InvokeEvent(albaEventBase &e)
invoke an event of this subject
virtual bool HasListener()
return true if this class has observers
albaObserver * m_Listener
object to which events issued by this object are sent
virtual albaObserver * GetListener()
Return the listener object, i.e.
virtual void SetListener(albaObserver *o)
Set the listener object, i.e.
virtual void InvokeEvent(void *sender, albaID id=ID_NO_EVENT, void *data=NULL)
invoke an event of this subject
Interface implementing the Observer of the Subject/Observer design pattern.