#include <thread.h>


Public Types | |
| enum | Type {  CThreadType, ChannelType, ChannelInstanceType, ClassType, DefinitionType, EventType, FunctionType, HierarchicalChannelType, HierarchicalChannelInstanceType, InOutPortType, InPortType, InstanceType, InterfaceType, MethodType, ModuleType, ModuleInstanceType, ObjectType, OutPortType, PortType, PrimitiveChannelType, PrimitiveChannelInstanceType, ThreadType, VariableType }  | 
We are using these enums to identify type type of and instance or definition during traversal. More... | |
Public Member Functions | |
| Thread (SgFunctionDefinition *ast_node, Class *parent) | |
| Default constructor.   | |
| void | print_event_list () | 
| Prints the static event list of the method.   | |
| SgFunctionDefinition * | get_ast_node () | 
| Returns the ast definition of the function.   | |
| virtual std::string | get_ast_type_name () | 
| Returns the name of the type of the ast node.   | |
| std::string | get_name () | 
| returns the name of the function definition   | |
| void | set_starting_node (SgNode *) | 
| Sets the starting_node_.   | |
| virtual SgType * | get_ast_type () | 
| Returns the type of the ast node.   | |
| bool | has_source_location () | 
| Determines if a ast node has an associated ast node.   | |
| std::string | get_file_name () | 
| Get the name of the file where the declaration is located.   | |
| int | get_line_number () | 
| Get the line number of the instance.   | |
| int | get_position_in_line () | 
| Get the position of the in declaration in the corresponding line In other words the column in the line.   | |
Public Attributes | |
| EventVector | static_event_sensitivity_list_ | 
| PortVector | static_port_sensitivity_list_ | 
| int | starting_id_ | 
| After generating a segment graph for a thread, cthread, or method each function will have a starting segment. This variables stores the associated id of the segment. The starting id will be unequal to -1, if an associated segment exists.   | |
| Class * | parent_ | 
| If this function belongs to a module/channel it has a link to its class definition.   | |
| SgNode * | starting_node_ | 
| This variables stores the associated function call which starts a thread, cthread, or method.   | |
| Type | type_ | 
| SgNode * | ast_node_ | 
| SgType * | ast_type_pointer_ | 
Private Member Functions | |
| Thread (const Thread &t) | |
| Disabled copy constructor.   | |
enum risc::Definition::Type [inherited] | 
        
We are using these enums to identify type type of and instance or definition during traversal.
| risc::Thread::Thread | ( | SgFunctionDefinition * | ast_node, | |
| Class * | parent | |||
| ) |  [explicit] | 
        
Default constructor.
| risc::Thread::Thread | ( | const Thread & | t | ) |  [private] | 
        
Disabled copy constructor.
| SgFunctionDefinition * risc::Function::get_ast_node | ( | ) |  [virtual, inherited] | 
        
Returns the ast definition of the function.
Reimplemented from risc::Definition.
| SgType * risc::Definition::get_ast_type | ( | ) |  [virtual, inherited] | 
        
Returns the type of the ast node.
| std::string risc::Function::get_ast_type_name | ( | ) |  [virtual, inherited] | 
        
Returns the name of the type of the ast node.
Reimplemented from risc::Definition.
| std::string risc::Definition::get_file_name | ( | ) |  [inherited] | 
        
Get the name of the file where the declaration is located.
| int risc::Definition::get_line_number | ( | ) |  [inherited] | 
        
Get the line number of the instance.
| std::string risc::Function::get_name | ( | ) |  [virtual, inherited] | 
        
returns the name of the function definition
Reimplemented from risc::Definition.
| int risc::Definition::get_position_in_line | ( | ) |  [inherited] | 
        
Get the position of the in declaration in the corresponding line In other words the column in the line.
| bool risc::Definition::has_source_location | ( | ) |  [inherited] | 
        
Determines if a ast node has an associated ast node.
| void risc::Thread::print_event_list | ( | ) | 
Prints the static event list of the method.
| void risc::Function::set_starting_node | ( | SgNode * | starting_node | ) |  [inherited] | 
        
Sets the starting_node_.
SgNode* risc::Definition::ast_node_ [inherited] | 
        
SgType* risc::Definition::ast_type_pointer_ [inherited] | 
        
Class* risc::Function::parent_ [inherited] | 
        
If this function belongs to a module/channel it has a link to its class definition.
int risc::Function::starting_id_ [inherited] | 
        
After generating a segment graph for a thread, cthread, or method each function will have a starting segment. This variables stores the associated id of the segment. The starting id will be unequal to -1, if an associated segment exists.
SgNode* risc::Function::starting_node_ [inherited] | 
        
This variables stores the associated function call which starts a thread, cthread, or method.
Type risc::Definition::type_ [inherited] | 
        
 1.6.1