00001 #ifndef AMSPROCESS_HH 00002 #define AMSPROCESS_HH 00003 00004 // Copyright (c) 2002-2005 The University of Cincinnati. All rights 00005 // reserved. 00006 00007 // You may modify, distribute, and use the software contained in this 00008 // package under the terms of the "GNU LIBRARY GENERAL PUBLIC LICENSE" 00009 // version 2, June 1991. A copy of this license agreement can be found in 00010 // the file "LGPL", distributed with this archive. 00011 00012 // Authors: Sameer Kher kherss@ececs.uc.edu 00013 // Shriram Subramanian subramsi@ececs.uc.edu 00014 00015 #include <iostream> 00016 #include <list> 00017 #include "tyvis/AMSKernel.hh" 00018 00019 using std::cout; 00020 00021 extern int globalobjectid; 00022 template <class type> 00023 class set; 00024 00027 class AMSProcess : public AMSKernel { 00028 00029 public: 00031 AMSProcess(char *); 00032 00034 ~AMSProcess(); 00035 00037 AMSKernel_state *allocateState(); 00038 00041 void initialize(); 00042 00044 void finalize(); 00045 00047 void setup(); 00048 00051 void printFunction(); 00052 00054 void executeProcess(); 00055 00056 protected: 00057 00058 private: 00059 00061 char *name; 00062 00064 ofstream outputfile ; 00065 00066 }; 00067 00068 #endif
1.4.6