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

#include <moEffectState.h>

Inheritance diagram for moEffectState:
moMobState moAbstract moConsoleState

Public Member Functions

 moEffectState ()
 
 moEffectState (const moEffectState &src)
 
virtual ~moEffectState ()
 
moEffectStateoperator= (const moEffectState &src)
 
MOboolean Init ()
 Inicializa el objeto. More...
 
MOboolean Init (MOswitch)
 
int Set (const moText &p_XmlText)
 
void SetColorRGB (MOfloat r, MOfloat g, MOfloat b)
 
void SetColorCSV (MOfloat c, MOfloat s, MOfloat t)
 
void CSV2RGB ()
 
virtual const moTextToJSON ()
 
virtual const moTextToXML ()
 
- Public Member Functions inherited from moMobState
 moMobState ()
 
virtual ~moMobState ()
 
 moMobState (const moMobState &p_MobState)
 
moMobStateoperator= (const moMobState &src)
 
void Activate ()
 
void Deactivate ()
 
bool Activated () const
 
void Select ()
 
void Unselect ()
 
bool Selected () const
 
const moTextToJSON ()
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Public Attributes

moTempo tempo
 
MOswitch on
 
MOswitch synchronized
 
MOswitch enabled
 
MOfloat magnitude
 
MOfloat amplitude
 
MOfloat alpha
 
MOfloat tint
 
MOfloat tintr
 
MOfloat tintg
 
MOfloat tintb
 
MOfloat tintc
 
MOfloat tints
 
MOswitch fulldebug
 saturación More...
 
MOswitch stereo
 
moStereoSides stereoside
 
moText fullJSON
 
moText fullXML
 
- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 

Additional Inherited Members

- 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...
 
- Protected Attributes inherited from moMobState
MOswitch m_Activated
 
MOswitch m_Selected
 
moText m_FullJSON
 

Detailed Description

moEffectState estado de un efecto

Definition at line 44 of file moEffectState.h.

Constructor & Destructor Documentation

moEffectState::moEffectState ( )

Definition at line 36 of file moEffectState.cpp.

moEffectState::moEffectState ( const moEffectState src)

Definition at line 44 of file moEffectState.cpp.

moEffectState::~moEffectState ( )
virtual

Definition at line 40 of file moEffectState.cpp.

Member Function Documentation

void moEffectState::CSV2RGB ( )

Definition at line 128 of file moEffectState.cpp.

MOboolean moEffectState::Init ( )
virtual

Inicializa el objeto.

Función de Inicialización. Todos los recursos manejados exclusivamente por este objeto son generados aquí.

Returns
verdadero si fue exitosa o falso en otro caso

Reimplemented from moAbstract.

Definition at line 78 of file moEffectState.cpp.

MOboolean moEffectState::Init ( MOswitch  D)

Definition at line 105 of file moEffectState.cpp.

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

Definition at line 49 of file moEffectState.cpp.

int moEffectState::Set ( const moText p_XmlText)

or TIXML_ENCODING_UTF8

convert xmltext to structure

Definition at line 270 of file moEffectState.cpp.

void moEffectState::SetColorCSV ( MOfloat  c,
MOfloat  s,
MOfloat  t 
)

Definition at line 120 of file moEffectState.cpp.

void moEffectState::SetColorRGB ( MOfloat  r,
MOfloat  g,
MOfloat  b 
)

Definition at line 114 of file moEffectState.cpp.

const moText & moEffectState::ToJSON ( )
virtual

from mobstate

m_Activated = src.m_Activated; m_Selected = src.m_Selected;

from state

COLORS

Reimplemented in moConsoleState.

Definition at line 149 of file moEffectState.cpp.

const moText & moEffectState::ToXML ( )
virtual

from mobstate

m_Activated = src.m_Activated; m_Selected = src.m_Selected;

from state

COLORS

Definition at line 208 of file moEffectState.cpp.

Member Data Documentation

MOfloat moEffectState::alpha

alpha: nivel de opacidad del efecto [0..1] opaco: 1 transparente: 0

Definition at line 95 of file moEffectState.h.

MOfloat moEffectState::amplitude

Definition at line 88 of file moEffectState.h.

MOswitch moEffectState::enabled

enabled (OBSOLETO: moEffectState desciende de moMobState que tiene el miembro m_Activated ) si está activo o no activado: 1 desactivado: -1

Definition at line 85 of file moEffectState.h.

MOswitch moEffectState::fulldebug

saturación

fulldebug: información adicional para corrección de errores descativado: -1 activado: 1

Definition at line 144 of file moEffectState.h.

moText moEffectState::fullJSON

Definition at line 154 of file moEffectState.h.

moText moEffectState::fullXML

Definition at line 155 of file moEffectState.h.

MOfloat moEffectState::magnitude

Definition at line 87 of file moEffectState.h.

MOswitch moEffectState::on

on efecto apagado o prendido apagado: -1 prendido: 1

Definition at line 69 of file moEffectState.h.

MOswitch moEffectState::stereo

3d stereo capable: capacitado para diferenciar visión entre ojo izquierdo y derecho, profundidad descativado: -1 activado: 1

Definition at line 151 of file moEffectState.h.

moStereoSides moEffectState::stereoside

Definition at line 152 of file moEffectState.h.

MOswitch moEffectState::synchronized

synchronized efecto sincronizado con el estado y beat de la consola en sincro: 1 sin sincro: -1

Definition at line 77 of file moEffectState.h.

moTempo moEffectState::tempo

moTempo registro del beat del efecto

Definition at line 61 of file moEffectState.h.

MOfloat moEffectState::tint

tint: nivel de brillo [0..1] luz: 1 oscuridad: 0

Definition at line 102 of file moEffectState.h.

MOfloat moEffectState::tintb

tinb: nivel de azul de la tinta [0..1] azul puro: 1 azul rojo: 0

Definition at line 123 of file moEffectState.h.

MOfloat moEffectState::tintc

tinc: crominancia [0..1] 0: 0 360: 1

Definition at line 130 of file moEffectState.h.

MOfloat moEffectState::tintg

ting: nivel de verde de la tinta [0..1] verde puro: 1 verde rojo: 0

Definition at line 116 of file moEffectState.h.

MOfloat moEffectState::tintr

tinr: nivel de rojo de la tinta [0..1] rojo puro: 1 sin rojo: 0

Definition at line 109 of file moEffectState.h.

MOfloat moEffectState::tints

tints: saturación [0..1] 0: 0 100%: 1

Definition at line 137 of file moEffectState.h.


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