![]() |
Rosetta Utilities
2015.19
|
Simple singleton class to hold the all_tracers_ array, which otherwise suffers from funky double-construction problems when declared as a static data member of Tracer. More...
#include <Tracer.hh>
Public Member Functions | |
std::vector< Tracer * > & | all_tracers () |
Static Public Member Functions | |
static TracerManager * | get_instance () |
Private Member Functions | |
TracerManager () | |
Private Attributes | |
std::vector< Tracer * > | all_tracers_ |
Static Private Attributes | |
static TracerManager * | instance_ |
Simple singleton class to hold the all_tracers_ array, which otherwise suffers from funky double-construction problems when declared as a static data member of Tracer.
|
private |
Referenced by get_instance().
std::vector< Tracer * > & basic::TracerManager::all_tracers | ( | ) |
References all_tracers_.
Referenced by basic::Tracer::Tracer().
|
static |
References instance_, and TracerManager().
Referenced by basic::Tracer::calculate_tracer_visibilities(), basic::Tracer::flush_all_tracers(), basic::Tracer::Tracer(), and basic::Tracer::~Tracer().
|
private |
Referenced by all_tracers().
|
staticprivate |
Referenced by get_instance().