WarningWrongFrameDataType Class Reference
[Utilities]

thrown by AbstractModule::assertFramedataType More...

#include <WarningWrongFrameDataType.h>

Inheritance diagram for WarningWrongFrameDataType:

Inheritance graph
[legend]
Collaboration diagram for WarningWrongFrameDataType:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 WarningWrongFrameDataType (const char *where, const char *exp, const char *got)
virtual const char * what () const throw ()
const char * where () const
const char * expected () const
const char * got () const


Detailed Description

thrown by AbstractModule::assertFramedataType

Warning thrown when received frame data type does not match the expected one

Definition at line 13 of file WarningWrongFrameDataType.h.


Constructor & Destructor Documentation

WarningWrongFrameDataType::WarningWrongFrameDataType ( const char *  where,
const char *  exp,
const char *  got 
) [inline]

Sets the warning message

Parameters:
where place where exception was risen (ie: function name)
exp expected frame type
got frame type received

Definition at line 22 of file WarningWrongFrameDataType.h.


Member Function Documentation

const char* WarningWrongFrameDataType::expected (  )  const [inline]

Returns:
what frame type was expected

Definition at line 34 of file WarningWrongFrameDataType.h.

const char* WarningWrongFrameDataType::got (  )  const [inline]

Returns:
what frame type was received

Definition at line 36 of file WarningWrongFrameDataType.h.

virtual const char* WarningWrongFrameDataType::what (  )  const throw () [inline, virtual]

Returns:
the error message

Reimplemented from Exception.

Definition at line 25 of file WarningWrongFrameDataType.h.

const char* WarningWrongFrameDataType::where (  )  const [inline]

Returns:
where the error happened

Definition at line 32 of file WarningWrongFrameDataType.h.


The documentation for this class was generated from the following file:

Generated on Sun Nov 30 23:45:40 2008 for Modular Motion Processor by  doxygen 1.5.7.1