#include <TwoStateTool.h>
Inheritance diagram for OSCAR::TwoStateTool:

Public Methods | |
| TwoStateTool (const String &name=String(), OSCARError &err=DUMMY_ERROR(noError)) | |
| TwoStateTool (const Vector3D &toolPoint, const String &name=String(), OSCARError &err=DUMMY_ERROR(noError)) | |
| TwoStateTool (const Xform &toolFrame, const String &name=String(), OSCARError &err=DUMMY_ERROR(noError)) | |
| TwoStateTool (const TwoStateTool &TwoStateTool) | |
| TwoStateTool & | operator= (const TwoStateTool &) |
| virtual | ~TwoStateTool () |
| virtual bool | Forward () |
| virtual bool | Off ()=0 |
|
||||||||||||
|
Constructor for TwoStateTool Use this to construct a TwoStateTool object in which no tool frame is specified. The default call mode specified here is Block.
|
|
||||||||||||||||
|
Constructor for TwoStateTool Use this to construct a TwoStateTool object by specifying a tool frame for the tool.
|
|
||||||||||||||||
|
Constructor for TwoStateTool Use this to construct a TwoStateTool object by specifying a tool frame for the tool.
|
|
|
|
|
|
|
|
|
Method to turn tool on in the forward direction Call to this method should return immediately. Override this method in derived classes. For this class, all this method does is to check whether Initialize() has been called. As such, derived classes should call TwoStateTool::Forward() and check its return value before proceeding.
Reimplemented in OSCAR::Drill, OSCAR::Saw, and OSCAR::SprayGun. |
|
|
Method to turn tool Off() Call to this method should return immediately. Override this method in derived classes. For this class, all this method does is to check whether Initialize() has been called. As such, derived classes should call TwoStateTool::Off() and check its return value before proceeding.
Implemented in OSCAR::Drill, OSCAR::Saw, and OSCAR::SprayGun. |
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |