Public Member Functions | Private Attributes | Static Private Attributes
services_timer.TimedService Class Reference

Class for calling a service using a timer. More...

List of all members.

Public Member Functions

def __init__
 The constructor.
def callback
 Timer callback.
def run
 Run function required by threading library.

Private Attributes

 _service_name
 _service_period

Static Private Attributes

string _service_name = "service"
 The service name going to be called.
float _service_period = 1.0
 The timer period to call the service.

Detailed Description

Class for calling a service using a timer.

Definition at line 43 of file services_timer.py.


Constructor & Destructor Documentation

def services_timer.TimedService.__init__ (   self,
  name,
  period 
)

The constructor.

Parameters:
selfThe object pointer.
nameThe service name this class is going to call
freqThe desired timer period

Definition at line 49 of file services_timer.py.


Member Function Documentation

def services_timer.TimedService.callback (   self,
  event 
)

Timer callback.

Parameters:
eventThe event that has generated this callback

Definition at line 62 of file services_timer.py.

Run function required by threading library.

Definition at line 55 of file services_timer.py.


Member Data Documentation

Definition at line 49 of file services_timer.py.

services_timer.TimedService::_service_name = "service" [static, private]

The service name going to be called.

Definition at line 74 of file services_timer.py.

Definition at line 49 of file services_timer.py.

The timer period to call the service.

Definition at line 78 of file services_timer.py.


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


launch_tools
Author(s): Stephan Wirth , Miquel Massot
autogenerated on Fri Aug 28 2015 13:15:08