Goby3
3.1.5a
2024.05.23
|
Represents a subscription to a serialized data type (intervehicle layer). More...
#include <goby/middleware/transport/serialization_handlers.h>
Public Types | |
typedef std::function< void(std::shared_ptr< const Data > data)> | HandlerType |
Public Types inherited from goby::middleware::SerializationHandlerBase< intervehicle::protobuf::Header > | |
enum | SubscriptionAction |
Public Member Functions | |
IntervehicleSerializationSubscription (HandlerType handler, const Group &group=Group(Group::broadcast_group), const Subscriber< Data > &subscriber=Subscriber< Data >()) | |
std::string::const_iterator | post (std::string::const_iterator b, std::string::const_iterator e, const intervehicle::protobuf::Header &header) const override |
std::vector< char >::const_iterator | post (std::vector< char >::const_iterator b, std::vector< char >::const_iterator e, const intervehicle::protobuf::Header &header) const override |
const char * | post (const char *b, const char *e, const intervehicle::protobuf::Header &header) const override |
SerializationHandlerBase< intervehicle::protobuf::Header >::SubscriptionAction | action () const override |
const std::string & | type_name () const override |
const Group & | subscribed_group () const override |
int | scheme () const override |
Public Member Functions inherited from goby::middleware::SerializationHandlerBase< intervehicle::protobuf::Header > | |
SerializationHandlerBase ()=default | |
virtual | ~SerializationHandlerBase ()=default |
virtual const std::string & | type_name () const=0 |
virtual const Group & | subscribed_group () const=0 |
virtual int | scheme () const=0 |
virtual SubscriptionAction | action () const=0 |
std::thread::id | thread_id () const |
virtual std::string | subscriber_id () const |
Represents a subscription to a serialized data type (intervehicle layer).
Data | Subscribed data type |
scheme_id | Marshalling scheme id (typically MarshallingScheme::MarshallingSchemeEnum). |
Definition at line 204 of file serialization_handlers.h.
typedef std::function<void(std::shared_ptr<const Data> data)> goby::middleware::IntervehicleSerializationSubscription< Data, scheme_id >::HandlerType |
Definition at line 208 of file serialization_handlers.h.
|
inline |
Definition at line 210 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 243 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 236 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 221 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 229 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 252 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 251 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 250 of file serialization_handlers.h.