Goby3  3.1.5a
2024.05.23
goby::middleware::SerializationUnSubscription< Data, scheme_id > Class Template Reference

Represents an unsubscription to a serialized data type (interprocess and outer layers). More...

#include <goby/middleware/transport/serialization_handlers.h>

Inheritance diagram for goby::middleware::SerializationUnSubscription< Data, scheme_id >:
goby::middleware::SerializationHandlerBase<> goby::middleware::SerializationHandlerPostSelector< void >

Public Member Functions

 SerializationUnSubscription (const Group &group)
 
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 charpost (const char *b, const char *e) const override
 
SerializationHandlerBase ::SubscriptionAction action () const override
 
const std::string & type_name () const override
 
const Groupsubscribed_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 Groupsubscribed_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
 

Additional Inherited Members

- Public Types inherited from goby::middleware::SerializationHandlerBase<>
enum  SubscriptionAction
 

Detailed Description

template<typename Data, int scheme_id>
class goby::middleware::SerializationUnSubscription< Data, scheme_id >

Represents an unsubscription to a serialized data type (interprocess and outer layers).

Template Parameters
DataSubscribed data type
scheme_idMarshalling scheme id (typically MarshallingScheme::MarshallingSchemeEnum).

Definition at line 350 of file serialization_handlers.h.

Constructor & Destructor Documentation

◆ SerializationUnSubscription()

template<typename Data , int scheme_id>
goby::middleware::SerializationUnSubscription< Data, scheme_id >::SerializationUnSubscription ( const Group group)
inline

Definition at line 353 of file serialization_handlers.h.

Member Function Documentation

◆ action()

template<typename Data , int scheme_id>
SerializationHandlerBase ::SubscriptionAction goby::middleware::SerializationUnSubscription< Data, scheme_id >::action ( ) const
inlineoverride

Definition at line 377 of file serialization_handlers.h.

◆ post() [1/3]

template<typename Data , int scheme_id>
const char* goby::middleware::SerializationUnSubscription< Data, scheme_id >::post ( const char b,
const char e 
) const
inlineoverride

Definition at line 372 of file serialization_handlers.h.

◆ post() [2/3]

template<typename Data , int scheme_id>
std::string::const_iterator goby::middleware::SerializationUnSubscription< Data, scheme_id >::post ( std::string::const_iterator  b,
std::string::const_iterator  e 
) const
inlineoverride

Definition at line 358 of file serialization_handlers.h.

◆ post() [3/3]

template<typename Data , int scheme_id>
std::vector<char>::const_iterator goby::middleware::SerializationUnSubscription< Data, scheme_id >::post ( std::vector< char >::const_iterator  b,
std::vector< char >::const_iterator  e 
) const
inlineoverride

Definition at line 365 of file serialization_handlers.h.

◆ scheme()

template<typename Data , int scheme_id>
int goby::middleware::SerializationUnSubscription< Data, scheme_id >::scheme ( ) const
inlineoverride

Definition at line 385 of file serialization_handlers.h.

◆ subscribed_group()

template<typename Data , int scheme_id>
const Group& goby::middleware::SerializationUnSubscription< Data, scheme_id >::subscribed_group ( ) const
inlineoverride

Definition at line 384 of file serialization_handlers.h.

◆ type_name()

template<typename Data , int scheme_id>
const std::string& goby::middleware::SerializationUnSubscription< Data, scheme_id >::type_name ( ) const
inlineoverride

Definition at line 383 of file serialization_handlers.h.


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