Panda3D
 All Classes Functions Variables Enumerations
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 (const Time_Clock &tm, bool reset=false)
 Return type : bool Argument : const Time_Clock &tm. More...
 
bool Expired (bool reset=false)
 Return type : bool Argument : void. More...
 
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_Clock &tm) const
 Return type : Time_Span Argument : const Time_Clock & tm. More...
 
Time_Span Remaining () const
 Return type : Time_Span Argument : void. More...
 
void ResetAll (const Time_Clock &tm, const Time_Span &sp)
 Return type : void Argument : const Time_Clock &tm Argument : const Time_Span &sp. More...
 
void ResetTime (const Time_Clock &tm)
 Return type : void Argument : const Time_Clock & tm. More...
 
void ReStart ()
 Return type : void Argument : void. More...
 
void SetTimeOutSec (int sec)
 Return type : void Argument : const Time_Clock &tm. More...
 

Detailed Description

Definition at line 13 of file time_out.h.

Member Function Documentation

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

Return type : bool Argument : const Time_Clock &tm.

Definition at line 120 of file time_out.h.

References ResetTime().

Referenced by Expired().

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

Return type : bool Argument : void.

Definition at line 133 of file time_out.h.

References Expired(), and Time_Clock::GetCurrentTime().

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

Return type : Time_Span Argument : const Time_Clock & tm.

Definition at line 143 of file time_out.h.

Time_Span Time_Out::Remaining ( ) const
inline

Return type : Time_Span Argument : void.

Definition at line 153 of file time_out.h.

References Time_Clock::GetCurrentTime().

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

Return type : void Argument : const Time_Clock &tm Argument : const Time_Span &sp.

Definition at line 77 of file time_out.h.

void Time_Out::ResetTime ( const Time_Clock tm)
inline

Return type : void Argument : const Time_Clock & tm.

Definition at line 109 of file time_out.h.

Referenced by Expired().

void Time_Out::ReStart ( )
inline

Return type : void Argument : void.

Definition at line 99 of file time_out.h.

References Time_Clock::GetCurrentTime().

Referenced by SetTimeOutSec().

void Time_Out::SetTimeOutSec ( int  sec)
inline

Return type : void Argument : const Time_Clock &tm.

Definition at line 88 of file time_out.h.

References ReStart().


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