Firmware
Public Member Functions | Static Public Member Functions | List of all members
Commander Class Reference
Inheritance diagram for Commander:
ModuleParams ListNode< ModuleParams *>

Public Member Functions

void run () override
 
void enable_hil ()
 
- Public Member Functions inherited from ModuleParams
 ModuleParams (ModuleParams *parent)
 
void setParent (ModuleParams *parent)
 Sets the parent module. More...
 
 ModuleParams (const ModuleParams &)=delete
 
ModuleParamsoperator= (const ModuleParams &)=delete
 
 ModuleParams (ModuleParams &&)=delete
 
ModuleParamsoperator= (ModuleParams &&)=delete
 
- Public Member Functions inherited from ListNode< ModuleParams *>
void setSibling (ModuleParams * sibling)
 
const ModuleParamsgetSibling () const
 

Static Public Member Functions

static int task_spawn (int argc, char *argv[])
 
static Commanderinstantiate (int argc, char *argv[])
 
static int custom_command (int argc, char *argv[])
 
static int print_usage (const char *reason=nullptr)
 
static bool preflight_check (bool report)
 

Additional Inherited Members

- Protected Member Functions inherited from ModuleParams
virtual void updateParams ()
 Call this method whenever the module gets a parameter change notification. More...
 
virtual void updateParamsImpl ()
 The implementation for this is generated with the macro DEFINE_PARAMETERS()
 
- Protected Attributes inherited from ListNode< ModuleParams *>
ModuleParams_sibling
 

Member Function Documentation

§ custom_command()

int Commander::custom_command ( int  argc,
char *  argv[] 
)
static
See also
ModuleBase

§ instantiate()

Commander * Commander::instantiate ( int  argc,
char *  argv[] 
)
static
See also
ModuleBase

§ print_usage()

int Commander::print_usage ( const char *  reason = nullptr)
static
See also
ModuleBase

§ run()

void Commander::run ( )
override
See also
ModuleBase::run()

< absolute time when engine was healty

§ task_spawn()

int Commander::task_spawn ( int  argc,
char *  argv[] 
)
static
See also
ModuleBase

The documentation for this class was generated from the following files: