16#ifndef __albaEventBase_h
17#define __albaEventBase_h
MCH_UP
channel used to send events up in the tree
long albaID
type for IDs inside ALBA
Implementation of the message object for the Subject/Observer design pattern.
void SetChannel(albaID channel)
set channel this event is travelling through
albaEventBase(const albaEventBase &c)
copy constructor, this makes a copy of the event
void SetData(void *calldata)
set call data, data sent by sender (event's invoker) to all observers
albaID GetChannel()
return channel this event is travelling through
albaEventBase(void *sender=NULL, albaID id=ID_NO_EVENT, void *data=NULL, albaID channel=MCH_UP)
void * GetSender()
return sender (invoker) of this event
void * GetData()
return call data, data sent by sender (event's invoker) to all observers
void SetSender(void *sender)
set the sender (invoker) of this event
albaTypeMacro(albaEventBase, albaObject)
void SetId(albaID id)
set Id for this event
albaID GetId()
return Id of this event
virtual void DeepCopy(const albaEventBase *alba_event)
Abstract superclass for all ALBA classes implementing RTTI APIs.