Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Drill.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 #ifndef Drill_h
00058 #define Drill_h
00059 
00060 
00061 #include "Device/ThreeStateTool.h"
00062 #include "IODevices/DIO.h"
00063 
00065 namespace OSCAR {
00066 
00078 class Drill : public ThreeStateTool
00079 {
00080 public:
00093   Drill(unsigned int lineNo, DIO& dio, OSCARError& err = DUMMY_ERROR(noError));
00094 
00100   bool Initialize();
00101 
00105   virtual ~Drill() {}
00106 
00112   bool  Forward();
00113 
00119   bool  Reverse();
00120 
00126   bool  Off();
00127 
00128 
00129 private:
00130   DIO* dio;
00131   unsigned int lineNo;
00132   Drill(const Drill&);
00133   Drill& operator=(const Drill&);
00134 };
00135 
00136 }
00137 
00138 #endif
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations