NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Files Functions Variables Macros Pages
CMyEndCommand.h
1 #ifndef __MYEND_H
2 #define __MYEND_H
3 
4 #include <CEndCommand.h>
5 
6 class CTCLInterpreter;
7 class CTCLObject;
8 class CMyEventSegment;
9 
10 class CMyEndCommand : public CEndCommand
11 {
12 
13 private:
14 
15 public:
16  // Constructors, destructors and other cannonical operations:
17 
18  CMyEndCommand(CTCLInterpreter& interp, CMyEventSegment *myevseg);
19  ~CMyEndCommand ();
20 
21 private:
22  CMyEndCommand(const CMyEndCommand& rhs);
23  CMyEndCommand& operator=(const CMyEndCommand &rhs);
24  int operator==(const CMyEndCommand& rhs) const;
25  int operator!=(const CMyEndCommand& rhs) const;
26 
27  CMyEventSegment *myeventsegment;
28  int NumModules;
29 
30  // Class operations:
31 public:
32  virtual int ExecutePreFunction();
33  virtual int ExecutePostFunction();
34  virtual int operator()(CTCLInterpreter& interp,
35  std::vector<CTCLObject>& objv);
36 
37 };
38 #endif