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 <moParam.h>
Public Member Functions | |
moParam () | |
moParam (const moParam &src) | |
moParam (moParamDefinition &p_paramdefinition) | |
virtual | ~moParam () |
moParam & | operator= (const moParam &src) |
moValue & | operator[] (MOint i) |
moValues & | GetValues () |
MOuint | GetValuesCount () const |
void | AddValue (moValue &value) |
void | DeleteValue (MOint i) |
moValue & | GetValue (MOint i=-1) |
void | SetDefaultValue () |
void | SetParamDefinition (moParamDefinition &p_paramdefinition) |
moParamDefinition & | GetParamDefinition () |
void | SetIndexValue (int indexvalue) |
int | GetIndexValue () const |
void | NextValue () |
void | PrevValue () |
void | FirstValue () |
moParam * | GetPtr () |
moData * | GetData () |
void | Update () |
void | SetExternData (moData *p_pExternData) |
const moText & | ToJSON () |
bool | FixType (moParamType m_NewType=MO_PARAM_UNDEFINED) |
bool | FixOptions (moTextArray &m_NewOptions) |
moParam::moParam | ( | ) |
Definition at line 1028 of file moParam.cpp.
moParam::moParam | ( | const moParam & | src | ) |
Definition at line 1034 of file moParam.cpp.
moParam::moParam | ( | moParamDefinition & | p_paramdefinition | ) |
Definition at line 1038 of file moParam.cpp.
|
virtual |
Definition at line 1046 of file moParam.cpp.
void moParam::AddValue | ( | moValue & | value | ) |
Definition at line 1071 of file moParam.cpp.
void moParam::DeleteValue | ( | MOint | i | ) |
Definition at line 1077 of file moParam.cpp.
void moParam::FirstValue | ( | ) |
Definition at line 1254 of file moParam.cpp.
bool moParam::FixOptions | ( | moTextArray & | m_NewOptions | ) |
Definition at line 1360 of file moParam.cpp.
bool moParam::FixType | ( | moParamType | m_NewType = MO_PARAM_UNDEFINED | ) |
JUST CHECK IF moValues and moParamType are coherent
check every values if they can be translated...
OK TO CHANGE AND FIX
Definition at line 1320 of file moParam.cpp.
moData * moParam::GetData | ( | ) |
this Data is connected and updated by an Outlet Connection
dato original del config
cout << "control_roll_angle: updated externally val: " + FloatToStr(pReturnData->Eval()) << endl;
Interpolation code (defined in config using attributes: interpolation="linear" duration="1000"
Eval Data
Definition at line 1286 of file moParam.cpp.
int moParam::GetIndexValue | ( | ) | const |
Definition at line 1227 of file moParam.cpp.
moParamDefinition & moParam::GetParamDefinition | ( | ) |
Definition at line 1268 of file moParam.cpp.
moParam * moParam::GetPtr | ( | ) |
Definition at line 1275 of file moParam.cpp.
Definition at line 1204 of file moParam.cpp.
moValues & moParam::GetValues | ( | ) |
Definition at line 1060 of file moParam.cpp.
MOuint moParam::GetValuesCount | ( | ) | const |
Definition at line 1065 of file moParam.cpp.
void moParam::NextValue | ( | ) |
Definition at line 1234 of file moParam.cpp.
Definition at line 1050 of file moParam.cpp.
void moParam::PrevValue | ( | ) |
Definition at line 1244 of file moParam.cpp.
void moParam::SetDefaultValue | ( | ) |
Definition at line 1081 of file moParam.cpp.
void moParam::SetExternData | ( | moData * | p_pExternData | ) |
Definition at line 1315 of file moParam.cpp.
void moParam::SetIndexValue | ( | int | indexvalue | ) |
Definition at line 1216 of file moParam.cpp.
void moParam::SetParamDefinition | ( | moParamDefinition & | p_paramdefinition | ) |
Definition at line 1262 of file moParam.cpp.
const moText & moParam::ToJSON | ( | ) |
Definition at line 1368 of file moParam.cpp.
void moParam::Update | ( | ) |
Definition at line 1280 of file moParam.cpp.