All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
primitive_channel.h
Go to the documentation of this file.
1 #ifndef PRIMITIVE_CHANNEL_H_INCLUDED_
2 #define PRIMITIVE_CHANNEL_H_INCLUDED_
3 
4 #include <vector>
5 
6 #include "rose.h"
7 
8 #include "class.h"
9 #include "interface.h"
10 
11 namespace risc {
12 
13 class PrimitiveChannelInstance;
14 
15 class PrimitiveChannel: public Class {
16 
17 public:
18 
22  explicit PrimitiveChannel(SgClassDefinition *ast_node);
23 
27  std::list<Interface*> get_interfaces();
28 
32  std::list<PrimitiveChannelInstance*> instances_;
33 
34 private:
35 
40 };
41 
42 typedef std::vector<PrimitiveChannel*>
44 typedef std::vector<PrimitiveChannel*>::iterator
46 typedef std::vector<PrimitiveChannel*>::const_iterator
48 
49 } // end namespace risc
50 
51 #endif /* PRIMITIVE_CHANNEL_H_INCLUDED_ */
52 
53 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
std::vector< PrimitiveChannel * > PrimitiveChannelVector
Definition: design.h:44
std::vector< PrimitiveChannel * >::const_iterator PrimitiveChannelVectorConstIter
Definition: primitive_channel.h:47
Definition: class.h:53
PrimitiveChannel(SgClassDefinition *ast_node)
Default constructor.
Definition: primitive_channel.cpp:6
std::list< PrimitiveChannelInstance * > instances_
Definition: primitive_channel.h:32
Definition: primitive_channel.h:15
std::vector< PrimitiveChannel * >::iterator PrimitiveChannelVectorIter
Definition: primitive_channel.h:45
std::list< Interface * > get_interfaces()
Returns all implemented interfaces.
Definition: primitive_channel.cpp:10