CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
threading::Tmsg< Payload > Struct Template Reference

#include <thread_messaging.h>

Inherits threading::ThreadMsg.

Public Member Functions

template<typename... Args>
 Tmsg (void(*_cb)(std::unique_ptr< Tmsg< Payload > >), Args &&... args)
 
void reset_cb (void(*_cb)(std::unique_ptr< Tmsg< Payload > >))
 
virtual ~Tmsg ()=default
 
- Public Member Functions inherited from threading::ThreadMsg
 ThreadMsg (void(*_cb)(std::unique_ptr< ThreadMsg >))
 
virtual ~ThreadMsg ()=default
 

Public Attributes

Payload data
 
- Public Attributes inherited from threading::ThreadMsg
void(* cb )(std::unique_ptr< ThreadMsg >)
 
std::atomic< ThreadMsg * > next = nullptr
 

Constructor & Destructor Documentation

◆ Tmsg()

template<typename Payload >
template<typename... Args>
threading::Tmsg< Payload >::Tmsg ( void(*)(std::unique_ptr< Tmsg< Payload > >)  _cb,
Args &&...  args 
)
inline

◆ ~Tmsg()

template<typename Payload >
virtual threading::Tmsg< Payload >::~Tmsg ( )
virtualdefault

Member Function Documentation

◆ reset_cb()

template<typename Payload >
void threading::Tmsg< Payload >::reset_cb ( void(*)(std::unique_ptr< Tmsg< Payload > >)  _cb)
inline

Member Data Documentation

◆ data

template<typename Payload >
Payload threading::Tmsg< Payload >::data

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