Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
TimeTracker Struct Reference

#include <Timer.h>

Public Member Functions

time_t GetExpiry () const
bool Passed () const
void Reset (time_t interval)
 TimeTracker (time_t expiry)
void Update (time_t diff)

Private Attributes

time_t i_expiryTime

Detailed Description

Definition at line 75 of file Timer.h.

Constructor & Destructor Documentation

◆ TimeTracker()

TimeTracker::TimeTracker ( time_t expiry)
inline

Definition at line 78 of file Timer.h.

References i_expiryTime.

Member Function Documentation

◆ GetExpiry()

time_t TimeTracker::GetExpiry ( ) const
inline

Definition at line 95 of file Timer.h.

References i_expiryTime.

◆ Passed()

bool TimeTracker::Passed ( ) const
inline

Definition at line 85 of file Timer.h.

References i_expiryTime.

Referenced by ActiveState::Update(), and RemovalState::Update().

◆ Reset()

void TimeTracker::Reset ( time_t interval)
inline

Definition at line 90 of file Timer.h.

References i_expiryTime.

◆ Update()

void TimeTracker::Update ( time_t diff)
inline

Definition at line 80 of file Timer.h.

References i_expiryTime.

Member Data Documentation

◆ i_expiryTime

time_t TimeTracker::i_expiryTime
private

Definition at line 101 of file Timer.h.

Referenced by GetExpiry(), Passed(), Reset(), TimeTracker(), and Update().


The documentation for this struct was generated from the following file:
  • src/server/shared/Utilities/Timer.h