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
moMessage Class Reference

Clase Mensaje. More...

#include <moEventList.h>

Inheritance diagram for moMessage:
moEvent

Public Member Functions

 moMessage ()
 
 moMessage (const moMessage &src)
 
moMessageoperator= (const moMessage &src)
 
 moMessage (MOint m_MoldeoIdDest, MOint m_MoldeoIdSrc, const moData &data)
 
 moMessage (MOint m_MoldeoIdDest, MOint m_InletIdDest, MOint m_MoldeoIdSrc, const moData &data)
 
 moMessage (MOint p_MoldeoIdDest, MOint m_InletIdDest, moMoldeoObjectType p_TypeDest, MOint p_MoldeoIdSrc, moMoldeoObjectType p_TypeSrc, const moData &p_data)
 
 moMessage (MOint p_MoldeoIdDest, MOint m_InletIdDest, moMoldeoObjectType p_TypeDest, moText p_NameDest, MOint p_MoldeoIdSrc, moMoldeoObjectType p_TypeSrc, moText p_NameSrc, const moData &p_data)
 
virtual ~moMessage ()
 
virtual const moTextToJSON ()
 
- Public Member Functions inherited from moEvent
 moEvent ()
 Constructor. More...
 
 moEvent (MOint did, MOint cod, MOint val0=0, MOint val1=0, MOint val2=0, MOint val3=0, MOpointer ptr=0)
 Constructor. More...
 
 moEvent (MOint did, MOint cod, MOint val0, MOpointer ptr)
 Constructor. More...
 
virtual ~moEvent ()
 Destructor. More...
 

Public Attributes

moData m_Data
 
MOint m_MoldeoIdDest
 
MOint m_InletIdDest
 
moMoldeoObjectType m_TypeDest
 
moText m_NameDest
 
MOint m_MoldeoIdSrc
 
MOint m_OutletIdSrc
 
moMoldeoObjectType m_TypeSrc
 
moText m_NameSrc
 
- Public Attributes inherited from moEvent
moEventprevious
 
moEventnext
 
MOint deviceid
 
MOint devicecode
 
MOint reservedvalue0
 
MOint reservedvalue1
 
MOint reservedvalue2
 
MOint reservedvalue3
 
MOpointer pointer
 
moText JSON
 

Detailed Description

Clase Mensaje.

Clase Mensaje Esta clase deriva de un Evento adquiriendo además tanto un emisor como un receptor identificados ambos en el contexto de el administrador general de objetos moConsole y los identificadores individuales únicos de los objetos creados

Atención de no confundir con moDataMessage, que es un stream de moData que vienen de una misma fuente...

Definition at line 97 of file moEventList.h.

Constructor & Destructor Documentation

moMessage::moMessage ( )

Definition at line 41 of file moEventList.cpp.

moMessage::moMessage ( const moMessage src)
inline

Definition at line 101 of file moEventList.h.

moMessage::moMessage ( MOint  m_MoldeoIdDest,
MOint  m_MoldeoIdSrc,
const moData data 
)

Definition at line 60 of file moEventList.cpp.

moMessage::moMessage ( MOint  m_MoldeoIdDest,
MOint  m_InletIdDest,
MOint  m_MoldeoIdSrc,
const moData data 
)

Definition at line 73 of file moEventList.cpp.

moMessage::moMessage ( MOint  p_MoldeoIdDest,
MOint  m_InletIdDest,
moMoldeoObjectType  p_TypeDest,
MOint  p_MoldeoIdSrc,
moMoldeoObjectType  p_TypeSrc,
const moData p_data 
)

Definition at line 87 of file moEventList.cpp.

moMessage::moMessage ( MOint  p_MoldeoIdDest,
MOint  m_InletIdDest,
moMoldeoObjectType  p_TypeDest,
moText  p_NameDest,
MOint  p_MoldeoIdSrc,
moMoldeoObjectType  p_TypeSrc,
moText  p_NameSrc,
const moData p_data 
)

Definition at line 102 of file moEventList.cpp.

moMessage::~moMessage ( )
virtual

Definition at line 120 of file moEventList.cpp.

Member Function Documentation

moMessage & moMessage::operator= ( const moMessage src)

Definition at line 128 of file moEventList.cpp.

const moText & moMessage::ToJSON ( )
virtual

enum edeviceid { DID_IODEVICE_KEYBOARD=0, DID_IODEVICE_MOUSE=1, DID_IODEVICE_MIDI=2, DID_IODEVICE_MIXER=3, DID_IODEVICE_JOYSTICK=4, #define MO_IODEVICE_NET_TCP_IN 5 #define MO_IODEVICE_NET_UDP_IN 6 #define MO_IODEVICE_NET_TCP_OUT 7 #define MO_IODEVICE_NET_UDP_OUT 8 #define MO_IODEVICE_LIVE 9 #define MO_IODEVICE_TRACKER 10

#define MO_IODEVICE_TABLET 11 #define MO_IODEVICE_TOUCH 12 #define MO_IODEVICE_CONSOLE 20 #define MO_IODEVICE_ANY -1

Reimplemented from moEvent.

Definition at line 149 of file moEventList.cpp.

Member Data Documentation

moData moMessage::m_Data

Definition at line 112 of file moEventList.h.

MOint moMessage::m_InletIdDest

Definition at line 115 of file moEventList.h.

MOint moMessage::m_MoldeoIdDest

Definition at line 114 of file moEventList.h.

MOint moMessage::m_MoldeoIdSrc

Definition at line 119 of file moEventList.h.

moText moMessage::m_NameDest

Definition at line 117 of file moEventList.h.

moText moMessage::m_NameSrc

Definition at line 122 of file moEventList.h.

MOint moMessage::m_OutletIdSrc

Definition at line 120 of file moEventList.h.

moMoldeoObjectType moMessage::m_TypeDest

Definition at line 116 of file moEventList.h.

moMoldeoObjectType moMessage::m_TypeSrc

Definition at line 121 of file moEventList.h.


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