Goby v2
Public Types | Public Member Functions | List of all members
goby::pb::Subscription< ProtoBufMessage > Class Template Reference
Inheritance diagram for goby::pb::Subscription< ProtoBufMessage >:
Inheritance graph
[legend]

Public Types

typedef boost::function< void(const ProtoBufMessage &)> HandlerType
 

Public Member Functions

 Subscription (HandlerType &handler, const std::string &type_name, const std::string &group="")
 
void post (const std::string &body)
 
const google::protobuf::Messagenewest () const
 
const std::string & type_name () const
 
const std::string & group () const
 
bool has_valid_handler () const
 

Detailed Description

template<typename ProtoBufMessage>
class goby::pb::Subscription< ProtoBufMessage >

Definition at line 50 of file subscription.h.


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