Go to the documentation of this file.
32 #ifndef SIMPLE_MESSAGE_CONNECTION_H
33 #define SIMPLE_MESSAGE_CONNECTION_H
48 namespace smpl_msg_connection
109 bool verbose =
false);
125 bool verbose =
false);
173 #endif //SIMPLE_MESSAGE_CONNECTION_H
virtual bool receiveBytes(industrial::byte_array::ByteArray &buffer, industrial::shared_types::shared_int num_bytes, industrial::shared_types::shared_int timeout_ms)=0
Method used by receive message interface method. This should be overridden for the specific connectio...
This class defines a simple messaging protocol for communicating with an industrial robot controller.
The byte array wraps a dynamic array of bytes (i.e. char).
virtual bool isConnected()=0
return connection status
Defines an interface and common methods for sending simple messages (see simple_message)....
virtual bool makeConnect()=0
connects to the remote host
bool sendAndReceiveMsg(industrial::simple_message::SimpleMessage &send, industrial::simple_message::SimpleMessage &recv, bool verbose=false)
Performs a complete send and receive. This is helpful when sending a message that requires and explic...
virtual bool sendBytes(industrial::byte_array::ByteArray &buffer)=0
Method used by send message interface method. This should be overridden for the specific connection t...
virtual bool receiveMsg(industrial::simple_message::SimpleMessage &message)
Receives a message using the data connection.
virtual bool sendMsg(industrial::simple_message::SimpleMessage &message)
Sends a message using the data connection.
simple_message
Author(s): Shaun Edwards
autogenerated on Wed Mar 2 2022 00:24:53