|
| Component (Widgets::Plugin *hplugin, const std::string &mod_name, const std::vector< IO::channel_t > &channels, const std::vector< Widgets::Variable::Info > &variables) |
|
template<typename T > |
T | getValue (const size_t &var_id) |
|
template<typename T > |
void | setValue (const size_t &var_id, T value) |
|
std::string | getDescription (const size_t &var_id) |
|
std::string | getValueString (const size_t &var_id) |
|
RT::State::state_t | getState () const |
|
void | setState (RT::State::state_t state) |
|
std::vector< Widgets::Variable::Info > | getParametersInfo () |
|
Widgets::Plugin * | getHostPlugin () |
|
| Thread (std::string n, const std::vector< IO::channel_t > &c) |
|
| Thread (const Thread &connector)=default |
|
Thread & | operator= (const Thread &connector)=default |
|
| Thread (Thread &&)=delete |
|
Thread & | operator= (Thread &&)=delete |
|
| ~Thread () override=default |
|
virtual void | execute ()=0 |
|
| Block (std::string blockname, const std::vector< channel_t > &channels, bool isdependent) |
|
| Block (const Block &block)=default |
|
Block & | operator= (const Block &block)=default |
|
| Block (Block &&)=delete |
|
Block & | operator= (Block &&)=delete |
|
virtual | ~Block ()=default |
|
std::string | getName () const |
|
size_t | getCount (flags_t type) const |
|
std::string | getChannelName (IO::flags_t type, size_t index) const |
|
std::string | getChannelDescription (IO::flags_t type, size_t index) const |
|
void | writeinput (size_t index, const double &data) |
|
const double & | readPort (IO::flags_t direction, size_t index) |
|
bool | dependent () const |
|
bool | getActive () const |
|
void | setActive (bool act) |
|
void | assignID (size_t block_id) |
|
size_t | getID () const |
|
Class responsible for running real-time code.
This is where the magic happens. This class contains the low level logic to interface with the real-time loop, as well as low level facilities for parameter and input/output update. Inherit this class to run a periodic real-time function. It inherits the RT::Thread interface and therefore is considered dependent on inputs from other blocks. It will autoamtically be scheduled to run after dependency Components from other plugins.
Definition at line 183 of file widgets.hpp.