Repo-Init
 
Loading...
Searching...
No Matches
TrackStatus Class Reference

#include <Status.hpp>

Collaboration diagram for TrackStatus:

Public Member Functions

 TrackStatus (StatusTracker &tracker)
 
 ~TrackStatus ()
 
 TrackStatus (const TrackStatus &)=delete
 Copy constructor.
 
 TrackStatus (TrackStatus &&)=delete
 Move constructor.
 
TrackStatusoperator= (TrackStatus)=delete
 Copy assignment operator.
 
TrackStatusoperator= (TrackStatus &&)=delete
 Move assignment operator.
 

Private Attributes

StatusTracker_tracker
 

Detailed Description

RAII style wrapper for StatusTracker

Definition at line 49 of file Status.hpp.

Constructor & Destructor Documentation

◆ TrackStatus() [1/3]

TrackStatus::TrackStatus ( StatusTracker & tracker)
inlineexplicit

Definition at line 54 of file Status.hpp.

54: _tracker(tracker) { _tracker.incrementActive(); }
void incrementActive()
Definition Status.cpp:32
StatusTracker & _tracker
Definition Status.hpp:51
Here is the call graph for this function:

◆ ~TrackStatus()

TrackStatus::~TrackStatus ( )
inline

Definition at line 55 of file Status.hpp.

void decrementActive()
Definition Status.cpp:34
Here is the call graph for this function:

◆ TrackStatus() [2/3]

TrackStatus::TrackStatus ( const TrackStatus & )
delete

Copy constructor.

◆ TrackStatus() [3/3]

TrackStatus::TrackStatus ( TrackStatus && )
delete

Move constructor.

Member Function Documentation

◆ operator=() [1/2]

TrackStatus & TrackStatus::operator= ( TrackStatus && )
delete

Move assignment operator.

◆ operator=() [2/2]

TrackStatus & TrackStatus::operator= ( TrackStatus )
delete

Copy assignment operator.

Member Data Documentation

◆ _tracker

StatusTracker& TrackStatus::_tracker
private

Definition at line 51 of file Status.hpp.


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