![]() |
PeriDyno 1.2.1
|
#include <FList.h>
Public Types | |
typedef T | VarType |
typedef std::list< T > | DataType |
typedef FList< T > | FieldType |
![]() | |
enum | FInputPolicy { One , Many } |
Field with a policy of FInputPolicy::Many is not allowed to be connected to FInputPolicy::One Field with policy of FInputPolicy::One can either be connected to a field of FInputPolicy::One or FInputPolicy::Many. More... | |
Public Member Functions | |
FList () | |
FList (std::string name, std::string description, FieldTypeEnum fieldType, OBase *parent) | |
~FList () override | |
const std::string | getTemplateName () override |
const std::string | getClassName () override |
uint | size () override |
std::string | serialize () override |
bool | deserialize (const std::string &str) override |
void | insert (T val) |
bool | isEmpty () override |
const DataType & | constData () |
bool | bind (FieldType *dst) |
![]() | |
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 () |
uint | sizeOfValidSources () |
void | requestValidSources (std::vector< FBase * > &src) |
FBase * | getSource () |
FBase * | getTopField () |
std::vector< FBase * > & | getSources () |
std::vector< FBase * > & | getSinks () |
bool | isModified () |
bool | isActive () |
A variable to control the visibility of the field. | |
void | setActive (bool b) |
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) |
virtual FInputPolicy | inputPolicy () |
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) |
Protected Member Functions | |
bool | connect (FBase *dst) override |
![]() | |
void | setSource (FBase *source) |
bool | addSink (FBase *f) |
bool | removeSink (FBase *f) |
bool | addSource (FBase *f) |
bool | removeSource (FBase *f) |
bool | connectField (FBase *dst) |
bool | disconnectField (FBase *dst) |
Private Attributes | |
std::list< T > | mList |
Additional Inherited Members | |
![]() | |
FieldTypeEnum | m_fType = FieldTypeEnum::Param |
typedef std::list<T> dyno::FList< T >::DataType |
typedef FList<T> dyno::FList< T >::FieldType |
|
inline |
|
inline |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements dyno::FBase.
Definition at line 75 of file FList.h.
|
inline |
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
void dyno::FList< T >::insert | ( | T | val | ) |
|
inlineoverridevirtual |
Implements dyno::FBase.
Definition at line 53 of file FList.h.
|
inlineoverridevirtual |
Reimplemented from dyno::FBase.
|
inlineoverridevirtual |
Implements dyno::FBase.
|
private |