summaryrefslogtreecommitdiff
path: root/comm/OLD/SimpleMessage.cc
blob: 1346d228317c7ed77b0a6e7d28db3f05f80aa20a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifdef DOC
// fake entries for inline functions

/*?class UchSimpleMessage
A simple UchMessage.has a single public field \var{Data} of type \typ{lword}.
?*/

/*?
Construct a simple message with data 0.
?*/
UchSimpleMessage :: UchSimpleMessage ()
{}

/*?
Construct a simple message with data \var{d}.
?*/
UchSimpleMessage :: UchSimpleMessage (lword d)
{}

/*?class UchStringMessage
A string UchMessage.has a public field \var{Data} of type \typ{char*}.
It is designed to carry a null-terminated string.
?*/

/*?
Construct a simple message with data 0.
?*/
UchStringMessage :: UchStringMessage ()
{}

/*?
Construct a string message with type data \var{d}.
The string is not copied.
?*/
UchStringMessage :: UchStringMessage (char* d = 0)
{}

/*?
Change the string of the message and set it to \var{d}.
The string is not copied.
?*/
void
UchStringMessage :: SetData (char* d)
{}

#endif /* DOC */