Tango Core Classes Reference  9.3.4
Tango::TimedCmdData< T > Class Template Reference

This class is used to store one element of a command history stack. More...

#include "tango.h"

Constructors

Miscellaneous constructors

 TimedCmdData (T *p_data, time_t when)
 Create a new TimedCmdData object. More...
 
 TimedCmdData (T *p_data, bool rel, time_t when)
 Create a new TimedCmdData object with memory management. More...
 
 TimedCmdData (T *p_data, struct timeval when)
 Create a new TimedCmdData object. More...
 
 TimedCmdData (T *p_data, bool rel, struct timeval when)
 Create a new TimedCmdData object with memory management. More...
 
 TimedCmdData (DevErrorList errs, time_t when)
 Create a new TimedCmdData object for errors. More...
 
 TimedCmdData (DevErrorList errs, timeval when)
 Create a new TimedCmdData object for errors. More...
 

Detailed Description

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

This class is used to store one element of a command history stack.

$Author$ $Revision$

Constructor & Destructor Documentation

◆ TimedCmdData() [1/6]

template<typename T >
Tango::TimedCmdData< T >::TimedCmdData ( T *  p_data,
time_t  when 
)

Create a new TimedCmdData object.

The memory pointed to by the p_data parameter will not be freed

Parameters
p_dataPointer to the command result data
whenThe date

◆ TimedCmdData() [2/6]

template<typename T >
Tango::TimedCmdData< T >::TimedCmdData ( T *  p_data,
bool  rel,
time_t  when 
)

Create a new TimedCmdData object with memory management.

Parameters
p_dataPointer to the command result data
relSet to true if the memory pointed to by the p_data parameter must be freed
whenThe date

◆ TimedCmdData() [3/6]

template<typename T >
Tango::TimedCmdData< T >::TimedCmdData ( T *  p_data,
struct timeval  when 
)

Create a new TimedCmdData object.

The memory pointed to by the p_data parameter will not be freed

Parameters
p_dataPointer to the command result data
whenThe date

◆ TimedCmdData() [4/6]

template<typename T >
Tango::TimedCmdData< T >::TimedCmdData ( T *  p_data,
bool  rel,
struct timeval  when 
)

Create a new TimedCmdData object with memory management.

Parameters
p_dataPointer to the command result data
relSet to true if the memory pointed to by the p_data parameter must be freed
whenThe date

◆ TimedCmdData() [5/6]

template<typename T >
Tango::TimedCmdData< T >::TimedCmdData ( DevErrorList  errs,
time_t  when 
)
inline

Create a new TimedCmdData object for errors.

The created TimedCmdData is used to store command errors in the command history stack

Parameters
errsThe error stack
whenThe date

◆ TimedCmdData() [6/6]

template<typename T >
Tango::TimedCmdData< T >::TimedCmdData ( DevErrorList  errs,
timeval  when 
)
inline

Create a new TimedCmdData object for errors.

The created TimedCmdData is used to store command errors in the command history stack

Parameters
errsThe error stack
whenThe date

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