AlpacaLibary  1.63
A closed source C++ bot for OSRS
Timer Class Reference

#include <Timer.hpp>

Public Member Functions

 Timer (bool Start=true)
 
void Restart ()
 
std::int64_t FastForward (std::uint32_t Duration)
 
std::int64_t Rewind (std::uint32_t Duration)
 
std::int64_t Suspend ()
 
std::int64_t Resume ()
 
std::uint64_t GetStartTime () const
 
std::int64_t GetTimeElapsed () const
 
bool Paused () const
 
 ~Timer ()
 

Friends

std::ostream & operator<< (std::ostream &OS, const Timer &T)
 

Detailed Description

Definition at line 7 of file Timer.hpp.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( bool  Start = true)

◆ ~Timer()

Timer::~Timer ( )

Member Function Documentation

◆ FastForward()

std::int64_t Timer::FastForward ( std::uint32_t  Duration)

◆ GetStartTime()

std::uint64_t Timer::GetStartTime ( ) const

◆ GetTimeElapsed()

std::int64_t Timer::GetTimeElapsed ( ) const

◆ Paused()

bool Timer::Paused ( ) const

◆ Restart()

void Timer::Restart ( )

◆ Resume()

std::int64_t Timer::Resume ( )

◆ Rewind()

std::int64_t Timer::Rewind ( std::uint32_t  Duration)

◆ Suspend()

std::int64_t Timer::Suspend ( )

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  OS,
const Timer T 
)
friend

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