Base class for objects that process a single PV (or attribute in Tango parlance).
In NDS you can define Input PVs (represented by the class PVBaseIn and its derivates) or Output PVs (represented by the class PVBaseOut and its derivates).
The data in the input records are written by the device support and read by the control system, while the output records are written by the control system and read by the device support.
|
void | setDescription (const std::string &description) |
| Set a human readable description of the PV. More...
|
|
void | setUnits (const std::string &units) |
| Set the engineering units of the PV. More...
|
|
void | setInterfaceName (const std::string &interfaceName) |
| Set the name of the PV as seen by the control system. More...
|
|
void | setScanType (const scanType_t scanType, const double periodSeconds=1) |
| Set how the PV value is retrieved by the control system. More...
|
|
void | setMaxElements (const size_t maxElements) |
| If the data type of the PV is a vector then set the maximum number of elements that the vector will contain. More...
|
|
void | setEnumeration (const enumerationStrings_t &enumerations) |
| If the data type is an integer then assigns a list of strings that enumerate the values (starting from zero). More...
|
|
void | processAtInit (const bool bProcessAtInit) |
| Specifies if the read() function of the PV should be called during the device initialization. More...
|
|
| Base (const Base &right) |
| Copy constructor. The copy will refer to the same implementation object referenced in the copied object. More...
|
|
Base & | operator= (const Base &right) |
| Copy operator. The copy will refer to the same implementation object referenced in the copied object. More...
|
|
void | setExternalName (const std::string &externalName) |
| Set the string to pass to the naming rules in order to build the full node name as seen by the control system. More...
|
|
virtual Port | getPort () |
| Get the Node that communicate with the device (ASYN port on EPICS, Device on Tango). Query the parent nodes if necessary. More...
|
|
const std::string & | getComponentName () const |
| Return the node's name. More...
|
|
const std::string & | getFullName () const |
| Return the full node's name, prepending the parents' names if necessary (e.g. "ROOT-CHANNEL1-THISNODE") More...
|
|
const std::string & | getFullExternalName () const |
| Return the full node's name as seen by the control system clients. More...
|
|
const std::string & | getFullNameFromPort () const |
| Return the node's name as seen by the parent Port node (the node that communicates with the device). More...
|
|
timespec | getTimestamp () const |
| Get the current time. More...
|
|
void | setTimestampDelegate (getTimestampPlugin_t timestampDelegate) |
| Specify the delegate function to call to get the timestamp. More...
|
|
std::ostream & | getLogger (const logLevel_t logLevel) |
| Retrieve a logging stream for the specified log level. More...
|
|
bool | isLogLevelEnabled (const logLevel_t logLevel) const |
| Returns true if the logging for a particular severity level has been enabled. More...
|
|
void | setLogLevel (const logLevel_t logLevel) |
| Enable the logging for a particular severity level. More...
|
|
void | defineCommand (const std::string &command, const std::string &usage, const size_t numParameters, const command_t function) |
| Define a command specific for the node. More...
|
|
Thread | runInThread (const std::string &name, threadFunction_t function) |
| Create and run a thread using the control system facilities. More...
|
|
Thread | runInThread (threadFunction_t function) |
| Create and run a thread using the control system facilities. The created thread will have the node's name. More...
|
|