16#ifndef __albaInteractorSER_h
17#define __albaInteractorSER_h
76 typedef std::map<albaString,albaAutoPointer<albaAction> >
mmuActionsMap;
Class used to route events from devices to interactors.
This abstract class manages function calls coming from devices and issue specific events to interacto...
Class implementing static routing from devices to interactors passing through actions.
virtual int InternalStore(albaStorageElement *node)
This is called by Store() and must be reimplemented by subclasses.
albaAction * GetAction(const char *name)
Get an action router.
void GetDeviceBindings(albaDevice *device, std::vector< albaAction * > &actions)
return list of device bindings to actions
albaTypeMacro(albaInteractorSER, albaInteractor)
void BindDeviceToAction(albaDevice *device, const char *action_name)
Un/Bind a device to an action.
albaAction * AddAction(const char *name, float priority=0.0, int type=albaAction::SHARED_ACTION)
Define a new action router.
virtual int InternalRestore(albaStorageElement *node)
This is called by Restore() and must be reimplemented by subclasses The element from which the object...
const mmuActionsMap * GetActions()
void UnBindDeviceFromAction(albaDevice *device, const char *action_name)
Un/Bind a device to an action.
void GetActions(std::vector< albaAction * > &actions)
Return the actions container.
mmuActionsMap m_Actions
takes a list of the active actions
void BindDeviceToAction(albaDevice *device, albaAction *action)
Un/Bind a device to an action.
int UnBindAction(const char *action, albaInteractor *agent)
Unbind an agent from the specified action.
void UnBindDeviceFromAction(albaDevice *device, albaAction *action)
Un/Bind a device to an action.
void UnBindDeviceFromAllActions(albaDevice *device)
Unbind a device from all actions: used when a device is removed.
void AddAction(albaAction *action, float priority=0.0)
virtual ~albaInteractorSER()
std::map< albaString, albaAutoPointer< albaAction > > mmuActionsMap
int BindAction(const char *action, albaInteractor *agent)
Bind an agent to the specified action.
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.
albaString - performs common string operations on c-strings.