TransportTypes.hh File Reference
#include <google/protobuf/message.h>#include <chrono>#include <functional>#include <map>#include <memory>#include <string>#include <vector>#include "gz/transport/config.hh"#include "gz/transport/Publisher.hh"Go to the source code of this file.
Namespaces | |
| gz | |
| gz::transport | |
Typedefs | |
| template<typename T > | |
| using | Addresses_M = std::map< std::string, std::vector< T > > |
| using | DeallocFunc = void(void *_data, void *_hint) |
| template<typename T > | |
| using | DiscoveryCallback = std::function< void(const T &_publisher)> |
| using | IRepHandlerPtr = std::shared_ptr< IRepHandler > |
| using | IReqHandler_M = std::map< std::string, std::map< std::string, IReqHandlerPtr > > |
| using | IReqHandlerPtr = std::shared_ptr< IReqHandler > |
| using | ISubscriptionHandler_M = std::map< std::string, ISubscriptionHandlerPtr > |
| using | ISubscriptionHandlerPtr = std::shared_ptr< ISubscriptionHandler > |
| using | MsgAddresses_M = Addresses_M< MessagePublisher > |
| template<typename T > | |
| using | MsgCallback = std::function< void(const T &_msg, const MessageInfo &_info)> |
| using | MsgDiscoveryCallback = std::function< void(const MessagePublisher &_publisher)> |
| using | ProtoMsg = google::protobuf::Message |
| using | ProtoMsgPtr = std::shared_ptr< ProtoMsg > |
| using | RawCallback = std::function< void(const char *_msgData, const size_t _size, const MessageInfo &_info)> |
| using | RawSubscriptionHandler_M = std::map< std::string, RawSubscriptionHandlerPtr > |
| using | RawSubscriptionHandlerPtr = std::shared_ptr< RawSubscriptionHandler > |
| using | SrvAddresses_M = Addresses_M< ServicePublisher > |
| using | SrvDiscoveryCallback = std::function< void(const ServicePublisher &_publisher)> |
| using | Timestamp = std::chrono::steady_clock::time_point |
Variables | |
| const int | kDefaultRcvHwm = 1000 |
| The high water mark of the receive message buffer. More... | |
| const int | kDefaultSndHwm = 1000 |
| The high water mark of the send message buffer. More... | |
| const std::string | kGenericMessageType = "google.protobuf.Message" |
| The string type used for generic messages. More... | |