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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moEventPacket Class Reference

Paquete de eventos. More...

#include <moEventList.h>

Inheritance diagram for moEventPacket:
moAbstract

Public Member Functions

 moEventPacket (float p_sendInterval, int p_maxEventNum)
 
 ~moEventPacket ()
 
void ClearPacket ()
 
bool AddEvent (moEvent *e)
 
bool ReadyToSend ()
 
int GetNumEvents ()
 
int GetPacketSize ()
 
moEventStructGetPacket ()
 
moEventStruct GetEvent (int i)
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
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 moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Detailed Description

Paquete de eventos.

Paquete de eventos creado para poder empaquetar una cantidad de eventos determinada, y ser enviados o procesados simultaneamente, se implementa para la conección via TCP/UDP entre dos estaciones y agiliazar/acelerar la comunicación entre estas.

Definition at line 171 of file moEventList.h.

Constructor & Destructor Documentation

moEventPacket::moEventPacket ( float  p_sendInterval,
int  p_maxEventNum 
)

Definition at line 483 of file moEventList.cpp.

moEventPacket::~moEventPacket ( )

Definition at line 496 of file moEventList.cpp.

Member Function Documentation

bool moEventPacket::AddEvent ( moEvent e)

Definition at line 515 of file moEventList.cpp.

void moEventPacket::ClearPacket ( )

Definition at line 505 of file moEventList.cpp.

moEventStruct moEventPacket::GetEvent ( int  i)
inline

Definition at line 184 of file moEventList.h.

int moEventPacket::GetNumEvents ( )
inline

Definition at line 181 of file moEventList.h.

moEventStruct* moEventPacket::GetPacket ( )
inline

Definition at line 183 of file moEventList.h.

int moEventPacket::GetPacketSize ( )
inline

Definition at line 182 of file moEventList.h.

bool moEventPacket::ReadyToSend ( )

Definition at line 540 of file moEventList.cpp.


The documentation for this class was generated from the following files: