FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
CTCLStdioCommander.h
1 #ifndef CTCLSTDIOCOMMANDER_H
2 #define CTCLSTDIOCOMMANDER_H
3 
4 /*
5  This software is Copyright by the Board of Trustees of Michigan
6  State University (c) Copyright 2005.
7 
8  You may use this software under the terms of the GNU public license
9  (GPL). The terms of this license are described at:
10 
11  http://www.gnu.org/licenses/gpl.txt
12 
13  Author:
14  Ron Fox
15  NSCL
16  Michigan State University
17  East Lansing, MI 48824-1321
18 */
19 
20 #include <CTCLChannelCommander.h>
21 #include <string>
22 #include <tcl.h>
23 
24 // forward class defs:
25 
26 class CTCLInterpreter;
27 
28 
41 {
42  // Data:
43 private:
44  Tcl_Channel m_stdOut; // Prompts go here.
45 
46  // Canonicals:
47 
48 public:
50  virtual ~CTCLStdioCommander();
51 
52 private:
54  CTCLStdioCommander& operator=(const CTCLStdioCommander&);
55  int operator==(const CTCLStdioCommander&) const;
56  int operator!=(const CTCLStdioCommander&) const;
57 
58  // overrides:
59 
60  virtual void sendPrompt(std::string prompt);
61  virtual void returnResult();
62 };
63 
64 #endif
Definition: CTCLStdioCommander.h:40
Definition: CTCLChannelCommander.h:39
Definition: TCLInterpreter.h:59
CTCLStdioCommander(CTCLInterpreter *pInterp)
Definition: CTCLStdioCommander.cpp:37
virtual ~CTCLStdioCommander()
Definition: CTCLStdioCommander.cpp:48