58 OpenRTM_aist.Task.__init__(self)
90 def __del__(self, Task=OpenRTM_aist.Task):
129 OpenRTM_aist.Task.activate(self)
238 def setTask(self, func, delete_in_dtor = True):
263 if type(period) == float:
397 if sleep_sec.toDouble() < 0:
400 time.sleep(sleep_sec.toDouble())
445 self.
stat = OpenRTM_aist.TimeMeasure.Statistics()
def suspend(self)
Suspending the task.
def updatePeriodStat(self)
virtual void updatePeriodStat();
def __del__(self, Task=OpenRTM_aist.Task)
dtor
def signal(self)
Executing the suspended task one tick.
def getExecStat(self)
virtual TimeMeasure::Statistics getExecStat();
def getPeriodStat(self)
virtual TimeMeasure::Statistics getPeriodStat();
def updateExecStat(self)
virtual void updateExecStat();
def setPeriod(self, period)
Setting task execution period.
def setTask(self, func, delete_in_dtor=True)
Setting task execution function.
def activate(self)
Starting the task.
def resume(self)
Resuming the suspended task.
def periodicMeasure(self, value)
virtual void periodicMeasure(bool value);
def executionMeasure(self, value)
virtual void executionMeasure(bool value);
def sleep(self)
virtual void sleep();
def svc(self)
virtual int svc();
def finalize(self)
Finalizing the task.
def executionMeasureCount(self, n)
virtual void executionMeasureCount(int n);
def periodicMeasureCount(self, n)
virtual void periodicMeasureCount(int n);