Class Yaskawa_MessageRouter¶
Defined in File Yaskawa_MessageRouter.h
Class Documentation¶
-
class
Yaskawa_MessageRouter¶ Public Types
-
using
SPtr= std::shared_ptr<Yaskawa_MessageRouter>¶
Public Functions
-
Yaskawa_MessageRouter()¶ Default constructor.
-
~Yaskawa_MessageRouter()¶ Default destructor.
-
MessageRouterResponse
sendRequest(SessionInfoIf::SPtr si, cip::CipUsint service, const cip::Yaskawa_EPath &path, const std::vector<uint8_t> &data, const std::vector<eip::CommonPacketItem> &additionalPacketItems) const¶ Sends an explicit requests to the EIP adapter by calling a CIP service.
- Return
the received response from the EIP adapter
- Parameters
si: the EIP session with the adapterservice: the service code (for standard codes see eipScanner::cip::ServiceCodes)path: the path to an element in Object Model that provides the called servicedata: the encoded arguments of the serviceadditionalPacketItems: (needed only for eipScanner::ConnectionManager)
- Exceptions
std::runtime_error:std::system_error:
-
MessageRouterResponse
sendRequest(SessionInfoIf::SPtr si, cip::CipUsint service, const cip::Yaskawa_EPath &path, const std::vector<uint8_t> &data) const¶ Sends an explicit requests to the EIP adapter by calling a CIP service.
- Return
the received response from the EIP adapter
- Parameters
si: the EIP session with the adapterservice: the service code (for standard codes see eipScanner::cip::ServiceCodes)path: the path to an element in Object Model that provides the called servicedata: the encoded arguments of the service
- Exceptions
std::runtime_error:std::system_error:
-
MessageRouterResponse
sendRequest(SessionInfoIf::SPtr si, cip::CipUsint service, const cip::Yaskawa_EPath &path) const¶ Sends an explicit requests to the EIP adapter by calling a CIP service.
- Return
the received response from the EIP adapter
- Parameters
si: the EIP session with the adapterservice: the service code (for standard codes see eipScanner::cip::ServiceCodes)path: the path to an element in Object Model that provides the called service
- Exceptions
std::runtime_error:std::system_error:
-
using