Goby3
3.1.5a
2024.05.23
|
Represents a subscription to a serialized data type (interprocess 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<> | |
enum | SubscriptionAction |
Public Member Functions | |
SerializationSubscription (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 override |
std::vector< char >::const_iterator | post (std::vector< char >::const_iterator b, std::vector< char >::const_iterator e) const override |
const char * | post (const char *b, const char *e) const override |
SerializationHandlerBase ::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<> | |
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 (interprocess layer).
Data | Subscribed data type |
scheme_id | Marshalling scheme id (typically MarshallingScheme::MarshallingSchemeEnum). |
Definition at line 136 of file serialization_handlers.h.
typedef std::function<void(std::shared_ptr<const Data> data)> goby::middleware::SerializationSubscription< Data, scheme_id >::HandlerType |
Definition at line 139 of file serialization_handlers.h.
|
inline |
Definition at line 141 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 168 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 166 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 152 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 159 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 176 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 175 of file serialization_handlers.h.
|
inlineoverride |
Definition at line 174 of file serialization_handlers.h.