SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::instr::Type Class Reference

#include <instr_paje_types.hpp>

Inheritance diagram for simgrid::instr::Type:
simgrid::instr::ContainerType simgrid::instr::ValueType simgrid::instr::VariableType simgrid::instr::EventType simgrid::instr::LinkType simgrid::instr::StateType

Public Member Functions

 Type (std::string name, std::string alias, std::string color, Type *father)
 
virtual ~Type ()
 
std::string getName ()
 
const char * getCname ()
 
long long int getId ()
 
bool isColored ()
 
Type * byName (std::string name)
 
ContainerType * getOrCreateContainerType (std::string name)
 
EventType * getOrCreateEventType (std::string name)
 
LinkType * getOrCreateLinkType (std::string name, Type *source, Type *dest)
 
StateType * getOrCreateStateType (std::string name)
 
VariableType * getOrCreateVariableType (std::string name, std::string color)
 
void setCallingContainer (Container *container)
 
void logDefinition (e_event_type event_type)
 
void logDefinition (Type *source, Type *dest)
 

Public Attributes

std::map< std::string, Type * > children_
 
Container * issuer_ = nullptr
 

Constructor & Destructor Documentation

◆ Type()

simgrid::instr::Type::Type ( std::string  name,
std::string  alias,
std::string  color,
Type *  father 
)

◆ ~Type()

simgrid::instr::Type::~Type ( )
virtual

Member Function Documentation

◆ getName()

std::string simgrid::instr::Type::getName ( )
inline

◆ getCname()

const char* simgrid::instr::Type::getCname ( )
inline

◆ getId()

long long int simgrid::instr::Type::getId ( )
inline

◆ isColored()

bool simgrid::instr::Type::isColored ( )
inline

◆ byName()

Type * simgrid::instr::Type::byName ( std::string  name)

◆ getOrCreateContainerType()

ContainerType * simgrid::instr::Type::getOrCreateContainerType ( std::string  name)

◆ getOrCreateEventType()

EventType * simgrid::instr::Type::getOrCreateEventType ( std::string  name)

◆ getOrCreateLinkType()

LinkType * simgrid::instr::Type::getOrCreateLinkType ( std::string  name,
Type *  source,
Type *  dest 
)

◆ getOrCreateStateType()

StateType * simgrid::instr::Type::getOrCreateStateType ( std::string  name)

◆ getOrCreateVariableType()

VariableType * simgrid::instr::Type::getOrCreateVariableType ( std::string  name,
std::string  color 
)

◆ setCallingContainer()

void simgrid::instr::Type::setCallingContainer ( Container *  container)
inline

◆ logDefinition() [1/2]

void simgrid::instr::Type::logDefinition ( e_event_type  event_type)

◆ logDefinition() [2/2]

void simgrid::instr::Type::logDefinition ( Type *  source,
Type *  dest 
)

Member Data Documentation

◆ children_

std::map<std::string, Type*> simgrid::instr::Type::children_

◆ issuer_

Container* simgrid::instr::Type::issuer_ = nullptr

The documentation for this class was generated from the following files: