FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
TCLObjectPackage.h
1 /*
2  This software is Copyright by the Board of Trustees of Michigan
3  State University (c) Copyright 2005.
4 
5  You may use this software under the terms of the GNU public license
6  (GPL). The terms of this license are described at:
7 
8  http://www.gnu.org/licenses/gpl.txt
9 
10  Author:
11  Ron Fox
12  NSCL
13  Michigan State University
14  East Lansing, MI 48824-1321
15 */
16 #ifndef TCLOBJECTPACKAGE_H
17 #define TCLOBJECTPACKAGE_H
18 
19 // includes:
20 
21 #include <list>
22 
23 
24 // forward defs
25 
27 
37 {
38 public:
39  typedef std::list<CTCLPackagedObjectProcessor*> Commands;
40  typedef Commands::iterator CommandIterator;
41 private:
42  Commands m_commands;
43 
44  // Common services for all packages:
45 
46 public:
47  void addCommand(CTCLPackagedObjectProcessor* processor);
48  CommandIterator begin();
49  CommandIterator end();
50 
51 
52 
53 };
54 
55 
56 #endif
CommandIterator end()
Definition: TCLObjectPackage.cpp:54
Definition: TCLPackagedObjectProcessor.h:42
CommandIterator begin()
Definition: TCLObjectPackage.cpp:42
void addCommand(CTCLPackagedObjectProcessor *processor)
Definition: TCLObjectPackage.cpp:30
Definition: TCLObjectPackage.h:36