pvDatabaseCPP
4.7.0
|
Interface for a field of a record. More...
#include <pvDatabase.h>
Public Member Functions | |
POINTER_DEFINITIONS (PVRecordField) | |
PVRecordField (epics::pvData::PVFieldPtr const &pvField, PVRecordStructurePtr const &parent, PVRecordPtr const &pvRecord) | |
Constructor. More... | |
virtual | ~PVRecordField () |
Destructor. More... | |
PVRecordStructurePtr | getParent () |
Get the parent. More... | |
epics::pvData::PVFieldPtr | getPVField () |
Get the PVField. More... | |
std::string | getFullFieldName () |
Get the full name of the field, i.e. field,field,.. More... | |
std::string | getFullName () |
Get the recordName plus the full name of the field, i.e. recordName.field,field,.. More... | |
PVRecordPtr | getPVRecord () |
Return the PVRecord to which this field belongs. More... | |
virtual void | postPut () |
This is called by the code that implements the data interface. It is called whenever the put method is called. More... | |
Protected Member Functions | |
virtual void | init () |
virtual void | postParent (PVRecordFieldPtr const &subField) |
virtual void | postSubField () |
Friends | |
class | PVRecordStructure |
class | PVRecord |
Interface for a field of a record.
One exists for each field of the top level PVStructure.
Definition at line 314 of file pvDatabase.h.
epics::pvDatabase::PVRecordField::PVRecordField | ( | epics::pvData::PVFieldPtr const & | pvField, |
PVRecordStructurePtr const & | parent, | ||
PVRecordPtr const & | pvRecord | ||
) |
Constructor.
pvField | The field from the top level structure. |
parent | The parent. |
pvRecord | The PVRecord. |
Definition at line 329 of file pvRecord.cpp.
Referenced by epics::pvDatabase::PVRecordStructure::init().
|
inlinevirtual |
Destructor.
Definition at line 334 of file pvDatabase.h.
string epics::pvDatabase::PVRecordField::getFullFieldName | ( | ) |
Get the full name of the field, i.e. field,field,..
Definition at line 369 of file pvRecord.cpp.
Referenced by epics::pvDatabase::PVRecordStructure::init().
string epics::pvDatabase::PVRecordField::getFullName | ( | ) |
Get the recordName plus the full name of the field, i.e. recordName.field,field,..
Definition at line 371 of file pvRecord.cpp.
Referenced by getPVRecord().
PVRecordStructurePtr epics::pvDatabase::PVRecordField::getParent | ( | ) |
PVFieldPtr epics::pvDatabase::PVRecordField::getPVField | ( | ) |
PVRecordPtr epics::pvDatabase::PVRecordField::getPVRecord | ( | ) |
Return the PVRecord to which this field belongs.
Definition at line 373 of file pvRecord.cpp.
References getFullName().
Referenced by epics::pvDatabase::PVRecordStructure::init().
|
protectedvirtual |
Reimplemented in epics::pvDatabase::PVRecordStructure.
Definition at line 341 of file pvRecord.cpp.
Referenced by epics::pvDatabase::PVRecordStructure::init().
epics::pvDatabase::PVRecordField::POINTER_DEFINITIONS | ( | PVRecordField | ) |
|
protectedvirtual |
Definition at line 411 of file pvRecord.cpp.
|
virtual |
This is called by the code that implements the data interface. It is called whenever the put method is called.
Definition at line 402 of file pvRecord.cpp.
References postSubField().
|
protectedvirtual |
Definition at line 427 of file pvRecord.cpp.
References epics::pvDatabase::PVRecordStructure::getPVRecordFields().
Referenced by postPut().
|
friend |
Definition at line 385 of file pvDatabase.h.
|
friend |
Definition at line 384 of file pvDatabase.h.