SCL
1.0
Standard Control Library : Control, dynamics, physics, and simulation
|
#include <CNonControlTaskBase.hpp>
Public Member Functions | |
virtual bool | computeTask ()=0 |
virtual bool | init (SNonControlTaskBase *arg_task_data)=0 |
virtual SNonControlTaskBase * | getTaskData ()=0 |
virtual void | reset ()=0 |
virtual void | setActivation (sBool arg_act) |
virtual sBool | hasBeenInit () |
virtual bool | hasBeenActivated () |
CNonControlTaskBase () | |
virtual | ~CNonControlTaskBase () |
Protected Attributes | |
sBool | has_been_init_ |
Container class to encapsulate a non-control task that a controller might have to do (like log stuff etc.).
NOTE : Virtual class. Subclass and implement functions that compute the task forces.
|
inline |
Constructor does nothing
|
inlinevirtual |
Destructor does nothing
|
pure virtual |
Computes the task's stuff (whatever that might be)
|
pure virtual |
Return this task controller's task data structure. Use it responsibly! NOTE : Use dynamic casts whenever you downcast the data. And try not to downcast very often. Perf hit.
|
inlinevirtual |
Present activation state
|
inlinevirtual |
Present initialization state
|
pure virtual |
|
pure virtual |
Resets the task to pre-init.
|
inlinevirtual |
NOTE : This is typically a dynamic operation that happens multiple times during runtime.
|
protected |
The independent initialization of the computational object from the data structure