32 #ifndef SIMPLE_MESSAGE_CONNECTION_H 33 #define SIMPLE_MESSAGE_CONNECTION_H 48 namespace smpl_msg_connection
98 bool verbose =
false);
144 #endif //SIMPLE_MESSAGE_CONNECTION_H virtual bool sendMsg(industrial::simple_message::SimpleMessage &message)
Sends a message using the data connection.
Defines an interface and common methods for sending simple messages (see simple_message). This interface makes a bare minimum of assumptions:
This class defines a simple messaging protocol for communicating with an industrial robot controller...
virtual bool receiveBytes(industrial::byte_array::ByteArray &buffer, industrial::shared_types::shared_int num_bytes)=0
Method used by receive message interface method. This should be overridden for the specific connectio...
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...
The byte array wraps a dynamic array of bytes (i.e. char).
virtual bool receiveMsg(industrial::simple_message::SimpleMessage &message)
Receives a message using the data connection.
virtual bool isConnected()=0
return connection status
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 makeConnect()=0
connects to the remote host