![]() |
PeriDyno 1.0.0
|
#include <FInstance.h>
Public Member Functions | |
InstanceBase () | |
InstanceBase (std::string name, std::string description, FieldTypeEnum fieldType, OBase *parent) | |
virtual bool | canBeConnectedBy (InstanceBase *ins)=0 |
virtual void | setObjectPointer (std::shared_ptr< Object > op)=0 |
virtual std::shared_ptr< Object > | objectPointer ()=0 |
virtual std::shared_ptr< Object > | standardObjectPointer ()=0 |
![]() | |
FBase () | |
FBase (std::string name, std::string description, FieldTypeEnum type=FieldTypeEnum::Param, OBase *parent=nullptr) | |
virtual | ~FBase () |
virtual uint | size ()=0 |
virtual const std::string | getTemplateName () |
virtual const std::string | getClassName () |
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 | connect (FBase *dst)=0 |
virtual bool | disconnect (FBase *dst) |
virtual std::string | serialize () |
virtual bool | deserialize (const std::string &str) |
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 bool | isEmpty ()=0 |
virtual void | update () |
void | attach (std::shared_ptr< FCallBackFunc > func) |
void | detach (std::shared_ptr< FCallBackFunc > func) |
Static Public Member Functions | |
static const std::string | className () |
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 |
Definition at line 24 of file FInstance.h.
|
inline |
Definition at line 27 of file FInstance.h.
|
inline |
|
pure virtual |
Implemented in dyno::FInstance< T >.
|
inlinestatic |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in dyno::FInstance< T >.