![]() |
This is Unofficial EPICS BASE Doxygen Site
|
The interface for a database of PVRecords. More...
#include "pvDatabase.h"
Public Member Functions | |
POINTER_DEFINITIONS (PVDatabase) | |
virtual | ~PVDatabase () |
Destructor. More... | |
PVRecordPtr | findRecord (std::string const &recordName) |
bool | addRecord (PVRecordPtr const &record) |
Add a record. More... | |
bool | removeRecord (PVRecordPtr const &record) |
Remove a record. More... | |
epics::pvData::PVStringArrayPtr | getRecordNames () |
Get the names of all the records in the database. More... | |
Static Public Member Functions | |
static PVDatabasePtr | getMaster () |
Get the master database. More... | |
Friends | |
class | PVRecord |
The interface for a database of PVRecords.
Definition at line 475 of file pvDatabase.h.
|
virtual |
bool epics::pvDatabase::PVDatabase::addRecord | ( | PVRecordPtr const & | record | ) |
Add a record.
record | The record to add. |
Definition at line 79 of file pvDatabase.cpp.
PVRecordPtr epics::pvDatabase::PVDatabase::findRecord | ( | std::string const & | recordName | ) |
Find a record. An empty pointer is returned if the record is not in the database.
recordName | The record to find. |
Definition at line 69 of file pvDatabase.cpp.
|
static |
Get the master database.
Definition at line 38 of file pvDatabase.cpp.
PVStringArrayPtr epics::pvDatabase::PVDatabase::getRecordNames | ( | ) |
Get the names of all the records in the database.
Definition at line 122 of file pvDatabase.cpp.
epics::pvDatabase::PVDatabase::POINTER_DEFINITIONS | ( | PVDatabase | ) |
bool epics::pvDatabase::PVDatabase::removeRecord | ( | PVRecordPtr const & | record | ) |
Remove a record.
record | The record to remove. |
Definition at line 108 of file pvDatabase.cpp.
|
friend |
Definition at line 514 of file pvDatabase.h.