Forums
This is the online documentation for Colossus Entertainments Pixie Game Engine

Platform_Time Class Reference
[Platform]

Inheritance diagram for Platform_Time:

System Platform_Win32_Time

List of all members.


Detailed Description

Author:
Mattias Gustavsson

Definition at line 19 of file Platform_Time.h.


Public Member Functions

virtual float GetTime ()=0
virtual SystemTime GetSystemTime (bool utcTime=false)=0

Classes

struct  SystemTime

Member Function Documentation

virtual float Platform_Time::GetTime (  )  [pure virtual]

Retrieves the current time, as measured from the start of the application

Returns:
The number of seconds since the application was started

Implemented in Platform_Win32_Time.

virtual SystemTime Platform_Time::GetSystemTime ( bool  utcTime = false  )  [pure virtual]

Retrieves the local current date and time. If the utcTime parameter is set to true, the UTC (universal time) equivalent to the local time is returned.

Returns:
The current date and time (local or UTC)

Implemented in Platform_Win32_Time.