00001 #ifndef METHOD_H_INCLUDED_ 00002 #define METHOD_H_INCLUDED_ 00003 00004 #include <vector> 00005 00006 #include "rose.h" 00007 #include "function.h" 00008 #include "event.h" 00009 #include "port.h" 00010 00011 namespace risc { 00012 00013 class Method: public Function { 00014 00015 public: 00016 00020 explicit Method(SgFunctionDefinition *ast_node); 00021 00022 EventVector static_event_sensitivity_list_; 00023 PortVector static_port_sensitivity_list_; 00024 00028 void print_event_list(); 00029 00030 private: 00034 Method(const Method &m); 00035 }; 00036 00037 typedef std::vector<Method*> MethodVector; 00038 typedef std::vector<Method*>::iterator MethodVectorIter; 00039 typedef std::vector<Method*>::const_iterator MethodVectorConstIter; 00040 00041 }; // end namespace risc 00042 00043 #endif /* METHOD_H_INCLUDED_ */ 00044 00045 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */