#include <bhmotor.h>
Inheritance diagram for BHMotorException:


Public Types | |
| enum | error { EXCP_VALUE_OUT_OF_RANGE, EXCP_SPEED_OUT_OF_RANGE, EXCP_POSITION_OUT_OF_RANGE } |
| EXCP_POSITION_OUT_OF_RANGE | |
| EXCP_SPEED_OUT_OF_RANGE | |
| EXCP_VALUE_OUT_OF_RANGE | |
Public Member Functions | |
| BHMotorException (const error e) | |
| bool | operator== (error e) |
| const void | show () |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const BHMotorException &e) |
An exception of this type is thrown if an operation on a motor object fails.
| BHMotorException::BHMotorException | ( | const error | e | ) | [inline] |
Constructor
Here is the call graph for this function:

| bool BHMotorException::operator== | ( | error | e | ) | [inline] |
Operator for comparing the error. Holds the error.
| const void BHMotorException::show | ( | ) | [inline] |
Prints out the error message.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const BHMotorException & | e | |||
| ) | [friend] |
Operator for error message output.
|
|
Generated Wed Aug 16 15:00:01 2006 by
|