Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

nci/suif/suif2b/suifbrowser/viewers/prof_viewer.h

Go to the documentation of this file.
00001 /*--------------------------------------------------------------------
00002  * prof_viewer.h
00003  *
00004  */
00005 
00006 #ifndef PROF_VIEWER_H
00007 #define PROF_VIEWER_H
00008 
00009 //@@@ #include "profile.h"
00010 #include "base_viewer.h"
00011 
00012 /*
00013  * profile viewer
00014  */
00015 class prof_viewer : public text_base_viewer {
00016   typedef text_base_viewer inherited;
00017 
00018   //@@@ profile_table *p_table;
00019 
00020   virtual void init();
00021   virtual void print_profile();
00022   virtual void show( vnode* vn );
00023   virtual void clear();
00024 
00025   static void do_open_runtime_file( event& e, prof_viewer* viewer );
00026 
00027 public:
00028   prof_viewer();
00029   virtual ~prof_viewer();
00030 
00031   virtual void create_window();
00032 
00033   virtual char* class_name() { return "Profile Viewer"; }
00034   virtual void handle_event(event &e);
00035 
00036   static window *constructor() {
00037     return new prof_viewer;
00038   }
00039 };
00040 
00041 #endif

Generated at Mon Jul 31 13:42:31 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000