Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

src/aclvis/poomastub.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /***************************************************************************
00003  *
00004  * The IPPL Framework
00005  * 
00006  *
00007  * Visit http://people.web.psi.ch/adelmann/ for more details
00008  *
00009  ***************************************************************************/
00010 
00011 #ifndef ACLVIS_IPPL_STUB_H
00012 #define ACLVIS_IPPL_STUB_H
00013 
00014 #define NONE 0
00015 #define ACLVIS 1
00016 
00017 #include "aclvis/aclvis.h"
00018 
00019 #ifdef IPPL_USE_STANDARD_HEADERS
00020 #include <iostream>
00021 using namespace std;
00022 #else
00023 #include <iostream.h>
00024 #endif
00025 
00026 #include <vtk.h>
00027 #include <Xm/Xm.h>
00028 
00029 class ConnectStub {
00030 public:
00031   ConnectStub(int);
00032   int GetType();
00033   void SetType(int);
00034   void *GetConnection();
00035   void SetConnection(void *);
00036 private:
00037   int type;
00038   void *connection;
00039 };
00040 
00041 class FieldStub {
00042 public:
00043   void connect(ConnectStub *, char *, ConnectDataType);
00044   void update(float);
00045 //  interact();
00046   void interact(int);
00047   void disconnect();
00048 private:
00049   void *readtool;
00050   ConnectDataType connectDataType;
00051   ConnectStub *connect_stub;
00052 };
00053 
00054 #endif // ACLVIS_IPPL_STUB_H
00055 
00056 /***************************************************************************
00057  * $RCSfile: ipplstub.h,v $   $Author: adelmann $
00058  * $Revision: 1.1.1.1 $   $Date: 2003/01/23 07:40:34 $
00059  * IPPL_VERSION_ID: $Id: ipplstub.h,v 1.1.1.1 2003/01/23 07:40:34 adelmann Exp $ 
00060  ***************************************************************************/

Generated on Fri Nov 2 01:25:54 2007 for IPPL by doxygen 1.3.5