Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

rovsoft::messages::UByteTypeMessage Class Reference

UByteType message class, with a value part of type unsigned char. More...

#include <UByteTypeMessage.hh>

Inheritance diagram for rovsoft::messages::UByteTypeMessage:

Inheritance graph
[legend]
Collaboration diagram for rovsoft::messages::UByteTypeMessage:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UByteTypeMessage (unsigned short sa, unsigned short da, unsigned char val)
 Builds a byte type message, with the value specified by val:.
 UByteTypeMessage (unsigned short sa, unsigned short da, io::IStreamer &in) throw (io::IOExceptionPtr)
 Builds a Byte type message, that reads its value from the stream spefified with in.
virtual void write (io::OStreamer &out) const throw (io::IOExceptionPtr)
 Writes this message to a stream.
virtual int getSize () const
 Returns the size of the message = the number of bytes that would be written by write.
const unsigned char getValue () const
 Get the value of this message.

Protected Attributes

unsigned char value

Detailed Description

UByteType message class, with a value part of type unsigned char.

This class is currently unused!


Constructor & Destructor Documentation

rovsoft::messages::UByteTypeMessage::UByteTypeMessage unsigned short  sa,
unsigned short  da,
unsigned char  val
[inline]
 

Builds a byte type message, with the value specified by val:.

Parameters:
val The value of this message.

rovsoft::messages::UByteTypeMessage::UByteTypeMessage unsigned short  sa,
unsigned short  da,
io::IStreamer in
throw (io::IOExceptionPtr) [inline]
 

Builds a Byte type message, that reads its value from the stream spefified with in.

Parameters:
in the used input stream.


Member Function Documentation

int rovsoft::messages::UByteTypeMessage::getSize  )  const [virtual]
 

Returns the size of the message = the number of bytes that would be written by write.

(SA and DA are not included!)

Reimplemented from rovsoft::messages::Message.

Here is the call graph for this function:

const unsigned char rovsoft::messages::UByteTypeMessage::getValue  )  const [inline]
 

Get the value of this message.

void rovsoft::messages::UByteTypeMessage::write io::OStreamer out  )  const throw (io::IOExceptionPtr) [virtual]
 

Writes this message to a stream.

SA and DA are not written!!

Reimplemented from rovsoft::messages::Message.

Here is the call graph for this function:


Member Data Documentation

unsigned char rovsoft::messages::UByteTypeMessage::value [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue May 31 14:20:18 2005 for Rovsoft by  doxygen 1.4.3