#include <initiatorsocket.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...
|
|
|
void | helper_get_mapped_sockets (std::set< risc::Socket * > &mapped_sockets, bool is_forward) |
| This function determines all potential mapped sockets to this socket. If this socket is an InitiatoreSocketType, the mapped are all TargetSocketType. And vice versa. type specifies the type of socket that should be collected into mapped_sockets CAUTION: If you want to get the specific mapped socket, you have to use the path instance mapper. 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::InitiatorSocket::InitiatorSocket |
( |
SgVariableDefinition * |
ast_node, |
|
|
Class * |
parent |
|
) |
| |
|
explicit |
Disabled copy constructor.
SgVariableDefinition * risc::Object::get_ast_node |
( |
| ) |
|
|
virtualinherited |
Returns the ast definition of the object.
- 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::Socket::get_ast_type_name |
( |
| ) |
|
|
virtualinherited |
Get function for the name of the ast type of the socket.
- Returns
- Name as std::string
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
void risc::InitiatorSocket::get_mapped_sockets |
( |
std::set< risc::Socket * > & |
mapped_sockets | ) |
|
std::string risc::Object::get_name |
( |
| ) |
|
|
virtualinherited |
Get function for the name of the module instance variable.
- Returns
- Name as std::string
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
SgFunctionDeclaration * risc::InitiatorSocket::get_registered_nb_transport_bw |
( |
| ) |
|
get the registered nb_transport_bw method
risc::Object::get_symbol |
( |
| ) |
|
|
inherited |
return the symbol of the object
bool risc::Definition::has_source_location |
( |
| ) |
|
|
inherited |
Determines if a ast node has an associated ast node.
risc::Socket::helper_get_mapped_sockets |
( |
std::set< risc::Socket * > & |
mapped_sockets, |
|
|
bool |
is_forward |
|
) |
| |
|
protectedinherited |
This function determines all potential mapped sockets to this socket. If this socket is an InitiatoreSocketType, the mapped are all TargetSocketType. And vice versa. type specifies the type of socket that should be collected into mapped_sockets CAUTION: If you want to get the specific mapped socket, you have to use the path instance mapper.
bool risc::Object::is_array |
( |
| ) |
|
|
inherited |
checks if this object is an array
bool risc::Object::is_pointer |
( |
| ) |
|
|
inherited |
checks if this object is a pointer
bool risc::Object::is_reference |
( |
| ) |
|
|
inherited |
checks if this object is a reference
void risc::InitiatorSocket::register_nb_transport_bw |
( |
SgFunctionDeclaration * |
func_decl | ) |
|
register the nb_transport_bw method for this socket
SgNode* risc::Definition::ast_node_ |
|
inherited |
SgType* risc::Definition::ast_type_pointer_ |
|
inherited |
bool risc::Socket::is_end_ |
|
inherited |
unsigned int risc::Object::number_of_array_elements_ |
|
inherited |
Class* risc::Socket::parent_ |
|
inherited |
SgFunctionDeclaration* risc::InitiatorSocket::registered_nb_transport_bw_ |
|
private |
registered method for nb_transport_bw_
int risc::Socket::socket_id_counter_ =0 |
|
staticinherited |
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/initiatorsocket.h
- /local/lecs/lecs/risc_v0.6.2/sources/build/risc_v0.6.2/src/internal_representation/initiatorsocket.cpp