#include <rr_data_request.h>
Class to encapsulate an RR Data request specifically
Definition at line 54 of file rr_data_request.h.
◆ RRDataRequest() [1/3]
eip::RRDataRequest::RRDataRequest |
( |
EIP_USINT |
service_code = 0 | ) |
|
|
inline |
◆ RRDataRequest() [2/3]
Construct an RR data request for the given path and data
Definition at line 69 of file rr_data_request.h.
◆ RRDataRequest() [3/3]
eip::RRDataRequest::RRDataRequest |
( |
EIP_USINT |
service_code, |
|
|
const Path & |
path |
|
) |
| |
|
inline |
Construct an RR data request for the given path and without data
Definition at line 79 of file rr_data_request.h.
◆ getData()
virtual shared_ptr<Serializable> eip::RRDataRequest::getData |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ getMRData()
Get a shared pointer to the data used for this request. If no value is to be supplied, pointer is null.
- Returns
- shared pointer to data to be sent with request
Definition at line 117 of file rr_data_request.h.
◆ getPath()
Path& eip::RRDataRequest::getPath |
( |
| ) |
|
|
inline |
Get the path for this request. Can be used to modify the path.
- Returns
- path reference for this request
Definition at line 107 of file rr_data_request.h.
◆ getServiceCode()
EIP_USINT eip::RRDataRequest::getServiceCode |
( |
| ) |
const |
|
inline |
Get the service code for this request
- Parameters
-
Definition at line 89 of file rr_data_request.h.
◆ setData()
virtual void eip::RRDataRequest::setData |
( |
CPFItem & |
item | ) |
|
|
inlineprotectedvirtual |
◆ setMRData()
void eip::RRDataRequest::setMRData |
( |
shared_ptr< Serializable > |
data | ) |
|
|
inline |
Set the data to be used for this request. If no data is to be set set to null (i.e. the default value of a shared_ptr).
- Parameters
-
data | Data to be sent with the request |
Definition at line 127 of file rr_data_request.h.
◆ setServiceCode()
void eip::RRDataRequest::setServiceCode |
( |
EIP_USINT |
service_code | ) |
|
|
inline |
Set the service code for this request.
- Parameters
-
service_code | service value to use |
Definition at line 98 of file rr_data_request.h.
◆ mr_data_
The documentation for this class was generated from the following file: