An object that recieves and forwards simple messages. More...
#include <antenna.h>
Public Types | |
typedef void(* | KbType )(void) |
the callback to use when a signal is recieved | |
typedef void(* | KbType1 )(Amorph arg) |
the callback to use when a signal is recieved | |
typedef void(* | KbType2 )(Amorph arg1, Amorph arg2) |
the callback to use when a signal is recieved | |
Public Slots | |
void | reciever (void) |
recieves a signal | |
void | reciever (Amorph arg) |
recieves a signal and one argument | |
void | reciever (Amorph arg1, Amorph arg2) |
recieves a signal and two arguments | |
Public Member Functions | |
Antenna (QObject *parent=NULL) | |
constructor; | |
virtual | ~Antenna (void) |
destructor; | |
void | setKb (KbType kb) |
void | setKb1 (KbType1 kb) |
void | setKb2 (KbType2 kb) |
An object that recieves and forwards simple messages.
This is useful, for example, when working with threads. The thread may create an antenna in its run method and forward mesages using it.