CommandEcho.h
1 
9 #ifndef COMMANDECHO_H
10 #define COMMANDECHO_H
11 
12 //Includes
13 #include <TObject.h>
14 #include "AnitaConventions.h"
15 #include "simpleStructs.h"
16 
17 
19 
23 class CommandEcho: public TObject
24 {
25  public:
26  CommandEcho();
27  ~CommandEcho();
28 
29  CommandEcho(Int_t trun, Int_t trealTime, CommandEcho_t *echoPtr);
30 
31  Int_t run;
32  UInt_t realTime;
33  UInt_t payloadTime;
34  UShort_t goodFlag;
35  UShort_t numCmdBytes;
36  UChar_t cmd[MAX_CMD_LENGTH];
37  Int_t fromPayload;
38 
39 
40  const char * getCommandAsString() ;
41 
42  ClassDef(CommandEcho,11);
43 };
44 
45 
46 #endif //COMMANDECHO_H
UChar_t cmd[20]
List of command bytes.
Definition: CommandEcho.h:36
~CommandEcho()
Destructor.
Definition: CommandEcho.cxx:23
UShort_t numCmdBytes
Number of command bytes.
Definition: CommandEcho.h:35
CommandEcho()
Defualt constructor.
Definition: CommandEcho.cxx:18
CommandEcho – The command echo data.
Definition: CommandEcho.h:23
UShort_t goodFlag
Command flag value (was the command successful?)
Definition: CommandEcho.h:34
Int_t fromPayload
Was the command auto-generated or sent from the ground?
Definition: CommandEcho.h:37
Command Echo – Telemetered.
UInt_t realTime
unixTime
Definition: CommandEcho.h:32
UInt_t payloadTime
unixTime
Definition: CommandEcho.h:33
Int_t run
Assigned offline.
Definition: CommandEcho.h:31