BHKinematicException Class Reference

Class for BHKinematic-Exceptions. More...

#include <bhkinematic.h>

Collaboration diagram for BHKinematicException:

Collaboration graph
[legend]

Public Types

enum  error {
  EXCP_ANGLE_TO_BIG, EXCP_ANGLE_TO_SMALL, EXCP_POSITION_TO_BIG , EXCP_ANGLE_OUT_OF_RANGE,
  EXCP_POSITION_OUT_OF_RANGE, EXCP_UNDEF
}
 EXCP_ANGLE_OUT_OF_RANGE
 EXCP_ANGLE_TO_BIG
 EXCP_ANGLE_TO_SMALL
 EXCP_POSITION_OUT_OF_RANGE
 EXCP_POSITION_TO_BIG
 EXCP_UNDEF

Public Member Functions

 BHKinematicException (const error e)
bool operator== (error e)
const void show ()

Friends

std::ostream & operator<< (std::ostream &os, const BHKinematicException &e)

Detailed Description

Class for BHKinematic-Exceptions.

An exception of this type is thrown if an operation with the kinematic fails


Member Enumeration Documentation

enum BHKinematicException::error

Defines the different errors.

Enumerator:
EXCP_ANGLE_TO_BIG  Value of angle to big.
EXCP_ANGLE_TO_SMALL  Value of angle to small.
EXCP_POSITION_TO_BIG  Value of positrion to big.
EXCP_ANGLE_OUT_OF_RANGE  Value of position to small. ANglevalue out of range.
EXCP_POSITION_OUT_OF_RANGE  Position value out of range.
EXCP_UNDEF  Undefinded exception


Constructor & Destructor Documentation

BHKinematicException::BHKinematicException ( const error  e  )  [inline]

Constructor

Here is the call graph for this function:


Member Function Documentation

bool BHKinematicException::operator== ( error  e  )  [inline]

Operator for comparing the error. Holds the error.

const void BHKinematicException::show (  )  [inline]

Prints out the error message.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const BHKinematicException e 
) [friend]

Operator for error message output.


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

tams Tim Baier bhandlib v0.25
Generated Wed Aug 16 14:59:53 2006 by doxygen 1.4.7