lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
utilsdetector::CalibConsSingleton Class Reference

Test singleton: instance() creates the single object (the private constructor prints a message) and print() prints the class name. More...

#include <UtilsDetector.hh>

Public Member Functions

void print ()
 Print "CalibConsSingleton::print()" to stdout.
 

Static Public Member Functions

static CalibConsSingleton * instance ()
 Return the single instance, creating it on the first call; creation prints a message to stdout.
 

Detailed Description

Test singleton: instance() creates the single object (the private constructor prints a message) and print() prints the class name.

Member Function Documentation

◆ instance()

static CalibConsSingleton * utilsdetector::CalibConsSingleton::instance ( )
static

Return the single instance, creating it on the first call; creation prints a message to stdout.

◆ print()

void utilsdetector::CalibConsSingleton::print ( )

Print "CalibConsSingleton::print()" to stdout.


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