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

Public Methods | |
| Drill (unsigned int lineNo, DIO &dio, OSCARError &err=DUMMY_ERROR(noError)) | |
| bool | Initialize () |
| virtual | ~Drill () |
| bool | Forward () |
| bool | Reverse () |
| bool | Off () |
Private Methods | |
| Drill (const Drill &) | |
| Drill & | operator= (const Drill &) |
Private Attributes | |
| DIO * | dio |
| unsigned int | lineNo |
|
||||||||||||||||
|
Constructor for Drill. This class uses abstract class DIO for digitial IO. Drivers for specific instantiation of DIO shouldb be installed on your system for this class to work.
|
|
|
Destructor. |
|
|
|
|
|
This will turn on the drill in the forward direction.
Reimplemented from OSCAR::TwoStateTool. |
|
|
Initializes the Drill. A call to this method is required before On() and Off() can be called.
Reimplemented from OSCAR::Device. |
|
|
This will turn off the drill.
Implements OSCAR::TwoStateTool. |
|
|
|
|
|
This will turn on the drill in the reverse direction.
Reimplemented from OSCAR::ThreeStateTool. |
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |