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

rovsoft::messages::NConfirmationMessage Class Reference

NConfirmation class for messages with a confirmation code. More...

#include <NConfirmationMessage.hh>

Inheritance diagram for rovsoft::messages::NConfirmationMessage:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NConfirmationMessage (unsigned short sa, unsigned short da, unsigned long num, unsigned char val)
 Constructs a new confirmation message.
 NConfirmationMessage (unsigned short sa, unsigned short da, io::IStreamer &in) throw (io::IOExceptionPtr)
 Constructs a new confirmation message, by reading its value from the stream in.

Static Public Attributes

static const unsigned char success = 0
 Possible values:.
static const unsigned char noSuchDeviceError = 1
static const unsigned char devicePoweredDownError = 2
static const unsigned char generalIOError = 3
static const unsigned char targetUnreachableError = 4

Detailed Description

NConfirmation class for messages with a confirmation code.


Constructor & Destructor Documentation

rovsoft::messages::NConfirmationMessage::NConfirmationMessage unsigned short  sa,
unsigned short  da,
unsigned long  num,
unsigned char  val
[inline]
 

Constructs a new confirmation message.

Parameters:
sa The sender of this message.
da The receiver of this message.
num The number of the command being confirmed.
val the value of this message.

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

Constructs a new confirmation message, by reading its value from the stream in.

Parameters:
sa The sender of this message.
da The receiver of this message.
in The stream from which this message should be build.


Member Data Documentation

const unsigned char rovsoft::messages::NConfirmationMessage::devicePoweredDownError = 2 [static]
 

const unsigned char rovsoft::messages::NConfirmationMessage::generalIOError = 3 [static]
 

const unsigned char rovsoft::messages::NConfirmationMessage::noSuchDeviceError = 1 [static]
 

const unsigned char rovsoft::messages::NConfirmationMessage::success = 0 [static]
 

Possible values:.

const unsigned char rovsoft::messages::NConfirmationMessage::targetUnreachableError = 4 [static]
 


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