![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Methods for accessing a timeStamp structure. More...
#include "pvTimeStamp.h"
Public Member Functions | |
PVTimeStamp () | |
bool | attach (PVFieldPtr const &pvField) |
void | detach () |
bool | isAttached () |
void | get (TimeStamp &timeStamp) const |
bool | set (TimeStamp const &timeStamp) |
Methods for accessing a timeStamp structure.
A timeStamp structure has the following fields:
This class can be attached to a timeStamp structure field of any PVData object. The methods provide access to the fields in the attached structure, via an instance of class TimeStamp. This class should not be extended.
Definition at line 38 of file pvTimeStamp.h.
|
inline |
bool epics::pvData::PVTimeStamp::attach | ( | PVFieldPtr const & | pvField | ) |
Definition at line 26 of file pvTimeStamp.cpp.
void epics::pvData::PVTimeStamp::detach | ( | ) |
Detach for pvField.
Definition at line 49 of file pvTimeStamp.cpp.
void epics::pvData::PVTimeStamp::get | ( | TimeStamp & | timeStamp | ) | const |
copy the timeStamp structure values to TimeStamp
timeStamp | An instance of class TimeStamp |
If | not attached to a pvField. |
Definition at line 61 of file pvTimeStamp.cpp.
bool epics::pvData::PVTimeStamp::isAttached | ( | ) |
Is the PVTimeStamp attached to a pvField?
Definition at line 56 of file pvTimeStamp.cpp.
bool epics::pvData::PVTimeStamp::set | ( | TimeStamp const & | timeStamp | ) |
copy the values from TimeStamp to the timeStamp structure.
timeStamp | An instance of class TimeStamp |
If | not attached to a pvField. |
Definition at line 70 of file pvTimeStamp.cpp.