Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Time_Out Class Reference

Public Member Functions

 Time_Out (const Time_Span &dur)
 
Time_Span Duration () const
 
bool Expired (bool reset=false)
 
bool Expired (const Time_Clock &tm, bool reset=false)
 
void ForceToExpired ()
 
Time_Clock GetAlarm (void)
 
void NextInStep (Time_Clock &curtime)
 
bool operator() (bool reset=false)
 
bool operator() (const Time_Clock &tm, bool reset=false)
 
Time_Span Remaining () const
 
Time_Span Remaining (const Time_Clock &tm) const
 
void ResetAll (const Time_Clock &tm, const Time_Span &sp)
 
void ResetTime (const Time_Clock &tm)
 
void ReStart ()
 
void SetTimeOutSec (int sec)
 

Detailed Description

Definition at line 8 of file time_out.h.

Constructor & Destructor Documentation

◆ Time_Out() [1/2]

Time_Out::Time_Out ( )
inline

Definition at line 11 of file time_out.h.

◆ Time_Out() [2/2]

Time_Out::Time_Out ( const Time_Span & dur)
inline

Definition at line 15 of file time_out.h.

Member Function Documentation

◆ Duration()

Time_Span Time_Out::Duration ( ) const
inline

Definition at line 53 of file time_out.h.

◆ Expired() [1/2]

bool Time_Out::Expired ( bool reset = false)
inline

Definition at line 109 of file time_out.h.

◆ Expired() [2/2]

bool Time_Out::Expired ( const Time_Clock & tm,
bool reset = false )
inline

Definition at line 99 of file time_out.h.

◆ ForceToExpired()

void Time_Out::ForceToExpired ( )
inline

Definition at line 34 of file time_out.h.

◆ GetAlarm()

Time_Clock Time_Out::GetAlarm ( void )
inline

Definition at line 48 of file time_out.h.

◆ NextInStep()

void Time_Out::NextInStep ( Time_Clock & curtime)
inline

Definition at line 55 of file time_out.h.

◆ operator()() [1/2]

bool Time_Out::operator() ( bool reset = false)
inline

Definition at line 39 of file time_out.h.

◆ operator()() [2/2]

bool Time_Out::operator() ( const Time_Clock & tm,
bool reset = false )
inline

Definition at line 43 of file time_out.h.

◆ Remaining() [1/2]

Time_Span Time_Out::Remaining ( ) const
inline

Definition at line 123 of file time_out.h.

◆ Remaining() [2/2]

Time_Span Time_Out::Remaining ( const Time_Clock & tm) const
inline

Definition at line 116 of file time_out.h.

◆ ResetAll()

void Time_Out::ResetAll ( const Time_Clock & tm,
const Time_Span & sp )
inline

Definition at line 68 of file time_out.h.

◆ ResetTime()

void Time_Out::ResetTime ( const Time_Clock & tm)
inline

Definition at line 91 of file time_out.h.

◆ ReStart()

void Time_Out::ReStart ( )
inline

Definition at line 84 of file time_out.h.

◆ SetTimeOutSec()

void Time_Out::SetTimeOutSec ( int sec)
inline

Definition at line 76 of file time_out.h.


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