openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eFixedMessagePump< T > Class Template Reference

A messagepump with fixed-length packets. More...

#include <message.h>

Inheritance diagram for eFixedMessagePump< T >:

Public Member Functions

void send (const T &msg)
 
 eFixedMessagePump (eMainloop *context, int mt)
 
 eFixedMessagePump (eMainloop *context, int mt, const char *name)
 
 ~eFixedMessagePump ()
 

Public Attributes

sigc::signal1< void, const T & > recv_msg
 

Detailed Description

template<class T>
class eFixedMessagePump< T >

A messagepump with fixed-length packets.

Based on eMessagePump, with this class you can send and receive fixed size messages. Automatically creates a eSocketNotifier and gives you a callback.

Constructor & Destructor Documentation

◆ eFixedMessagePump() [1/2]

template<class T >
eFixedMessagePump< T >::eFixedMessagePump ( eMainloop context,
int  mt 
)
inline

◆ eFixedMessagePump() [2/2]

template<class T >
eFixedMessagePump< T >::eFixedMessagePump ( eMainloop context,
int  mt,
const char *  name 
)
inline

◆ ~eFixedMessagePump()

template<class T >
eFixedMessagePump< T >::~eFixedMessagePump ( )
inline

Member Function Documentation

◆ send()

template<class T >
void eFixedMessagePump< T >::send ( const T &  msg)
inline

Member Data Documentation

◆ recv_msg

template<class T >
sigc::signal1<void,const T&> eFixedMessagePump< T >::recv_msg

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