Panda3D
Public Member Functions | Friends | List of all members
Time_Span Class Reference

Public Member Functions

 Time_Span (struct timeval time)
 
 Time_Span (time_t time)
 
 Time_Span (long lDays, int nHours, int nMins, int nSecs, int usecs)
 
 Time_Span (long seconds, int usecs)
 
 Time_Span (const Time_Span &Time_SpanSrc)
 
 Time_Span (const Time_Clock &Time_SpanSrc)
 
 Time_Span (PN_stdfloat Seconds)
 
std::string Format (char *pFormat) const
 
long GetDays () const
 
int GetHours () const
 
int GetMinutes () const
 
long GetMSeconds () const
 
int GetSeconds () const
 
long GetTotal100Seconds () const
 
long GetTotalHours () const
 
long GetTotalMinutes () const
 
long GetTotalMSeconds () const
 
long GetTotalSeconds () const
 
const timeval & GetTval () const
 
bool operator!= (Time_Span &Time_Span) const
 
const Time_Spanoperator+= (Time_Span &Time_Span)
 
const Time_Spanoperator-= (Time_Span &Time_Span)
 
bool operator< (Time_Span &Time_Span) const
 
bool operator<= (Time_Span &Time_Span) const
 
const Time_Spanoperator= (const Time_Span &Time_SpanSrc)
 
bool operator== (Time_Span &Time_Span) const
 
bool operator> (Time_Span &Time_Span) const
 
bool operator>= (Time_Span &Time_Span) const
 
void Set (long lDays, int nHours, int nMins, int nSecs, int usecs)
 

Friends

class Time_Clock
 

Detailed Description

Definition at line 7 of file time_span.h.


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