libbbb
1.2.1
Groups common code used in some applications and libraries.
libbbb
Classes
Files
File List
src
antenna
antenna.cc
antenna.h
autothread
backjob
bytebuffer
core
doevents
dynstack
jobinterf
lists
markup
memtrack
refcount
rexscript
templates
timer
usermsg
varmap
File Members
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
antenna.h
Go to the documentation of this file.
1
/* ========================================================================= */
2
/* ------------------------------------------------------------------------- */
/*
12
13
14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
Please read COPYING and README files in root folder
16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17
*/
18
/* ------------------------------------------------------------------------- */
19
/* ========================================================================= */
20
#ifndef __ANTENNA_INC__
21
#define __ANTENNA_INC__
22
//
23
//
24
//
25
//
26
/* INCLUDES ------------------------------------------------------------ */
27
28
#include <libbbb/libbbb.h>
29
#include <libbbb/amorph.h>
30
#include <QObject>
31
32
/* INCLUDES ============================================================ */
33
//
34
//
35
//
36
//
37
/* DEFINITIONS --------------------------------------------------------- */
38
39
namespace
libbbb {
40
41
/* DEFINITIONS ========================================================= */
42
//
43
//
44
//
45
//
46
/* CLASS --------------------------------------------------------------- */
47
54
class
55
BBBSHARED_EXPORT
56
Antenna
:
public
QObject {
57
Q_OBJECT
58
59
//
60
//
61
//
62
//
63
/* DEFINITIONS ----------------------------------------------------- */
64
65
public
:
66
67
71
typedef
void (*KbType) ( void );
72
73
77
typedef
void (*KbType1) (
Amorph
arg );
78
79
83
typedef
void (*KbType2) (
Amorph
arg1,
Amorph
arg2 );
84
85
86
private
:
87
88
92
union
UKb {
93
KbType kb_;
94
KbType1 kb1_;
95
KbType2 kb2_;
96
};
97
98
99
/* DEFINITIONS ===================================================== */
100
//
101
//
102
//
103
//
104
/* DATA ------------------------------------------------------------ */
105
106
107
private
:
108
109
113
UKb mth_;
114
115
116
/* DATA ============================================================ */
117
//
118
//
119
//
120
//
121
/* FUNCTIONS ------------------------------------------------------- */
122
123
public
:
124
125
129
Antenna
( QObject * parent = NULL );
130
131
135
virtual
~
Antenna
(
void
);
136
137
138
inline
void
setKb ( KbType kb )
139
{ mth_.kb_ = kb; }
140
inline
void
setKb1 ( KbType1 kb )
141
{ mth_.kb1_ = kb; }
142
inline
void
setKb2 ( KbType2 kb )
143
{ mth_.kb2_ = kb; }
144
145
146
public
slots:
147
148
152
void
reciever (
void
);
153
154
158
void
reciever (
Amorph
arg );
159
160
164
void
reciever (
Amorph
arg1,
Amorph
arg2 );
165
166
167
168
169
/* FUNCTIONS ======================================================= */
170
//
171
//
172
//
173
//
174
175
};
/* class Antenna */
176
177
/* CLASS =============================================================== */
178
//
179
//
180
//
181
//
182
183
}
// namespace libbbb
184
185
#endif // __ANTENNA_INC__
186
/* ------------------------------------------------------------------------- */
187
/* ========================================================================= */
src
antenna
antenna.h
Generated on Thu Aug 8 2013 20:10:33 for libbbb by
1.8.3.1