EUROPEAN SYNCHROTRON RADIATION FACILITY
INSTALLATION EUROPEENNE DE RAYONNEMENT SYNCHROTRON
ESRF Logo
Main Page   Namespace List   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Starter::PollingState Class Reference

Create a thread to start or stop state polling. More...

#include <StarterUtil.h>

List of all members.

Public Methods

 PollingState (SharedData *shared, long timeout)
 Create a thread to start or stop state polling. More...

void * run_undetached (void *)
 Execute the thread loop. More...

void start ()


Detailed Description

Create a thread to start or stop state polling.

Start will be done from astor. Stop will be done from astor or from a timeout without command.


Constructor & Destructor Documentation

Starter::PollingState::PollingState SharedData   sd,
long    timeout
 

Create a thread to start or stop state polling.

Start will be done from astor. Stop will be done from astor or from a timeout without command.

Parameters:
shared  pointer on shared data between thread and DS.
timeout  timeout value in seconds.


Member Function Documentation

void * Starter::PollingState::run_undetached void *    ptr
 

Execute the thread loop.

This thread is awaken when a command has been received and falled asleep when no command has been received from a long time.

void Starter::PollingState::start   [inline]
 


The documentation for this class was generated from the following files: Tango Device Server User's Guide



(c) ESRF - Software Engineering Group