![]() |
PeriDyno 1.0.0
|
#include <Field.h>
Public Types | |
typedef T | VarType |
typedef T | DataType |
typedef FVar< T > | FieldType |
Public Member Functions | |
FVar () | |
FVar (std::string name, std::string description, FieldTypeEnum fieldType, OBase *parent) | |
FVar (T value, std::string name, std::string description, FieldTypeEnum fieldType, OBase *parent) | |
~FVar () override | |
const std::string | getTemplateName () override |
const std::string | getClassName () override |
uint | size () override |
void | setValue (T val) |
T | getValue () |
std::string | serialize () override |
bool | deserialize (const std::string &str) override |
bool | isEmpty () override |
bool | connect (FieldType *dst) |
bool | connect (FBase *dst) override |
DataType | getData () |
std::shared_ptr< DataType > & | constDataPtr () |
std::string | serialize () |
bool | deserialize (const std::string &str) |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
std::string | serialize () |
bool | deserialize (const std::string &str) |
![]() | |
FBase () | |
FBase (std::string name, std::string description, FieldTypeEnum type=FieldTypeEnum::Param, OBase *parent=nullptr) | |
virtual | ~FBase () |
std::string | getObjectName () |
std::string | getDescription () |
virtual DeviceType | getDeviceType () |
void | setObjectName (std::string name) |
void | setDescription (std::string description) |
void | setParent (OBase *owner) |
OBase * | parent () |
bool | isDerived () |
bool | isAutoDestroyable () |
void | setAutoDestroy (bool autoDestroy) |
void | setDerived (bool derived) |
uint | sizeOfSinks () |
std::vector< FBase * > & | getSinks () |
bool | isModified () |
void | tick () |
void | tack () |
bool | isOptional () |
void | tagOptional (bool optional) |
float | getMin () |
void | setMin (float min_val) |
float | getMax () |
void | setMax (float max_val) |
void | setRange (float min_val, float max_val) |
FieldTypeEnum | getFieldType () |
virtual bool | disconnect (FBase *dst) |
FBase * | getTopField () |
FBase * | getSource () |
FBase * | promoteOuput () |
Display a state field as an ouput field. | |
FBase * | promoteInput () |
Display a state field as an input field. | |
FBase * | demoteOuput () |
Hide a state field from outputs. | |
FBase * | demoteInput () |
Hide a state field from inputs. | |
virtual void | update () |
void | attach (std::shared_ptr< FCallBackFunc > func) |
void | detach (std::shared_ptr< FCallBackFunc > func) |
Private Member Functions | |
std::shared_ptr< DataType > & | getDataPtr () |
Private Attributes | |
std::shared_ptr< DataType > | m_data = nullptr |
Additional Inherited Members | |
![]() | |
void | setSource (FBase *source) |
void | addSink (FBase *f) |
bool | removeSink (FBase *f) |
bool | connectField (FBase *dst) |
bool | disconnectField (FBase *dst) |
![]() | |
FieldTypeEnum | m_fType = FieldTypeEnum::Param |
typedef FVar<T> dyno::FVar< T >::FieldType |
|
inline |
|
inline |
dyno::FVar< T >::FVar | ( | T | value, |
std::string | name, | ||
std::string | description, | ||
FieldTypeEnum | fieldType, | ||
OBase * | parent ) |
|
inlineoverridevirtual |
Implements dyno::FBase.
Definition at line 68 of file Field.h.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from dyno::FBase.
|
virtual |
Reimplemented from dyno::FBase.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 19 of file FilePath.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 16 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 42 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 68 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 94 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 120 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 146 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 184 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 221 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 277 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
|
inline |
|
inlineprivate |
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
T dyno::FVar< T >::getValue | ( | ) |
|
inlineoverridevirtual |
Implements dyno::FBase.
Definition at line 58 of file Field.h.
|
inlinevirtual |
Reimplemented from dyno::FBase.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 8 of file FilePath.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 6 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 28 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 54 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 80 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 106 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 132 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 170 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 207 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
Definition at line 266 of file FSerialization.inl.
|
inlinevirtual |
Reimplemented from dyno::FBase.
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
void dyno::FVar< T >::setValue | ( | T | val | ) |
|
inlineoverridevirtual |
Implements dyno::FBase.
|
private |