libbbb  1.2.1
Groups common code used in some applications and libraries.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
libbbb::Antenna Class Reference

An object that recieves and forwards simple messages. More...

#include <antenna.h>

+ Inheritance diagram for libbbb::Antenna:

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)
 

Detailed Description

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.


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