Tango Core Classes Reference
9.3.4
|
This class is a used to pass a command result history when the user directly fills the command polling buffer. More...
#include "tango.h"
Public Member Functions | |
void | clear () |
Clear the stack. | |
vector< TimedCmdData< T > > & | get_data () |
Get stack data. More... | |
size_t | length () |
Get stack depth. More... | |
void | length (long nb) |
Reserve memory for stack elements. More... | |
void | push (Tango::TimedCmdData< T > const &elt) |
Store a new element in the stack. More... | |
This class is a used to pass a command result history when the user directly fills the command polling buffer.
Each element in this stack will be used to store one element of the command polling buffer
$Author$ $Revision$
vector<TimedCmdData<T> >& Tango::CmdHistoryStack< T >::get_data | ( | ) |
Get stack data.
|
inline |
Get stack depth.
|
inline |
Reserve memory for stack elements.
nb | The stack element number |
void Tango::CmdHistoryStack< T >::push | ( | Tango::TimedCmdData< T > const & | elt | ) |
Store a new element in the stack.
This method stores a new element in the stack
elt | The new element |