1 #ifndef DYNAMIC_INTERNAL_REPRESENTATION_H_INCLUDED_
2 #define DYNAMIC_INTERNAL_REPRESENTATION_H_INCLUDED_
34 void print(
unsigned int indent);
43 void print(
unsigned int indent);
51 void print(
unsigned int indent);
60 void print(
unsigned int indent);
67 void print(
unsigned int indent);
74 void print(
unsigned int indent);
81 void print(
unsigned int indent);
90 void print(
unsigned int indent);
100 void print(
unsigned int indent);
108 void print(
unsigned int indent);
118 void print(
unsigned int indent);
126 void print(
unsigned int indent);
173 std::string host_module_type_name,
174 int host_module_instance_id,
175 std::string reference_name,
176 int &instance_counter);
192 int *address_of_variable,
193 std::string module_name,
202 std::pair<DynamicModule*, std::string>
208 std::string type_name,
209 std::list<DynamicModule*> &modules);
225 const std::string &name,
int counter
counter to get a unique variable name with number
Definition: ooo_instrumentation.cpp:33
std::list< DynamicPointer * > pointers_
Definition: dynamic_internal_representation.h:137
virtual void class_name()
Definition: dynamic_internal_representation.cpp:46
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:166
Definition: dynamic_internal_representation.h:47
Definition: dynamic_internal_representation.h:56
Definition: dynamic_internal_representation.h:21
Definition: dynamic_internal_representation.h:129
std::string class_name_
Definition: dynamic_internal_representation.h:95
DynamicObject * find_channel(DynamicModule *root, int *address_of_channel)
Finds a channel instance in the dynamic tree via the address.
Definition: dynamic_internal_representation.cpp:649
Definition: dynamic_internal_representation.h:70
void get_id(DynamicModule *root, std::string name, int *address, int &counter, bool &found)
Definition: dynamic_internal_representation.cpp:754
Definition: dynamic_internal_representation.h:111
void get_all_components_of_type(DynamicModule *root, std::string type_name, std::list< DynamicModule * > &modules)
Definition: dynamic_internal_representation.cpp:531
virtual void class_name()
Definition: dynamic_internal_representation.cpp:12
virtual void class_name()
Definition: dynamic_internal_representation.cpp:74
virtual void class_name()
Definition: dynamic_internal_representation.cpp:196
Definition: dynamic_internal_representation.h:93
std::list< DynamicEvent * > events_
Definition: dynamic_internal_representation.h:142
virtual void class_name()
Definition: dynamic_internal_representation.cpp:61
std::set< risc::Socket * > get_mapped_target_sockets(std::string init_socket_name, std::string host_module_name)
Definition: dynamic_internal_representation.cpp:882
Definition: dynamic_internal_representation.h:103
DynamicObject * get_dynamic_object_of_variable(DynamicModule *root, std::string host_module_type_name, int host_module_instance_id, std::string reference_name, int &instance_counter)
This function searches for the mapped variable address of a reference in a given module with a specif...
Definition: dynamic_internal_representation.cpp:295
std::string name_
Definition: dynamic_internal_representation.h:15
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:105
void print_tree(unsigned int indent=0)
Definition: dynamic_internal_representation.cpp:201
std::list< int * > events_
Definition: dynamic_internal_representation.h:25
int * event_
Definition: dynamic_internal_representation.h:114
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:22
Definition: dynamic_internal_representation.h:30
std::list< DynamicTargetSocket * > target_sockets_
Definition: dynamic_internal_representation.h:136
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:179
std::list< DynamicModule * > sub_modules_
Definition: dynamic_internal_representation.h:133
virtual void class_name()
Definition: dynamic_internal_representation.cpp:113
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:118
std::list< DynamicEventAndList * > event_and_lists_
Definition: dynamic_internal_representation.h:143
std::list< DynamicEventOrList * > event_or_lists_
Definition: dynamic_internal_representation.h:144
std::string class_name_
Definition: dynamic_internal_representation.h:86
virtual void class_name()
Definition: dynamic_internal_representation.cpp:17
DynamicModule * get_module_instance(DynamicModule *root, const std::string &name, int instance_id, int &counter)
Definition: dynamic_internal_representation.cpp:694
Definition: dynamic_internal_representation.h:12
int * event_
Definition: dynamic_internal_representation.h:96
virtual void class_name()
Definition: dynamic_internal_representation.cpp:32
Definition: dynamic_internal_representation.h:121
virtual void class_name()
Definition: dynamic_internal_representation.cpp:139
Definition: dynamic_internal_representation.h:77
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:131
virtual void class_name()
Definition: dynamic_internal_representation.cpp:174
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:144
Definition: dynamic_internal_representation.h:63
std::list< DynamicVariable * > variables_
Definition: dynamic_internal_representation.h:139
virtual void class_name()
Definition: dynamic_internal_representation.cpp:161
virtual void class_name()
Definition: dynamic_internal_representation.cpp:100
std::pair< DynamicModule *, std::string > get_host_module_and_name_of_variable(DynamicModule *root, int *variable)
This function searchs the the variable address 'variable' in the tree. After finding the variable add...
Definition: dynamic_internal_representation.cpp:465
DynamicModule * get_host_module_of_member(DynamicModule *root, int *address_of_variable, int var_type, std::string member_name)
Definition: dynamic_internal_representation.cpp:564
std::string class_name_
Definition: dynamic_internal_representation.h:113
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:66
std::list< DynamicInitSocket * > init_sockets_
Definition: dynamic_internal_representation.h:135
Definition: dynamic_internal_representation.h:39
std::list< DynamicReference * > references_
Definition: dynamic_internal_representation.h:138
DynamicInitSocket * get_initiator_socket(DynamicModule *root, int *address_of_socket)
Definition: dynamic_internal_representation.cpp:853
virtual void class_name()
Definition: dynamic_internal_representation.cpp:126
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:37
std::list< DynamicHierarchicalChannel * > sub_hierarchical_channels_
Definition: dynamic_internal_representation.h:141
std::list< DynamicPort * > ports_
Definition: dynamic_internal_representation.h:134
virtual void class_name()=0
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:79
virtual void class_name()
Definition: dynamic_internal_representation.cpp:87
bool get_instance_id_of_hosting_module(DynamicModule *root, int *address_of_variable, std::string module_name, int &instance_counter)
This function determines to which (instance of a given) module (host module type name) a variable bel...
Definition: dynamic_internal_representation.cpp:391
int get_mapped_channel_id_of_port(DynamicPort *port)
Definition: dynamic_internal_representation.cpp:734
Definition: dynamic_internal_representation.h:84
Definition: dynamic_internal_representation.h:151
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:51
DynamicTargetSocket * get_target_socket(DynamicModule *root, int *address_of_socket)
Definition: dynamic_internal_representation.cpp:825
std::string class_name_
Definition: dynamic_internal_representation.h:24
std::set< risc::Socket * > get_mapped_initiator_sockets(std::string target_socket_name, std::string host_module_name)
Definition: dynamic_internal_representation.cpp:961
virtual void class_name()
Definition: dynamic_internal_representation.cpp:246
std::list< DynamicPrimChannel * > sub_channels_
Definition: dynamic_internal_representation.h:140
void print(unsigned int indent)
Definition: dynamic_internal_representation.cpp:92
int * address_
Definition: dynamic_internal_representation.h:16
void print_tree(unsigned int indent=0)
Definition: dynamic_internal_representation.cpp:251