| Line |  | 
|---|
| 1 | #ifndef COSY_MDriveCom | 
|---|
| 2 | #define COSY_MDriveCom | 
|---|
| 3 |  | 
|---|
| 4 | #ifndef COSY_MCeCoCom | 
|---|
| 5 | #include "MCeCoCom.h" | 
|---|
| 6 | #endif | 
|---|
| 7 |  | 
|---|
| 8 | class RaDec; | 
|---|
| 9 | class ZdAz; | 
|---|
| 10 |  | 
|---|
| 11 | class MDriveCom : public MCeCoCom | 
|---|
| 12 | { | 
|---|
| 13 | private: | 
|---|
| 14 | bool InterpreteCmd(TString cmd, TString str); | 
|---|
| 15 | void Print(TString &str, Double_t deg) const; | 
|---|
| 16 |  | 
|---|
| 17 | public: | 
|---|
| 18 | enum | 
|---|
| 19 | { | 
|---|
| 20 | kError    = 0x01, | 
|---|
| 21 | kMoving   = 0x02, | 
|---|
| 22 | kTracking = 0x04, | 
|---|
| 23 | kStopping = 0x08, | 
|---|
| 24 | kStopped  = 0x10 | 
|---|
| 25 | }; | 
|---|
| 26 |  | 
|---|
| 27 | MDriveCom(MLog &out=gLog) : MCeCoCom("DRIVE-REPORT", out) {} | 
|---|
| 28 |  | 
|---|
| 29 | bool SendReport(UInt_t stat, RaDec rd, ZdAz so, ZdAz is, ZdAz er); | 
|---|
| 30 | }; | 
|---|
| 31 |  | 
|---|
| 32 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.