Public Member Functions | Protected Member Functions | Private Attributes
eip::RRDataRequest Class Reference

#include <rr_data_request.h>

Inheritance diagram for eip::RRDataRequest:
Inheritance graph
[legend]

List of all members.

Public Member Functions

shared_ptr< Serializable > getMRData ()
PathgetPath ()
EIP_USINT getServiceCode () const
 RRDataRequest (EIP_USINT service_code=0)
 RRDataRequest (EIP_USINT service_code, const Path &path, shared_ptr< Serializable > data)
 RRDataRequest (EIP_USINT service_code, const Path &path)
void setMRData (shared_ptr< Serializable > data)
void setServiceCode (EIP_USINT service_code)

Protected Member Functions

virtual shared_ptr< Serializable > getData () const
virtual void setData (CPFItem &item)

Private Attributes

shared_ptr< MessageRouterRequestmr_data_

Detailed Description

Class to encapsulate an RR Data request specifically

Definition at line 54 of file rr_data_request.h.


Constructor & Destructor Documentation

eip::RRDataRequest::RRDataRequest ( EIP_USINT  service_code = 0) [inline]

Construct an empty RR data request

Definition at line 61 of file rr_data_request.h.

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.


Member Function Documentation

virtual shared_ptr<Serializable> eip::RRDataRequest::getData ( ) const [inline, protected, virtual]

Return reference to the MR request to send

Reimplemented from eip::RRData.

Definition at line 136 of file rr_data_request.h.

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.

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.

Get the service code for this request

Parameters:
servicecode value

Definition at line 89 of file rr_data_request.h.

virtual void eip::RRDataRequest::setData ( CPFItem item) [inline, protected, virtual]

Cannot currently deserialize this class

Reimplemented from eip::RRData.

Definition at line 144 of file rr_data_request.h.

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:
dataData 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_codeservice value to use

Definition at line 98 of file rr_data_request.h.


Member Data Documentation

Definition at line 150 of file rr_data_request.h.


The documentation for this class was generated from the following file:


odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Sat Jun 8 2019 20:21:23