#include <cthread.h>
 | 
| 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, 
SocketType, 
 
  InitiatorSocketType, 
TargetSocketType
 
 } | 
|   | We are using these enums to identify type type of and instance or definition during traversal.  More...
  | 
|   | 
We are using these enums to identify type type of and instance or definition during traversal. 
| Enumerator | 
|---|
| CThreadType  | 
 | 
| ChannelType  | 
 | 
| ChannelInstanceType  | 
 | 
| ClassType  | 
 | 
| DefinitionType  | 
 | 
| EventType  | 
 | 
| FunctionType  | 
 | 
| HierarchicalChannelType  | 
 | 
| HierarchicalChannelInstanceType  | 
 | 
| InOutPortType  | 
 | 
| InPortType  | 
 | 
| InstanceType  | 
 | 
| InterfaceType  | 
 | 
| MethodType  | 
 | 
| ModuleType  | 
 | 
| ModuleInstanceType  | 
 | 
| ObjectType  | 
 | 
| OutPortType  | 
 | 
| PortType  | 
 | 
| PrimitiveChannelType  | 
 | 
| PrimitiveChannelInstanceType  | 
 | 
| ThreadType  | 
 | 
| VariableType  | 
 | 
| SocketType  | 
 | 
| InitiatorSocketType  | 
 | 
| TargetSocketType  | 
 | 
 
 
  
  
      
        
          | risc::CThread::CThread  | 
          ( | 
          SgFunctionDefinition *  | 
          ast_node,  | 
         
        
           | 
           | 
          Class *  | 
          parent  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
explicit   | 
  
 
 
  
  
      
        
          | risc::CThread::CThread  | 
          ( | 
          const CThread &  | 
          t | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Disabled copy constructor. 
 
 
  
  
      
        
          | SgFunctionDefinition * risc::Function::get_ast_node  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualinherited   | 
  
 
Returns the ast definition of the function. 
- Returns
 - Pointer to the definition 
 
Reimplemented from risc::Definition.
 
 
  
  
      
        
          | SgType * risc::Definition::get_ast_type  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualinherited   | 
  
 
Returns the type of the ast node. 
 
 
  
  
      
        
          | std::string risc::Function::get_ast_type_name  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualinherited   | 
  
 
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. 
- Returns
 - filename 
 
 
 
  
  
      
        
          | int risc::Definition::get_line_number  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Get the line number of the instance. 
- Returns
 - line number 
 
 
 
  
  
      
        
          | std::string risc::Function::get_name  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualinherited   | 
  
 
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. 
- Returns
 - position in line 
 
 
 
  
  
      
        
          | bool risc::Definition::has_source_location  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Determines if a ast node has an associated ast node. 
 
 
  
  
      
        
          | void risc::Function::set_starting_node  | 
          ( | 
          SgNode *  | 
          starting_node | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
  
  
      
        
          | SgNode* risc::Definition::ast_node_ | 
         
       
   | 
  
inherited   | 
  
 
 
  
  
      
        
          | SgType* risc::Definition::ast_type_pointer_ | 
         
       
   | 
  
inherited   | 
  
 
 
      
        
          | InPort* risc::CThread::clk_port_ | 
        
      
 
 
  
  
      
        
          | 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   | 
  
 
 
The documentation for this class was generated from the following files:
- /local/lecs/lecs/risc_v0.6.2/sources/build/risc_v0.6.2/src/internal_representation/cthread.h
 
- /local/lecs/lecs/risc_v0.6.2/sources/build/risc_v0.6.2/src/internal_representation/cthread.cpp