MPQC 2.3.1

- Main Page
- Related Pages
- Classes
- Files

- File List

MPQC_SimpleDriver_Impl.hh
1 //
2 // File: MPQC_SimpleDriver_Impl.hh
3 // Symbol: MPQC.SimpleDriver-v0.2
4 // Symbol Type: class
5 // Babel Version: 0.10.2
6 // Description: Server-side implementation for MPQC.SimpleDriver
7 //
8 // WARNING: Automatically generated; only changes within splicers preserved
9 //
10 // babel-version = 0.10.2
11 //
12
13 #ifndef included_MPQC_SimpleDriver_Impl_hh
14 #define included_MPQC_SimpleDriver_Impl_hh
15
16 #ifndef included_sidl_cxx_hh
17 #include "sidl_cxx.hh"
18 #endif
19 #ifndef included_MPQC_SimpleDriver_IOR_h
20 #include "MPQC_SimpleDriver_IOR.h"
21 #endif
22 //
23 // Includes for all method dependencies.
24 //
25 #ifndef included_MPQC_SimpleDriver_hh
26 #include "MPQC_SimpleDriver.hh"
27 #endif
28 #ifndef included_gov_cca_CCAException_hh
29 #include "gov_cca_CCAException.hh"
30 #endif
31 #ifndef included_gov_cca_Services_hh
32 #include "gov_cca_Services.hh"
33 #endif
34 #ifndef included_sidl_BaseInterface_hh
35 #include "sidl_BaseInterface.hh"
36 #endif
37 #ifndef included_sidl_ClassInfo_hh
38 #include "sidl_ClassInfo.hh"
39 #endif
40
41
42 // DO-NOT-DELETE splicer.begin(MPQC.SimpleDriver._includes)
43 #include "Chemistry_QC_ModelFactory.hh"
44 #include "Chemistry_QC_Model.hh"
45 #include "Chemistry_Molecule.hh"
46 #include "dc/babel/babel-cca/server/ccaffeine_TypeMap.hh"
47 #include "dc/babel/babel-cca/server/ccaffeine_ports_PortTranslator.hh"
48 #include "cca.h"
49 #include "util/IO.h"
50 #include "jc++/jc++.h"
51 #include "jc++/util/jc++util.h"
52 #include "parameters/parametersStar.h"
53 #include "port/portInterfaces.h"
54 #include "port/supportInterfaces.h"
55 // DO-NOT-DELETE splicer.end(MPQC.SimpleDriver._includes)
56
57 namespace MPQC {
58
62 class SimpleDriver_impl
63 // DO-NOT-DELETE splicer.begin(MPQC.SimpleDriver._inherits)
64 // Insert-Code-Here {MPQC.SimpleDriver._inherits} (optional inheritance here)
65 // DO-NOT-DELETE splicer.end(MPQC.SimpleDriver._inherits)
66 {
67
68 private:
69 // Pointer back to IOR.
70 // Use this to dispatch back through IOR vtable.
71 SimpleDriver self;
72
73 // DO-NOT-DELETE splicer.begin(MPQC.SimpleDriver._implementation)
74
75 gov::cca::Services services_;
76 Chemistry::QC::ModelFactory factory_;
77 Chemistry::QC::Model model_;
78 Chemistry::Molecule molecule_;
79 BoolParameter *grad_param_;
80 bool do_grad_;
81
82 ConfigurableParameterPort*
83 setup_parameters(ConfigurableParameterFactory *);
84
85 // DO-NOT-DELETE splicer.end(MPQC.SimpleDriver._implementation)
86
87 private:
88 // private default constructor (required)
89 SimpleDriver_impl()
90 {}
91
92 public:
93 // sidl constructor (required)
94 // Note: alternate Skel constructor doesn't call addref()
95 // (fixes bug #275)
96 SimpleDriver_impl( struct MPQC_SimpleDriver__object * s ) : self(s,
97 true) { _ctor(); }
98
99 // user defined construction
100 void _ctor();
101
102 // virtual destructor (required)
103 virtual ~SimpleDriver_impl() { _dtor(); }
104
105 // user defined destruction
106 void _dtor();
107
108 // static class initializer
109 static void _load();
110
111 public:
112
113
131 void
132 setServices (
133 /* in */ ::gov::cca::Services services
134 )
135 throw (
136 ::gov::cca::CCAException
137 );
138
139
146 int32_t
147 go() throw ()
148 ;
149 }; // end class SimpleDriver_impl
150
151 } // end namespace MPQC
152
153 // DO-NOT-DELETE splicer.begin(MPQC.SimpleDriver._misc)
154 // Insert-Code-Here {MPQC.SimpleDriver._misc} (miscellaneous things)
155 // DO-NOT-DELETE splicer.end(MPQC.SimpleDriver._misc)
156
157 #endif