53 void SetType(
int t) {
if (t==SHARED_ACTION||t==EXCLUSIVE_ACTION) m_Type=t;}
Class used to route events from devices to interactors.
std::list< albaAutoPointer< albaDevice > > m_Devices
virtual int InternalRestore(albaStorageElement *node)
Restore of action's bindings from an XML file.
virtual int InternalStore(albaStorageElement *node)
Store of action's bindings to an XML file.
void BindInteractor(albaAgent *inter)
Bind/Unbind an interactor to this action.
void UnBindInteractor(albaAgent *inter)
virtual void OnEvent(albaEventBase *event)
Redefined to answer incoming queries about connected devices.
void BindDevice(albaDevice *device)
Bind/Unbind a device to this action.
const mmuDeviceList * GetDevices()
Get list of devices assigned to this action.
void UnBindDevice(albaDevice *device)
int GetType()
Set the type of action.
void SetTypeToExclusive()
std::list< albaAutoPointer< albaDevice > > mmuDeviceList
albaTypeMacro(albaAction, albaAgent)
An agent is a computational object with a default I/O interface.
This abstract class manages function calls coming from devices and issue specific events to interacto...
Implementation of the message object for the Subject/Observer design pattern.
albaStorable is an interface for serializable objects.
Abstract class representing the interface for the unit of information stored in the storage.