From ba066c34dde204aa192d03a23a81356374d93731 Mon Sep 17 00:00:00 2001 From: chatty Date: Wed, 7 Apr 1993 11:50:31 +0000 Subject: Initial revision --- comm/OLD/SimpleMessage.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 comm/OLD/SimpleMessage.cc (limited to 'comm/OLD/SimpleMessage.cc') 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 */ + -- cgit v1.1