Go to the documentation of this file.00001 #ifndef PRIMITIVE_CHANNEL_INSTANCE_H_INCLUDED_
00002 #define PRIMITIVE_CHANNEL_INSTANCE_H_INCLUDED_
00003
00004 #include <vector>
00005
00006 #include "channel_instance.h"
00007 #include "rose.h"
00008
00009 namespace risc {
00010
00011 class PrimitiveChannelDefinition;
00012
00013 class PrimitiveChannelInstance: public ChannelInstance {
00014
00015 public:
00016
00020 explicit PrimitiveChannelInstance(SgVariableDefinition *ast_node,
00021 PrimitiveChannelDefinition *definition);
00022
00023
00028 virtual std::string get_ast_type_name();
00029
00030 PrimitiveChannelDefinition *definition_;
00031 private:
00035 PrimitiveChannelInstance(const PrimitiveChannelInstance &pci);
00036 };
00037
00038 typedef std::vector<PrimitiveChannelInstance*> PrimitiveChannelInstanceVector;
00039 typedef std::vector<PrimitiveChannelInstance*>::iterator PrimitiveChannelInstanceVectorIter;
00040 typedef std::vector<PrimitiveChannelInstance*>::const_iterator PrimitiveChannelInstanceVectorConstIter;
00041
00042 }
00043
00044 #endif
00045
00046