This class implements a maintenance data element.
More...
This class implements a maintenance data element.
◆ Element() [1/5]
Ocean::Maintenance::Element::Element |
( |
| ) |
|
|
inline |
Creates a new empty element.
◆ Element() [2/5]
Ocean::Maintenance::Element::Element |
( |
const Element & |
element | ) |
|
|
inline |
Copy constructor.
- Parameters
-
element | The element to be copied |
◆ Element() [3/5]
Ocean::Maintenance::Element::Element |
( |
Element && |
element | ) |
|
|
inline |
Move constructor.
- Parameters
-
element | The element to be moved |
◆ Element() [4/5]
Ocean::Maintenance::Element::Element |
( |
const std::string & |
name, |
|
|
const unsigned long long |
id, |
|
|
const Timestamp |
timestamp, |
|
|
const std::string & |
tag, |
|
|
const Buffer & |
buffer |
|
) |
| |
|
inline |
Creates a new maintenance element.
- Parameters
-
name | The name of the maintenance manager to which the data has been sent |
id | The id of the maintenance manager to which the data has been set |
timestamp | The timestamp of the maintenance data |
tag | The tag of the maintenance data |
buffer | The maintenance data as buffer |
◆ Element() [5/5]
Ocean::Maintenance::Element::Element |
( |
const std::string & |
name, |
|
|
const unsigned long long |
id, |
|
|
const Timestamp |
timestamp, |
|
|
const std::string & |
tag, |
|
|
Buffer && |
buffer |
|
) |
| |
|
inline |
Creates a new maintenance element.
- Parameters
-
name | The name of the maintenance manager to which the data has been sent |
id | The id of the maintenance manager to which the data has been set |
timestamp | The timestamp of the maintenance data |
tag | The tag of the maintenance data |
buffer | The maintenance data as buffer, will be moved |
◆ buffer() [1/2]
Returns the buffer of the maintenance data of this element.
- Returns
- The buffer of the maintenance data
◆ buffer() [2/2]
Returns the buffer of the maintenance data of this element.
- Returns
- The buffer of the maintenance data
◆ id()
unsigned long long Ocean::Maintenance::Element::id |
( |
| ) |
const |
|
inline |
Return sthe id of the maintenance manager to which the maintenance data of this element has been sent.
- Returns
- The id of the maintenance manager
◆ name() [1/2]
std::string & Ocean::Maintenance::Element::name |
( |
| ) |
|
|
inline |
Returns the name of the maintenance manager to which the maintenance of this element data has been sent.
- Returns
- The readable name of the maintenance manager
◆ name() [2/2]
const std::string & Ocean::Maintenance::Element::name |
( |
| ) |
const |
|
inline |
Returns the name of the maintenance manager to which the maintenance of this element data has been sent.
- Returns
- The readable name of the maintenance manager
◆ operator=() [1/2]
Assign operator.
- Parameters
-
element | The second element to be copied |
- Returns
- Reference to this element
◆ operator=() [2/2]
Assign operator.
- Parameters
-
element | The second element to be moved |
- Returns
- Reference to this element
◆ tag() [1/2]
std::string & Ocean::Maintenance::Element::tag |
( |
| ) |
|
|
inline |
Returns the tag of the maintenance data of this element.
- Returns
- The tag of the maintenance data
◆ tag() [2/2]
const std::string & Ocean::Maintenance::Element::tag |
( |
| ) |
const |
|
inline |
Returns the tag of the maintenance data of this element.
- Returns
- The tag of the maintenance data
◆ timestamp()
Timestamp Ocean::Maintenance::Element::timestamp |
( |
| ) |
const |
|
inline |
The timestamp of the maintenance data of this element.
- Returns
- The timestamp of the maintenance data
◆ elementBuffer
Buffer Ocean::Maintenance::Element::elementBuffer |
|
protected |
◆ elementId
unsigned long long Ocean::Maintenance::Element::elementId |
|
protected |
The id of the manager to which the data has been sent.
◆ elementName
std::string Ocean::Maintenance::Element::elementName |
|
protected |
The name of the manager to which the data has been sent.
◆ elementTag
std::string Ocean::Maintenance::Element::elementTag |
|
protected |
◆ elementTimestamp
Timestamp Ocean::Maintenance::Element::elementTimestamp |
|
protected |
The timestamp of the data.
The documentation for this class was generated from the following file: