- Main Page
- Related Pages
- Classes
- Files

# MPQC_Chemistry_MoleculeViewer_Impl.hh

    00001 //
    00002 // File:          MPQC_Chemistry_MoleculeViewer_Impl.hh
    00003 // Symbol:        MPQC.Chemistry_MoleculeViewer-v0.2
    00004 // Symbol Type:   class
    00005 // Babel Version: 0.10.2
    00006 // Description:   Server-side implementation for MPQC.Chemistry_MoleculeViewer
    00007 //
    00008 // WARNING: Automatically generated; only changes within splicers preserved
    00009 //
    00010 // babel-version = 0.10.2
    00011 //
    00012
    00013 #ifndef included_MPQC_Chemistry_MoleculeViewer_Impl_hh
    00014 #define included_MPQC_Chemistry_MoleculeViewer_Impl_hh
    00015
    00016 #ifndef included_sidl_cxx_hh
    00017 #include "sidl_cxx.hh"
    00018 #endif
    00019 #ifndef included_MPQC_Chemistry_MoleculeViewer_IOR_h
    00020 #include "MPQC_Chemistry_MoleculeViewer_IOR.h"
    00021 #endif
    00022 //
    00023 // Includes for all method dependencies.
    00024 //
    00025 #ifndef included_Chemistry_Molecule_hh
    00026 #include "Chemistry_Molecule.hh"
    00027 #endif
    00028 #ifndef included_MPQC_Chemistry_MoleculeViewer_hh
    00029 #include "MPQC_Chemistry_MoleculeViewer.hh"
    00030 #endif
    00031 #ifndef included_gov_cca_CCAException_hh
    00032 #include "gov_cca_CCAException.hh"
    00033 #endif
    00034 #ifndef included_gov_cca_Services_hh
    00035 #include "gov_cca_Services.hh"
    00036 #endif
    00037 #ifndef included_sidl_BaseInterface_hh
    00038 #include "sidl_BaseInterface.hh"
    00039 #endif
    00040 #ifndef included_sidl_ClassInfo_hh
    00041 #include "sidl_ClassInfo.hh"
    00042 #endif
    00043
    00044
    00045 // DO-NOT-DELETE splicer.begin(MPQC.Chemistry_MoleculeViewer._includes)
    00046
    00047 #define USE_SOCKET 1
    00048 #if USE_SOCKET
    00049 #include "socket.h"
    00050 #endif // USE_SOCKET
    00051
    00052 // DO-NOT-DELETE splicer.end(MPQC.Chemistry_MoleculeViewer._includes)
    00053
    00054 namespace MPQC {
    00055
    00059   class Chemistry_MoleculeViewer_impl
    00060   // DO-NOT-DELETE splicer.begin(MPQC.Chemistry_MoleculeViewer._inherits)
    00061
    00072   // Put additional inheritance here...
    00073   // DO-NOT-DELETE splicer.end(MPQC.Chemistry_MoleculeViewer._inherits)
    00074   {
    00075
    00076   private:
    00077     // Pointer back to IOR.
    00078     // Use this to dispatch back through IOR vtable.
    00079     Chemistry_MoleculeViewer self;
    00080
    00081     // DO-NOT-DELETE splicer.begin(MPQC.Chemistry_MoleculeViewer._implementation)
    00082
    00083       gov::cca::Services services_;
    00084       Chemistry::Molecule molecule_;
    00085       int is_updated;
    00086 #if USE_SOCKET
    00087       TCPClientConnection socket_;
    00088 #endif // USE_SOCKET
    00089
    00090     // DO-NOT-DELETE splicer.end(MPQC.Chemistry_MoleculeViewer._implementation)
    00091
    00092   private:
    00093     // private default constructor (required)
    00094     Chemistry_MoleculeViewer_impl()
    00095     {}
    00096
    00097   public:
    00098     // sidl constructor (required)
    00099     // Note: alternate Skel constructor doesn't call addref()
    00100     // (fixes bug #275)
    00101     Chemistry_MoleculeViewer_impl( struct MPQC_Chemistry_MoleculeViewer__object
    00102       * s ) : self(s,true) { _ctor(); }
    00103
    00104     // user defined construction
    00105     void _ctor();
    00106
    00107     // virtual destructor (required)
    00108     virtual ~Chemistry_MoleculeViewer_impl() { _dtor(); }
    00109
    00110     // user defined destruction
    00111     void _dtor();
    00112
    00113     // static class initializer
    00114     static void _load();
    00115
    00116   public:
    00117
    00121     void
    00122     set_molecule (
    00123       /* in */ ::Chemistry::Molecule molecule
    00124     )
    00125     throw ()
    00126     ;
    00127
    00131     void
    00132     set_coor (
    00133       /* in */ const ::std::string& coords
    00134     )
    00135     throw ()
    00136     ;
    00137
    00141     void
    00142     run_gui() throw ()
    00143     ;
    00147     void
    00148     draw() throw ()
    00149     ;
    00150
    00168     void
    00169     setServices (
    00170       /* in */ ::gov::cca::Services services
    00171     )
    00172     throw (
    00173       ::gov::cca::CCAException
    00174     );
    00175
    00176   };  // end class Chemistry_MoleculeViewer_impl
    00177
    00178 } // end namespace MPQC
    00179
    00180 // DO-NOT-DELETE splicer.begin(MPQC.Chemistry_MoleculeViewer._misc)
    00181 // Put miscellaneous things here...
    00182 // DO-NOT-DELETE splicer.end(MPQC.Chemistry_MoleculeViewer._misc)
    00183
    00184 #endif