All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hierarchical_channel.h
Go to the documentation of this file.
1 #ifndef HIERARCHICAL_CHANNEL_H_INCLUDED_
2 #define HIERARCHICAL_CHANNEL_H_INCLUDED_
3 
4 #include <vector>
5 
6 #include "rose.h"
7 
8 #include "module.h"
9 #include "interface.h"
10 
11 namespace risc {
12 
13 class HierarchicalChannel: public Module {
14 
15 public:
16 
20  explicit HierarchicalChannel(SgClassDefinition *ast_node);
21 
23 
29 
33  std::list<Interface*> get_interfaces();
34 
35 private:
40 };
41 
42 typedef std::vector<HierarchicalChannel*>
44 typedef std::vector<HierarchicalChannel*>::iterator
46 typedef std::vector<HierarchicalChannel*>::const_iterator
48 
49 }; // end of namespace risc
50 
51 #endif /* HIERARCHICAL_CHANNEL_H_INCLUDED_ */
52 
53 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
Definition: hierarchical_channel.h:13
int instance_counter_
This variable counts how many instances of this given type exsist in the desgin.
Definition: hierarchical_channel.h:28
void print_hierarchical_channel_definition()
Definition: hierarchical_channel.cpp:12
std::list< Interface * > get_interfaces()
Returns all implemented interfaces.
Definition: hierarchical_channel.cpp:17
std::vector< HierarchicalChannel * > HierarchicalChannelVector
Definition: design.h:38
This class represents instances.
Definition: module.h:49
HierarchicalChannel(SgClassDefinition *ast_node)
Default constructor.
Definition: hierarchical_channel.cpp:6
std::vector< HierarchicalChannel * >::iterator HierarchicalChannelVectorIter
Definition: hierarchical_channel.h:45
std::vector< HierarchicalChannel * >::const_iterator HierarchicalChannelVectorConstIter
Definition: hierarchical_channel.h:47