Goby3  3.1.4
2024.02.22
goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread > Class Template Reference

#include <goby/zeromq/liaison/liaison_container.h>

Inheritance diagram for goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >:
goby::zeromq::LiaisonContainer

Public Member Functions

 LiaisonContainerWithComms (const goby::apps::zeromq::protobuf::LiaisonConfig &cfg)
 
virtual ~LiaisonContainerWithComms ()
 
void post_to_wt (std::function< void()> func)
 
void process_from_wt ()
 
- Public Member Functions inherited from goby::zeromq::LiaisonContainer
 LiaisonContainer ()
 
virtual ~LiaisonContainer ()
 
void set_name (const Wt::WString &name)
 
const Wt::WString & name ()
 
virtual void focus ()
 
virtual void unfocus ()
 
virtual void cleanup ()
 

Protected Member Functions

GobyThread * goby_thread ()
 
void post_to_comms (std::function< void()> func)
 
void process_from_comms ()
 
void update_comms_freq (double hertz)
 

Detailed Description

template<typename Derived, typename GobyThread>
class goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >

Definition at line 86 of file liaison_container.h.

Constructor & Destructor Documentation

◆ LiaisonContainerWithComms()

template<typename Derived , typename GobyThread >
goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::LiaisonContainerWithComms ( const goby::apps::zeromq::protobuf::LiaisonConfig cfg)
inline

Definition at line 89 of file liaison_container.h.

◆ ~LiaisonContainerWithComms()

template<typename Derived , typename GobyThread >
virtual goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::~LiaisonContainerWithComms ( )
inlinevirtual

Definition at line 128 of file liaison_container.h.

Member Function Documentation

◆ goby_thread()

template<typename Derived , typename GobyThread >
GobyThread* goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::goby_thread ( )
inlineprotected

Definition at line 161 of file liaison_container.h.

◆ post_to_comms()

template<typename Derived , typename GobyThread >
void goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::post_to_comms ( std::function< void()>  func)
inlineprotected

Definition at line 167 of file liaison_container.h.

◆ post_to_wt()

template<typename Derived , typename GobyThread >
void goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::post_to_wt ( std::function< void()>  func)
inline

Definition at line 144 of file liaison_container.h.

◆ process_from_comms()

template<typename Derived , typename GobyThread >
void goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::process_from_comms ( )
inlineprotected

Definition at line 173 of file liaison_container.h.

◆ process_from_wt()

template<typename Derived , typename GobyThread >
void goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::process_from_wt ( )
inline

Definition at line 150 of file liaison_container.h.

◆ update_comms_freq()

template<typename Derived , typename GobyThread >
void goby::zeromq::LiaisonContainerWithComms< Derived, GobyThread >::update_comms_freq ( double  hertz)
inlineprotected

Definition at line 183 of file liaison_container.h.


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