risc::StaticPathInstanceMapper Class Reference

#include <static_path_instance_mapper.h>

Inheritance diagram for risc::StaticPathInstanceMapper:
Inheritance graph
[legend]
Collaboration diagram for risc::StaticPathInstanceMapper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::pair
< InstanceTree, int > 
PathWithID

Public Member Functions

 StaticPathInstanceMapper (InstanceTree root)
void determine_lookup_table (InstanceTree root)
virtual int get_id (InstanceTree tree)
InstanceTree get_instance_tree (int id, std::list< InstanceTree > potential_instances)
virtual bool perform_dynamic_analysis ()
 This functions returns true if the path instance mapper should perform a dynamic analysis.
void print_mapping ()
 The function prints the lookup table in the terminal.
virtual DynamicModuleget_dynamic_tree_root ()
 This function returns the root node of the dynamic analysis CAUTION: This function is only for the DynamicPathInstanceMapper.
virtual int * get_global_variable_address (std::string variable_name)
virtual std::string get_global_variable_name (int *variable_address)

Public Attributes

std::vector< PathWithIDpath_to_id_mapping_
 This is the lookup table from path to instance id.
int max_instances_
 This variable counts what is the max of instances.

Member Typedef Documentation

typedef std::pair<InstanceTree, int> risc::PathInstanceMapper::PathWithID [inherited]

Constructor & Destructor Documentation

risc::StaticPathInstanceMapper::StaticPathInstanceMapper ( InstanceTree  root  ) 

Member Function Documentation

void risc::StaticPathInstanceMapper::determine_lookup_table ( InstanceTree  root  ) 
risc::PathInstanceMapper::get_dynamic_tree_root (  )  [virtual, inherited]

This function returns the root node of the dynamic analysis CAUTION: This function is only for the DynamicPathInstanceMapper.

Reimplemented in risc::DynamicPathInstanceMapper.

int * risc::PathInstanceMapper::get_global_variable_address ( std::string  variable_name  )  [virtual, inherited]
std::string risc::PathInstanceMapper::get_global_variable_name ( int *  variable_address  )  [virtual, inherited]
int risc::StaticPathInstanceMapper::get_id ( InstanceTree  tree  )  [virtual]

Reimplemented from risc::PathInstanceMapper.

risc::InstanceTree risc::StaticPathInstanceMapper::get_instance_tree ( int  id,
std::list< InstanceTree potential_instances 
) [virtual]

Reimplemented from risc::PathInstanceMapper.

risc::StaticPathInstanceMapper::perform_dynamic_analysis (  )  [virtual]

This functions returns true if the path instance mapper should perform a dynamic analysis.

Implements risc::PathInstanceMapper.

risc::PathInstanceMapper::print_mapping (  )  [inherited]

The function prints the lookup table in the terminal.


Member Data Documentation

This variable counts what is the max of instances.

This is the lookup table from path to instance id.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Jul 2017 by  doxygen 1.6.1