GEGELATI
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TPG::TPGVertexInstrumentation Class Reference

Instrumentation code for TPGVertex class for instrumented execution. More...

#include <tpgVertexInstrumentation.h>

Inheritance diagram for TPG::TPGVertexInstrumentation:
TPG::TPGActionInstrumented TPG::TPGTeamInstrumented

Public Member Functions

uint64_t getNbVisits () const
 Get the number of time a TPGVertexInstrumentation was visited.
 
void incrementNbVisits () const
 Add one to the number of visits for this TPGVertexInstrumented.
 
void reset () const
 Reset the instrumentation attributes.
 

Protected Member Functions

 TPGVertexInstrumentation ()
 Protected default constructor to forbid instanciation. More...
 

Protected Attributes

std::atomic_uint64_t nbVisits
 

Detailed Description

Instrumentation code for TPGVertex class for instrumented execution.

Constructor & Destructor Documentation

◆ TPGVertexInstrumentation()

TPG::TPGVertexInstrumentation::TPGVertexInstrumentation ( )
inlineprotected

Protected default constructor to forbid instanciation.

This constructor initializes the instrumentation attributes.

Member Data Documentation

◆ nbVisits

std::atomic_uint64_t TPG::TPGVertexInstrumentation::nbVisits
mutableprotected

Number of a time a TPGVertex has been visited Attribute is mutable because all TPGVertex are seen as const outside from their TPGGraph.


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