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