Thunderbots Project
Loading...
Searching...
No Matches
ThreadedProtoUnixSender< SendProto > Class Template Reference
Inheritance diagram for ThreadedProtoUnixSender< SendProto >:
Collaboration diagram for ThreadedProtoUnixSender< SendProto >:

Public Member Functions

 ThreadedProtoUnixSender (const std::string &unix_path, const std::shared_ptr< ProtoLogger > &proto_logger=nullptr)
 
void sendProto (const SendProto &message)
 

Constructor & Destructor Documentation

◆ ThreadedProtoUnixSender()

template<class SendProto >
ThreadedProtoUnixSender ( const std::string &  unix_path,
const std::shared_ptr< ProtoLogger > &  proto_logger = nullptr 
)
inline

Create a ThreadedProtoUnixSender

Parameters
unix_pathThe unix socket path to send on

Member Function Documentation

◆ sendProto()

template<class SendProto >
void sendProto ( const SendProto &  message)

Sends a protobuf message to the initialized ip address and port This function returns after the message has been sent.

Parameters
messageThe protobuf message to send

The documentation for this class was generated from the following file: