56 void SetType(
int t) {
if (t==SHARED_ACTION||t==EXCLUSIVE_ACTION) m_Type=t;}
Class used to route events from devices to interactors.
void BindInteractor(albaInteractor *inter)
Bind/Unbind an interactor to this action.
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 UnBindInteractor(albaInteractor *inter)
virtual void OnEvent(albaEventBase *event)
Redefined to answer incoming queries about connected devices.
ALBA_ID_DEC(DEVICE_UNPLUGGED)
Issued by devices when connected to actions or when queried.
void BindDevice(albaDevice *device)
Bind/Unbind a device to this action.
ALBA_ID_DEC(QUERY_CONNECTED_DEVICES)
Issued by interactors to query for connected devices.
const mmuDeviceList * GetDevices()
Get list of devices assigned to this action.
void UnBindDevice(albaDevice *device)
int GetType()
Set the type of action.
void SetTypeToExclusive()
ALBA_ID_DEC(DEVICE_PLUGGED)
Issued by devices when connected to actions or when queried.
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.
Abstract class for ALBA interactors This class provides base interface and features of ALBA continuou...
albaStorable is an interface for serializable objects.
Abstract class representing the interface for the unit of information stored in the storage.