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

rovsoft::messages::TsUByteTypeMessage Class Reference

A class that represents a time stamped message containing a single unsigned char value. More...

#include <TsUByteTypeMessage.hh>

Inheritance diagram for rovsoft::messages::TsUByteTypeMessage:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TsUByteTypeMessage (unsigned short sa, unsigned short da, unsigned char val)
 Constructs a message with a specified unsigned char type value.
 TsUByteTypeMessage (unsigned short sa, unsigned short da, io::IStreamer &input) throw (io::IOExceptionPtr)
 Constructs a message from the input stream input.
unsigned char getValue () const
 Gets the value of this 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.

Protected Attributes

unsigned char value

Detailed Description

A class that represents a time stamped message containing a single unsigned char value.


Constructor & Destructor Documentation

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

Constructs a message with a specified unsigned char type value.

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

Constructs a message from the input stream input.


Member Function Documentation

int rovsoft::messages::TsUByteTypeMessage::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::TimeStampedMessage.

Here is the call graph for this function:

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

Gets the value of this message.

Returns:
The value of this message.

void rovsoft::messages::TsUByteTypeMessage::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::TimeStampedMessage.

Here is the call graph for this function:


Member Data Documentation

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


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