summaryrefslogtreecommitdiff
path: root/comm/OLD/SimpleMessage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'comm/OLD/SimpleMessage.cc')
-rw-r--r--comm/OLD/SimpleMessage.cc47
1 files changed, 47 insertions, 0 deletions
diff --git a/comm/OLD/SimpleMessage.cc b/comm/OLD/SimpleMessage.cc
new file mode 100644
index 0000000..1346d22
--- /dev/null
+++ b/comm/OLD/SimpleMessage.cc
@@ -0,0 +1,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 */
+