Class ClipsProtobufCommunicator

Class Documentation

class ClipsProtobufCommunicator

Public Functions

ClipsProtobufCommunicator(clips::Environment *env, std::mutex &env_mutex, rclcpp_lifecycle::LifecycleNode::WeakPtr parent)
ClipsProtobufCommunicator(clips::Environment *env, std::mutex &env_mutex, std::vector<std::string> &proto_path, rclcpp_lifecycle::LifecycleNode::WeakPtr parent)
~ClipsProtobufCommunicator()
void enable_server(int port)
void disable_server()
inline boost::signals2::signal<void(protobuf_comm::ProtobufStreamServer::ClientID, std::shared_ptr<google::protobuf::Message>)> &signal_server_sent()

Signal invoked for a message that has been sent to a server client.

Returns:

signal

inline boost::signals2::signal<void(std::string, uint16_t, std::shared_ptr<google::protobuf::Message>)> &signal_client_sent()

Signal invoked for a message that has been sent to a client.

Returns:

signal

inline boost::signals2::signal<void(int64_t, std::shared_ptr<google::protobuf::Message>)> &signal_peer_sent()

Signal invoked for a message that has been sent via broadcast.

Returns:

signal