Public Member Functions
coil::PeriodicTaskBase Class Reference

PeriodicTaskBase class. More...

#include <PeriodicTaskBase.h>

Inheritance diagram for coil::PeriodicTaskBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void activate ()=0
 Starting the task.
virtual void executionMeasure (bool value)=0
 Validate a Task execute time measurement.
virtual void executionMeasureCount (int n)=0
 Task execute time measurement period.
virtual void finalize ()=0
 Finalizing the task.
virtual
coil::TimeMeasure::Statistics 
getExecStat ()=0
 Get a result in task execute time measurement.
virtual
coil::TimeMeasure::Statistics 
getPeriodStat ()=0
 Get a result in task period time measurement.
virtual void periodicMeasure (bool value)=0
 Validate a Task period time measurement.
virtual void periodicMeasureCount (int n)=0
 Task period time measurement count.
virtual int resume (void)=0
 Resuming the suspended task.
virtual void setPeriod (double period)=0
 Setting task execution period.
virtual void setPeriod (coil::TimeValue &period)=0
 Setting task execution period.
virtual bool setTask (TaskFuncBase *func, bool delete_in_dtor=true)=0
 Setting task execution function.
template<class O , class F >
bool setTask (O *obj, F fun)
 Setting task execution function.
virtual void signal ()=0
 Executing the suspended task one tick.
virtual int suspend (void)=0
 Suspending the task.
virtual ~PeriodicTaskBase ()
 Destructor.

Detailed Description

PeriodicTaskBase class.

Definition at line 193 of file PeriodicTaskBase.h.


Constructor & Destructor Documentation

virtual coil::PeriodicTaskBase::~PeriodicTaskBase ( ) [inline, virtual]

Destructor.

Destructor

Definition at line 212 of file PeriodicTaskBase.h.


Member Function Documentation

virtual void coil::PeriodicTaskBase::activate ( ) [pure virtual]

Starting the task.

Pure virtual function for starting the task.

Reimplemented from coil::Task.

Implemented in coil::PeriodicTask.

virtual void coil::PeriodicTaskBase::executionMeasure ( bool  value) [pure virtual]

Validate a Task execute time measurement.

Pure virtual function for validate a Task execute time measurement.

Parameters:
valueflag(true: Valid, false: Invalid).

Implemented in coil::PeriodicTask.

virtual void coil::PeriodicTaskBase::executionMeasureCount ( int  n) [pure virtual]

Task execute time measurement period.

Pure virtual function for task execute time measurement period.

Parameters:
nMeasurement period.

Implemented in coil::PeriodicTask.

virtual void coil::PeriodicTaskBase::finalize ( ) [pure virtual]

Finalizing the task.

Pure virtual function for finalizing the task.

Reimplemented from coil::Task.

Implemented in coil::PeriodicTask.

Get a result in task execute time measurement.

Pure virtual function for get a result in task execute time measurement.

Implemented in coil::PeriodicTask.

Get a result in task period time measurement.

Pure virtual function for get a result in task period time measurement.

Implemented in coil::PeriodicTask.

virtual void coil::PeriodicTaskBase::periodicMeasure ( bool  value) [pure virtual]

Validate a Task period time measurement.

Pure virtual function for validate a Task period time measurement.

Parameters:
valueflag(true: Valid, false: Invalid).

Implemented in coil::PeriodicTask.

virtual void coil::PeriodicTaskBase::periodicMeasureCount ( int  n) [pure virtual]

Task period time measurement count.

Pure virtual function for task period time measurement count.

Parameters:
nMeasurement period.

Implemented in coil::PeriodicTask.

virtual int coil::PeriodicTaskBase::resume ( void  ) [pure virtual]

Resuming the suspended task.

Pure virtual function for resuming the suspended task.

Reimplemented from coil::Task.

Implemented in coil::PeriodicTask.

virtual void coil::PeriodicTaskBase::setPeriod ( double  period) [pure virtual]

Setting task execution period.

Pure virtual function for setting task execution period.

Parameters:
periodExecution period.

Implemented in coil::PeriodicTask.

virtual void coil::PeriodicTaskBase::setPeriod ( coil::TimeValue period) [pure virtual]

Setting task execution period.

Pure virtual function for setting task execution period.

Parameters:
periodExecution period.

Implemented in coil::PeriodicTask.

virtual bool coil::PeriodicTaskBase::setTask ( TaskFuncBase func,
bool  delete_in_dtor = true 
) [pure virtual]

Setting task execution function.

Pure virtual function for setting task execution function.

Parameters:
funcFunction.
delete_in_dtorDelete flag.

Implemented in coil::PeriodicTask.

template<class O , class F >
bool coil::PeriodicTaskBase::setTask ( O *  obj,
fun 
) [inline]

Setting task execution function.

Pure virtual function for setting task execution function.

Parameters:
objObject.
funFunction.
Returns:
true: successful, false: failed

Reimplemented in coil::PeriodicTask.

Definition at line 348 of file PeriodicTaskBase.h.

virtual void coil::PeriodicTaskBase::signal ( ) [pure virtual]

Executing the suspended task one tick.

Pure virtual function for executing the suspended task one tick.

Implemented in coil::PeriodicTask.

virtual int coil::PeriodicTaskBase::suspend ( void  ) [pure virtual]

Suspending the task.

Pure virtual function for suspending the task.

Reimplemented from coil::Task.

Implemented in coil::PeriodicTask.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:18