libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
#include <moIODeviceManager.h>
Public Member Functions | |
moIODeviceManager () | |
virtual | ~moIODeviceManager () |
moIODevice * | NewIODevice (const moText &p_devname, const moText &p_configname, const moText &p_labelname, const moText &p_keyname, moMoldeoObjectType p_type, int paramindex=-1, int valueindex=-1, bool p_activate=true) |
MOboolean | RemoveIODevice (MOint p_ID) |
moIODevicesArray & | IODevices () |
void | Update () |
virtual MOboolean | Init () |
virtual MOboolean | Finish () |
MOswitch | GetStatus (MOdevcode) |
MOswitch | SetStatus (MOdevcode, MOswitch) |
MOdevcode | GetCode (char *) |
moEventList * | GetEvents () |
void | PurgeEvents () |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Additional Inherited Members | |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicialización More... | |
Static Public Attributes inherited from moAbstract | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresión de errores para depuración More... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. More... | |
administrador de dispositivos de entrada/salida y de eventos a) crea nuevos dispositivos (moIODevice) b) consulta los dispositivos por valores c) administra la lista de eventos generados por el OS
Definition at line 168 of file moIODeviceManager.h.
moIODeviceManager::moIODeviceManager | ( | ) |
constructor genérico de la clase.
Definition at line 96 of file moIODeviceManager.cpp.
|
virtual |
constructor genérico de la clase.
Definition at line 101 of file moIODeviceManager.cpp.
|
virtual |
MOdevcode moIODeviceManager::GetCode | ( | char * | n | ) |
TODO:
Definition at line 268 of file moIODeviceManager.cpp.
moEventList * moIODeviceManager::GetEvents | ( | ) |
TODO:
Definition at line 263 of file moIODeviceManager.cpp.
TODO:
Definition at line 274 of file moIODeviceManager.cpp.
|
virtual |
moIODevicesArray & moIODeviceManager::IODevices | ( | ) |
TODO:
Definition at line 145 of file moIODeviceManager.cpp.
moIODevice * moIODeviceManager::NewIODevice | ( | const moText & | p_devname, |
const moText & | p_configname, | ||
const moText & | p_labelname, | ||
const moText & | p_keyname, | ||
moMoldeoObjectType | p_type, | ||
int | paramindex = -1 , |
||
int | valueindex = -1 , |
||
bool | p_activate = true |
||
) |
constructor genérico de la clase.
Definition at line 115 of file moIODeviceManager.cpp.
void moIODeviceManager::PurgeEvents | ( | ) |
Eliminar aquellos eventos que no son de la clase derivada de moEvent: moMessage moEvent es un evento sin destinatario definido. Todos lo leen, moMessage en cambio tiene un emisor y un destinatario
ERASE ANY EVENT THAT IS NOT A MESSAGE
An event has no destination (BROADCAST): IODeviceManager must purge this events so they do not propagate indefinitly A message has a destination (UNICAST / MULTICAST): IODeviceManager doesnt purge them,
moMessage *pmessage;
Procesamos los eventos recibidos de los MoldeoObject Outlets
procesamos aquellos Outlet q estan dirigidos a este objeto
Definition at line 242 of file moIODeviceManager.cpp.
constructor genérico de la clase.
Definition at line 151 of file moIODeviceManager.cpp.
TODO:
Definition at line 280 of file moIODeviceManager.cpp.
void moIODeviceManager::Update | ( | ) |
constructor genérico de la clase.
delete all events before poll new ones... that means Devices dont need to delete their events anymore
Definition at line 168 of file moIODeviceManager.cpp.