Public Member Functions | Private Member Functions | Private Attributes | List of all members
can::ThreadedInterface< WrappedInterface > Class Template Reference

#include <socketcan.h>

Inheritance diagram for can::ThreadedInterface< WrappedInterface >:
Inheritance graph
[legend]

Public Member Functions

virtual bool init (const std::string &device, bool loopback) override
 
virtual bool init (const std::string &device, bool loopback, SettingsConstSharedPtr settings) override
 
void join ()
 
virtual void shutdown ()
 
 ThreadedInterface ()
 
template<typename T1 >
 ThreadedInterface (const T1 &t1)
 
template<typename T1 , typename T2 >
 ThreadedInterface (const T1 &t1, const T2 &t2)
 
virtual ~ThreadedInterface ()
 

Private Member Functions

void run_thread ()
 

Private Attributes

std::shared_ptr< boost::thread > thread_
 

Detailed Description

template<typename WrappedInterface>
class can::ThreadedInterface< WrappedInterface >

Definition at line 270 of file socketcan.h.

Constructor & Destructor Documentation

◆ ~ThreadedInterface()

template<typename WrappedInterface >
virtual can::ThreadedInterface< WrappedInterface >::~ThreadedInterface ( )
inlinevirtual

Definition at line 77 of file threading.h.

◆ ThreadedInterface() [1/3]

template<typename WrappedInterface >
can::ThreadedInterface< WrappedInterface >::ThreadedInterface ( )
inline

Definition at line 78 of file threading.h.

◆ ThreadedInterface() [2/3]

template<typename WrappedInterface >
template<typename T1 >
can::ThreadedInterface< WrappedInterface >::ThreadedInterface ( const T1 &  t1)
inline

Definition at line 79 of file threading.h.

◆ ThreadedInterface() [3/3]

template<typename WrappedInterface >
template<typename T1 , typename T2 >
can::ThreadedInterface< WrappedInterface >::ThreadedInterface ( const T1 &  t1,
const T2 &  t2 
)
inline

Definition at line 80 of file threading.h.

Member Function Documentation

◆ init() [1/2]

template<typename WrappedInterface >
virtual bool can::ThreadedInterface< WrappedInterface >::init ( const std::string &  device,
bool  loopback 
)
inlineoverridevirtual

Definition at line 45 of file threading.h.

◆ init() [2/2]

template<typename WrappedInterface >
virtual bool can::ThreadedInterface< WrappedInterface >::init ( const std::string &  device,
bool  loopback,
SettingsConstSharedPtr  settings 
)
inlineoverridevirtual

Definition at line 56 of file threading.h.

◆ join()

template<typename WrappedInterface >
void can::ThreadedInterface< WrappedInterface >::join ( )
inline

Definition at line 72 of file threading.h.

◆ run_thread()

template<typename WrappedInterface >
void can::ThreadedInterface< WrappedInterface >::run_thread ( )
inlineprivate

Definition at line 41 of file threading.h.

◆ shutdown()

template<typename WrappedInterface >
virtual void can::ThreadedInterface< WrappedInterface >::shutdown ( )
inlinevirtual

Definition at line 64 of file threading.h.

Member Data Documentation

◆ thread_

template<typename WrappedInterface >
std::shared_ptr<boost::thread> can::ThreadedInterface< WrappedInterface >::thread_
private

Definition at line 40 of file threading.h.


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


socketcan_interface
Author(s): Mathias L├╝dtke
autogenerated on Tue May 4 2021 02:50:18