Panda3D
Public Member Functions

Time_Out Class Reference

List of all members.

Public Member Functions

 Time_Out (const Time_Span &dur)
Time_Span Duration () const
bool Expired (bool reset=false)
 Return type : bool Argument : void.
bool Expired (const Time_Clock &tm, bool reset=false)
 Return type : bool Argument : const Time_Clock &tm.
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.
Time_Span Remaining () const
 Return type : Time_Span Argument : void.
void ResetAll (const Time_Clock &tm, const Time_Span &sp)
 Return type : void Argument : const Time_Clock &tm Argument : const Time_Span &sp.
void ResetTime (const Time_Clock &tm)
 Return type : void Argument : const Time_Clock & tm.
void ReStart ()
 Return type : void Argument : void.
void SetTimeOutSec (int sec)
 Return type : void Argument : const Time_Clock &tm.

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 [inline]

Return type : Time_Span Argument : void.

Definition at line 153 of file time_out.h.

References 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.

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:
 All Classes Functions Variables Enumerations