3 #include <g_mthread_ThreadTypes.h>
13 virtual void send () = 0;
18 template <
class T>
struct class_method {
typedef void ( T::*Pointer_t ) ( ); };
19 typedef void ( *FunctionPointer_t ) ( );
30 virtual void send () { ( *functionPointer ) ( ); }
37 ((this->clsInstanceP)->*(this->methodPointer))();
61 mGetQueueSenderP ( )->push ( data_buffer_ref );
68 void mDrainEvent ( GTimeoutSec_t aTimeOut = 0.0 )
72 data_buffer_ref->reset();
77 SenderReceiver::send ();
84 virtual void send () { SenderSerialized::send (); }
89 template <
class T ,
class Q=g::signal::QueueTxRxSimple>
class thread_base :
99 if ( mListSubscribers.getSize() > 0 )
107 G_EXC_RAISE ( g::mthread::ThreadNotHavingSubscribersException );
112 virtual void mEntryPoint (
void* aPar )
Definition: g.mthread.ThreadSimpleEvent.h:89
Subclass for definng queue tx side.
Definition: g_signal_queue.h:25
#define G_EXC_RAISE(aexctype)
Raises an exception using the the default message.
Definition: g_exception_macros.h:61
Definition: g.mthread.ThreadSimpleEvent.h:41
Definition: g.mthread.ThreadSimpleEvent.h:81
Definition: g.mthread.ThreadSimpleEvent.h:22
Class capable of receiving events.
Definition: g_signal_signal_receiver.h:10
Definition: g.mthread.ThreadSimpleEvent.h:65
Definition: g_cont_ref_lst.h:10
Definition: g.mthread.ThreadSimpleEvent.h:18
Definition: g.mthread.ThreadSimpleEvent.h:5
Definition: g_cont_it_ref.h:14
Subclass for defining queue rx side.
Definition: g_signal_queue.h:17
Definition: g.mthread.ThreadSimpleEvent.h:16
Definition: g_signal_subscribers.h:28
Definition: g.mthread.ThreadSimpleEvent.h:87
Definition: g.mthread.ThreadSimpleEvent.h:11
Definition: g_cont_it_ref.h:10
Definition: g.mthread.ThreadSimpleEvent.h:21
Definition: g.mthread.ThreadSimpleEvent.h:28
Interface base class for sender serializer.
Definition: g_signal.h:17
Definition: g_signal_subscribers.h:10
#define G_EXC_SET_CONTEXT(acontextstr)
Sets the method context.
Definition: g_exception_macros.h:52
Definition: g.mthread.ThreadSimpleEvent.h:33
Interface base class for receiver serializer.
Definition: g_signal.h:24
Definition: g.mthread.ThreadSimpleEvent.h:52