#include <rr_data_request.h>
Class to encapsulate an RR Data request specifically
Definition at line 54 of file rr_data_request.h.
eip::RRDataRequest::RRDataRequest |
( |
EIP_USINT |
service_code = 0 | ) |
|
|
inline |
eip::RRDataRequest::RRDataRequest |
( |
EIP_USINT |
service_code, |
|
|
const Path & |
path, |
|
|
shared_ptr< Serializable > |
data |
|
) |
| |
|
inline |
Construct an RR data request for the given path and data
Definition at line 69 of file rr_data_request.h.
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.
virtual shared_ptr<Serializable> eip::RRDataRequest::getData |
( |
| ) |
const |
|
inlineprotectedvirtual |
shared_ptr<Serializable> eip::RRDataRequest::getMRData |
( |
| ) |
|
|
inline |
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.
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.
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.
virtual void eip::RRDataRequest::setData |
( |
CPFItem & |
item | ) |
|
|
inlineprotectedvirtual |
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.
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.
The documentation for this class was generated from the following file: