Go to the documentation of this file.00001 #ifndef HIERARCHICAL_CHANNEL_INSTANCE_H_INCLUDED_
00002 #define HIERARCHICAL_CHANNEL_INSTANCE_H_INCLUDED_
00003
00004 #include <vector>
00005
00006 #include "rose.h"
00007 #include "channel_instance.h"
00008
00009
00010 namespace risc {
00011
00012 class HierarchicalChannelDefinition;
00013
00014 class HierarchicalChannelInstance: public ChannelInstance {
00015
00016 public:
00022 explicit HierarchicalChannelInstance(SgVariableDefinition *ast_node,
00023 HierarchicalChannelDefinition *ir_def);
00024
00025
00026 HierarchicalChannelDefinition* definition_;
00027 private:
00028
00032 HierarchicalChannelInstance(const HierarchicalChannelInstance &hci);
00033 };
00034
00035 typedef std::vector<HierarchicalChannelInstance*> HierarchicalChannelInstanceVector;
00036 typedef std::vector<HierarchicalChannelInstance*>::iterator HierarchicalChannelInstanceVectorIter;
00037 typedef std::vector<HierarchicalChannelInstance*>::const_iterator HierarchicalChannelInstanceVectorConstIter;
00038
00039 };
00040
00041 #endif
00042
00043