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

rovsoft::messages::ByteTypeMessage Class Reference

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

#include <ByteTypeMessage.hh>

Inheritance diagram for rovsoft::messages::ByteTypeMessage:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ByteTypeMessage (unsigned short sa, unsigned short da, char val)
 Builds a byte type message, with the value specified by val:.
 ByteTypeMessage (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.
 ByteTypeMessage (const NByteTypeMessage &orig)
 Construct a byte type message from a numbered byte type message.
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 char getValue () const
 Get the value of this message.

Protected Attributes

char value

Detailed Description

ByteType message class, with a value part of type char.


Constructor & Destructor Documentation

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

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

Parameters:
val The value of this message.

rovsoft::messages::ByteTypeMessage::ByteTypeMessage 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.

rovsoft::messages::ByteTypeMessage::ByteTypeMessage const NByteTypeMessage orig  )  [inline]
 

Construct a byte type message from a numbered byte type message.

Parameters:
orig the original message.


Member Function Documentation

int rovsoft::messages::ByteTypeMessage::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 char rovsoft::messages::ByteTypeMessage::getValue  )  const [inline]
 

Get the value of this message.

void rovsoft::messages::ByteTypeMessage::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

char rovsoft::messages::ByteTypeMessage::value [protected]
 


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