Public Types | Public Member Functions | Static Public Member Functions | List of all members
horizon_legacy::Channel< T > Struct Template Reference

#include <horizon_legacy_wrapper.h>

Public Types

typedef boost::shared_ptr< const T > ConstPtr
 
typedef boost::shared_ptr< T > Ptr
 

Public Member Functions

 BOOST_STATIC_ASSERT_MSG ((boost::is_base_of< clearpath::Message, T >::value), "T must be a descendant of clearpath::Message")
 

Static Public Member Functions

static Ptr getLatest (double timeout)
 
static Ptr requestData (double timeout)
 
static void subscribe (double frequency)
 
static void unsubscribe ()
 

Detailed Description

template<typename T>
struct horizon_legacy::Channel< T >

Definition at line 55 of file horizon_legacy_wrapper.h.

Member Typedef Documentation

◆ ConstPtr

template<typename T >
typedef boost::shared_ptr<const T> horizon_legacy::Channel< T >::ConstPtr

Definition at line 59 of file horizon_legacy_wrapper.h.

◆ Ptr

template<typename T >
typedef boost::shared_ptr<T> horizon_legacy::Channel< T >::Ptr

Definition at line 58 of file horizon_legacy_wrapper.h.

Member Function Documentation

◆ BOOST_STATIC_ASSERT_MSG()

template<typename T >
horizon_legacy::Channel< T >::BOOST_STATIC_ASSERT_MSG ( (boost::is_base_of< clearpath::Message, T >::value)  ,
"T must be a descendant of clearpath::Message  
)

◆ getLatest()

template<typename T >
static Ptr horizon_legacy::Channel< T >::getLatest ( double  timeout)
inlinestatic

Definition at line 65 of file horizon_legacy_wrapper.h.

◆ requestData()

template<typename T >
static Ptr horizon_legacy::Channel< T >::requestData ( double  timeout)
inlinestatic

Definition at line 95 of file horizon_legacy_wrapper.h.

◆ subscribe()

template<typename T >
static void horizon_legacy::Channel< T >::subscribe ( double  frequency)
inlinestatic

Definition at line 109 of file horizon_legacy_wrapper.h.

◆ unsubscribe()

template<typename T >
static void horizon_legacy::Channel< T >::unsubscribe ( )
inlinestatic

Definition at line 114 of file horizon_legacy_wrapper.h.


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


husky_base
Author(s): Mike Purvis , Paul Bovbel
autogenerated on Sat Nov 26 2022 03:56:48