PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <Block.hpp>
Public Member Functions | |
SuperBlock (SuperBlock *parent, const char *name) | |
~SuperBlock ()=default | |
SuperBlock (const SuperBlock &)=delete | |
SuperBlock & | operator= (const SuperBlock &)=delete |
SuperBlock (SuperBlock &&)=delete | |
SuperBlock & | operator= (SuperBlock &&)=delete |
void | setDt (float dt) override |
void | updateParams () override |
Public Member Functions inherited from control::Block | |
Block (SuperBlock *parent, const char *name) | |
virtual | ~Block ()=default |
Block (const Block &)=delete | |
Block & | operator= (const Block &)=delete |
Block (Block &&)=delete | |
Block & | operator= (Block &&)=delete |
void | getName (char *name, size_t n) |
float | getDt () |
Public Member Functions inherited from ListNode< Block *> | |
void | setSibling (Block * sibling) |
const Block * | getSibling () const |
Protected Member Functions | |
List< Block * > & | getChildren () |
void | updateChildParams () |
Protected Member Functions inherited from control::Block | |
virtual void | updateParamsSubclass () |
SuperBlock * | getParent () |
List< BlockParamBase * > & | getParams () |
Protected Attributes | |
List< Block * > | _children |
Protected Attributes inherited from control::Block | |
const char * | _name |
SuperBlock * | _parent |
float | _dt {0.0f} |
List< BlockParamBase * > | _params |
Protected Attributes inherited from ListNode< Block *> | |
Block * | _list_node_sibling |
Friends | |
class | Block |
|
inline |
|
default |
|
delete |
|
delete |
Definition at line 119 of file Block.hpp.
Referenced by control::Block::Block().
|
delete |
|
delete |
|
overridevirtual |
Reimplemented from control::Block.
Definition at line 100 of file Block.cpp.
References control::blockNameLengthMax, control::Block::getName(), ListNode< T >::getSibling(), control::maxChildrenPerBlock, name, and control::Block::setDt().
Referenced by control::blockDerivativeTest(), blockDerivativeTest(), control::blockIntegralTest(), blockIntegralTest(), control::blockIntegralTrapTest(), blockIntegralTrapTest(), blockPDTest(), control::blockPDTest(), blockPIDTest(), control::blockPIDTest(), control::blockPITest(), blockPITest(), MulticopterPositionControl::Run(), and BlockLocalPositionEstimator::Run().
|
protected |
Definition at line 119 of file Block.cpp.
References control::blockNameLengthMax, control::Block::getName(), ListNode< T >::getSibling(), control::maxChildrenPerBlock, name, and control::Block::updateParams().
|
inlineoverridevirtual |
Reimplemented from control::Block.
Definition at line 111 of file Block.hpp.
References control::Block::updateParams().