#include <DataPointIdentifier.h>
DataPointIdentifier object is responsible for storing the alias and type information of a data point.
Definition at line 42 of file DataPointIdentifier.h.
◆ DataPointIdentifier() [1/3]
o2::dcs::DataPointIdentifier::DataPointIdentifier |
( |
| ) |
|
|
inlinenoexcept |
The default constructor for DataPointIdentifier. Creates a DPID that contains only zeroes. To fill it with alias and type, please use the factory procedure fill
.
- See also
- ADAPRO::ADAPOS::DataPointIdentifier::fill
Definition at line 66 of file DataPointIdentifier.h.
◆ DataPointIdentifier() [2/3]
o2::dcs::DataPointIdentifier::DataPointIdentifier |
( |
const std::string & |
alias, |
|
|
const DeliveryType |
type |
|
) |
| |
|
inlinenoexcept |
◆ DataPointIdentifier() [3/3]
◆ ~DataPointIdentifier()
o2::dcs::DataPointIdentifier::~DataPointIdentifier |
( |
| ) |
|
|
defaultnoexcept |
◆ ClassDefNV()
◆ FILL() [1/2]
This stati procedure fills the given DataPointIdentifier object with the given parameters.
- Parameters
-
dpid | The DataPointIdentifier to be filled (i.e. overwritten). |
alias | Alias of the data point. This is used for identifying the DIM service that publishes updates to a data point. |
type | Type of the data point payload value. |
Definition at line 107 of file DataPointIdentifier.h.
◆ FILL() [2/2]
◆ get_alias()
const char *const o2::dcs::DataPointIdentifier::get_alias |
( |
| ) |
const |
|
inlinenoexcept |
Returns the alias of the DPID object as a C-style string (i.e. null-terminated char array).
- Returns
- The alias.
Definition at line 173 of file DataPointIdentifier.h.
◆ get_type()
DeliveryType o2::dcs::DataPointIdentifier::get_type |
( |
| ) |
const |
|
inlinenoexcept |
Getter for the payload type information.
- Returns
- a DeliveryType object.
Definition at line 183 of file DataPointIdentifier.h.
◆ hash_code()
size_t o2::dcs::DataPointIdentifier::hash_code |
( |
| ) |
const |
|
inlinenoexcept |
Returns a hash code calculated from the alias. Note that the hash code is recalculated every time when this function is called.
- Returns
- An unsigned integer.
Definition at line 195 of file DataPointIdentifier.h.
◆ operator!=()
Negation of the equality comparison.
- Parameters
-
- Returns
true
or false
.
Definition at line 152 of file DataPointIdentifier.h.
◆ operator=()
◆ operator==()
The equality comparison object of DPIDs.
- Parameters
-
other | The other DPID object for comparison. |
- Returns
true
if and only if the other DPID object has exactly (bit-by-bit) the same state.
Definition at line 138 of file DataPointIdentifier.h.
◆ operator<<
The documentation for this class was generated from the following file: