rr_data_response.h
Go to the documentation of this file.
1 
26 #ifndef ODVA_ETHERNETIP_RR_DATA_RESPONSE_H
27 #define ODVA_ETHERNETIP_RR_DATA_RESPONSE_H
28 
29 #include <string>
30 #include <boost/shared_ptr.hpp>
31 #include <boost/make_shared.hpp>
32 #include <boost/asio.hpp>
33 
42 
43 using boost::shared_ptr;
44 using boost::make_shared;
45 
46 namespace eip {
47 
48 using serialization::Serializable;
49 using serialization::Reader;
50 using serialization::Writer;
52 
56 class RRDataResponse : public RRData
57 {
58 public:
59 
65  {
66  return response_data_.service;
67  }
68 
74  {
76  }
77 
83  shared_ptr<Serializable> getAdditionalStatus()
84  {
86  }
87 
93  shared_ptr<Serializable> getResponseData()
94  {
96  }
97 
103  void getAdditionalStatusAs(Serializable& result)
104  {
106  }
107 
113  void getResponseDataAs(Serializable& result)
114  {
116  }
117 
118 protected:
122  virtual shared_ptr<Serializable> getData() const
123  {
124  throw std::logic_error("Not implemented");
125  }
126 
130  virtual void setData(CPFItem& item)
131  {
133  }
134 
135 private:
137 };
138 
139 } // namespace eip
140 
141 #endif // ODVA_ETHERNETIP_RR_DATA_RESPONSE_H
uint8_t EIP_USINT
Definition: eip_types.h:36
EIP_USINT getServiceCode() const
shared_ptr< Serializable > getAdditionalStatus()
void getAdditionalStatusAs(Serializable &result)
virtual shared_ptr< Serializable > getData() const
void copy_serializable(Serializable &dst, const Serializable &src)
Definition: connection.h:41
MessageRouterResponse response_data_
shared_ptr< Serializable > getResponseData()
void getDataAs(Serializable &result)
Definition: cpf_item.cpp:86
void getResponseDataAs(Serializable &result)
shared_ptr< Serializable > getResponseData() const
virtual void setData(CPFItem &item)
shared_ptr< Serializable > getAdditionalStatus() const
EIP_USINT getGeneralStatus() const


odva_ethernetip
Author(s): Kareem Shehata
autogenerated on Mon Jun 10 2019 14:00:16