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

rovsoft::messages::TsFloatTypeMessage Class Reference

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

#include <TsFloatTypeMessage.hh>

Inheritance diagram for rovsoft::messages::TsFloatTypeMessage:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TsFloatTypeMessage (unsigned short sa, unsigned short da, float val)
 Constructs a message with a specified float type value.
 TsFloatTypeMessage (unsigned short sa, unsigned short da, io::IStreamer &input) throw (io::IOExceptionPtr)
 Constructs a message from the input stream input.
float 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

float value

Detailed Description

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


Constructor & Destructor Documentation

rovsoft::messages::TsFloatTypeMessage::TsFloatTypeMessage unsigned short  sa,
unsigned short  da,
float  val
[inline]
 

Constructs a message with a specified float type value.

rovsoft::messages::TsFloatTypeMessage::TsFloatTypeMessage 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::TsFloatTypeMessage::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:

float rovsoft::messages::TsFloatTypeMessage::getValue  )  const [inline]
 

Gets the value of this message.

Returns:
The value of this message.

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

float rovsoft::messages::TsFloatTypeMessage::value [protected]
 


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