ATLAS Offline Software
Loading...
Searching...
No Matches
Athena::TimeoutMaster Class Reference

Class to modify timeout flag. More...

#include <Timeout.h>

Inheritance diagram for Athena::TimeoutMaster:
Collaboration diagram for Athena::TimeoutMaster:

Protected Member Functions

void setTimeout (Timeout &instance)
 Set timeout.
void resetTimeout (Timeout &instance)
 Reset timeout.
 TimeoutMaster ()
 Prevent direct instantiation.
 TimeoutMaster (TimeoutMaster &)
TimeoutMasteroperator= (const TimeoutMaster &)

Detailed Description

Class to modify timeout flag.

Only classes inheriting from TimeoutMaster are allowed to modify the Timeout singleton. In practice, this should be the responsibility of the EventLoopMgr.

Definition at line 77 of file Timeout.h.

Constructor & Destructor Documentation

◆ TimeoutMaster() [1/2]

Athena::TimeoutMaster::TimeoutMaster ( )
inlineprotected

Prevent direct instantiation.

Definition at line 86 of file Timeout.h.

86{}

◆ TimeoutMaster() [2/2]

Athena::TimeoutMaster::TimeoutMaster ( TimeoutMaster & )
protected

Member Function Documentation

◆ operator=()

TimeoutMaster & Athena::TimeoutMaster::operator= ( const TimeoutMaster & )
protected

◆ resetTimeout()

void Athena::TimeoutMaster::resetTimeout ( Timeout & instance)
inlineprotected

Reset timeout.

Definition at line 83 of file Timeout.h.

83{ instance.reset(); }
std::map< std::string, double > instance

◆ setTimeout()

void Athena::TimeoutMaster::setTimeout ( Timeout & instance)
inlineprotected

Set timeout.

Definition at line 80 of file Timeout.h.

80{ instance.set(); }

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