PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <BlockParam.hpp>
Public Member Functions | |
BlockParam (Block *block, const char *name, bool parent_prefix=true) | |
BlockParam (Block *block, const char *name, bool parent_prefix, T &extern_val) | |
~BlockParam () override=default | |
BlockParam (const BlockParam &)=delete | |
BlockParam & | operator= (const BlockParam &)=delete |
BlockParam (BlockParam &&)=delete | |
BlockParam & | operator= (BlockParam &&)=delete |
T | get () const |
bool | commit () |
bool | commit_no_notification () |
void | set (T val) |
bool | update () override |
template<> | |
BlockParam (Block *block, const char *name, bool parent_prefix) | |
template<> | |
bool | update () |
template<> | |
BlockParam (Block *block, const char *name, bool parent_prefix) | |
template<> | |
BlockParam (Block *block, const char *name, bool parent_prefix) | |
template<> | |
BlockParam (Block *block, const char *name, bool parent_prefix, int32_t &extern_val) | |
template<> | |
BlockParam (Block *block, const char *name, bool parent_prefix, float &extern_val) | |
template<> | |
bool | update () |
Public Member Functions inherited from control::BlockParamBase | |
BlockParamBase (Block *parent, const char *name, bool parent_prefix=true) | |
Instantiate a block param base. More... | |
virtual | ~BlockParamBase ()=default |
const char * | getName () const |
Public Member Functions inherited from ListNode< BlockParamBase *> | |
void | setSibling (BlockParamBase * sibling) |
const BlockParamBase * | getSibling () const |
Protected Attributes | |
T | _val |
Protected Attributes inherited from control::BlockParamBase | |
param_t | _handle {PARAM_INVALID} |
Protected Attributes inherited from ListNode< BlockParamBase *> | |
BlockParamBase * | _list_node_sibling |
Definition at line 74 of file BlockParam.hpp.
control::BlockParam< T >::BlockParam | ( | Block * | block, |
const char * | name, | ||
bool | parent_prefix = true |
||
) |
control::BlockParam< T >::BlockParam | ( | Block * | block, |
const char * | name, | ||
bool | parent_prefix, | ||
T & | extern_val | ||
) |
|
overridedefault |
|
delete |
|
delete |
control::BlockParam< bool >::BlockParam | ( | Block * | block, |
const char * | name, | ||
bool | parent_prefix | ||
) |
Definition at line 88 of file BlockParam.cpp.
control::BlockParam< int32_t >::BlockParam | ( | Block * | block, |
const char * | name, | ||
bool | parent_prefix | ||
) |
Definition at line 112 of file BlockParam.cpp.
control::BlockParam< float >::BlockParam | ( | Block * | block, |
const char * | name, | ||
bool | parent_prefix | ||
) |
Definition at line 120 of file BlockParam.cpp.
control::BlockParam< int32_t & >::BlockParam | ( | Block * | block, |
const char * | name, | ||
bool | parent_prefix, | ||
int32_t & | extern_val | ||
) |
Definition at line 128 of file BlockParam.cpp.
control::BlockParam< float & >::BlockParam | ( | Block * | block, |
const char * | name, | ||
bool | parent_prefix, | ||
float & | extern_val | ||
) |
Definition at line 136 of file BlockParam.cpp.
|
inline |
Definition at line 91 of file BlockParam.hpp.
|
inline |
Definition at line 94 of file BlockParam.hpp.
|
inline |
Definition at line 88 of file BlockParam.hpp.
Referenced by control::BlockLimitSym::update(), and control::BlockLimit::update().
|
delete |
|
delete |
|
inline |
Definition at line 96 of file BlockParam.hpp.
|
virtual |
Implements control::BlockParamBase.
Definition at line 96 of file BlockParam.cpp.
|
inlineoverridevirtual |
Implements control::BlockParamBase.
Definition at line 98 of file BlockParam.hpp.
|
virtual |
Implements control::BlockParamBase.
|
protected |
Definition at line 101 of file BlockParam.hpp.