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

#include <moParam.h>

Public Member Functions

 moParam ()
 
 moParam (const moParam &src)
 
 moParam (moParamDefinition &p_paramdefinition)
 
virtual ~moParam ()
 
moParamoperator= (const moParam &src)
 
moValueoperator[] (MOint i)
 
moValues & GetValues ()
 
MOuint GetValuesCount () const
 
void AddValue (moValue &value)
 
void DeleteValue (MOint i)
 
moValueGetValue (MOint i=-1)
 
void SetDefaultValue ()
 
void SetParamDefinition (moParamDefinition &p_paramdefinition)
 
moParamDefinitionGetParamDefinition ()
 
void SetIndexValue (int indexvalue)
 
int GetIndexValue () const
 
void NextValue ()
 
void PrevValue ()
 
void FirstValue ()
 
moParamGetPtr ()
 
moDataGetData ()
 
void Update ()
 
void SetExternData (moData *p_pExternData)
 
const moTextToJSON ()
 
bool FixType (moParamType m_NewType=MO_PARAM_UNDEFINED)
 
bool FixOptions (moTextArray &m_NewOptions)
 

Detailed Description

Definition at line 359 of file moParam.h.

Constructor & Destructor Documentation

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.

moParam::~moParam ( )
virtual

Definition at line 1046 of file moParam.cpp.

Member Function Documentation

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.

moValue & moParam::GetValue ( MOint  i = -1)

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.

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

Definition at line 1050 of file moParam.cpp.

moValue& moParam::operator[] ( MOint  i)
inline

Definition at line 369 of file moParam.h.

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.


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