gatelib  2.1
Classes | Macros
g_signal.h File Reference
#include "g_signal_signal_receiver.h"
#include "g_signal_subscribers.h"
#include "g_signal_queue.h"
#include "g_signal_queueDataBuffer.h"
#include "g_cont_ref_lst.h"
#include "g_cont_ref.h"

Go to the source code of this file.

Classes

class  g::signal::ISenderSerialized
 Interface base class for sender serializer. More...
 
class  g::signal::IReceiverSerialized
 Interface base class for receiver serializer. More...
 

Macros

#define G_SIGNAL(sig_if)
 Instanciate a signal with a certain interface. More...
 
#define G_SIGNAL_INCLUDE(sig_path)   G_STR(_g_signal/sig_path.h)
 Use for include a signal i.e #include G_SIGNAL_INCLUDE(g.sig.MySig). More...
 

Macro Definition Documentation

#define G_SIGNAL (   sig_if)

Instanciate a signal with a certain interface.

G_ASSIST will create an event file in the subfolder [source_location]/_g_signal. whenever the G_SIGNAL macro is used inside a source file(*.c,cpp,.h,..)
i.e. a line such as:
G_SIGNAL(g::mthread::ThreadWithParamEvent(void* aPar))
will cause the signal assist expand the interface into a signal file in dir [[source_location]/_g_signal] and inside g::mthread namespace.

Parameters
sig_ifthe signal interface i.e G_SIGNAL(g::mthread::ThreadWithParamEvent(void* aPar))
#define G_SIGNAL_INCLUDE (   sig_path)    G_STR(_g_signal/sig_path.h)

Use for include a signal i.e #include G_SIGNAL_INCLUDE(g.sig.MySig).

Parameters
sig_pathname of the path complete with namespace separated by dots '.'
i.e. g.sig.MySig