ESRF Logo

Elettra Logo

Soleil Logo

Alba Logo

Desy Logo

MAX-lab Logo

FRM2 Logo


SYNCHROTRON ALBA --- SYNCHROTRON ELETTRA

EUROPEAN SYNCHROTRON RADIATION FACILITY --- SYNCHROTRON PETRA III

SYNCHROTRON SOLEIL --- SYNCHROTRON MAX 4

NEUTRON SOURCE FRM 2

Tango::AttrHistoryStack< T > Class Template Reference

This class is a used to pass an attribute value history when the user directly fills the attribute polling buffer. More...

#include <pollext.h>

List of all members.

Public Member Functions

void push (TimedAttrData< T > const &elt)
 Store a new element in the stack.
unsigned long length ()
 Get stack depth.
void length (long nb)
 Reserve memory for stack elements.
void clear ()
 Clear the stack.
vector< TimedAttrData< T > > & get_data ()
 Get stack data.


Detailed Description

template<typename T>
class Tango::AttrHistoryStack< T >

This class is a used to pass an attribute value history when the user directly fills the attribute polling buffer.

Each element in this stack will be used to store one element of the attribute polling buffer

Author
taurel
Revision
15556

Member Function Documentation

template<typename T >
vector<TimedAttrData<T> >& Tango::AttrHistoryStack< T >::get_data (  )  [inline]

Get stack data.

Returns:
The stack itself

template<typename T >
void Tango::AttrHistoryStack< T >::length ( long  nb  )  [inline]

Reserve memory for stack elements.

Parameters:
nb The stack element number

template<typename T >
unsigned long Tango::AttrHistoryStack< T >::length (  )  [inline]

Get stack depth.

Returns:
The stack depth

template<typename T >
void Tango::AttrHistoryStack< T >::push ( TimedAttrData< T > const &  elt  )  [inline]

Store a new element in the stack.

This method stores a new element in the stack

Parameters:
elt The new element


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



ALBA - Control Team / DESY - Hasylab Petra III

ELETTRA - Controls and Diagnostics / ESRF - Software Engineering Group

SOLEIL - Controle Commande et Acquisition / MAX-lab - MAX 4

FRM2 - Control group