AgateLib.PlatformSpecific.Platform Class Reference

This class encapsulates methods which much be implemented for each platform given. It provides default implementations that are "most conservative.". More...

Inheritance diagram for AgateLib.PlatformSpecific.Platform:

AgateLib.PlatformSpecific.Win32Platform AgateLib.PlatformSpecific.X11Platform

List of all members.

Public Member Functions

virtual void Dispose ()
 Dipsoses of the platform-specific methods.
virtual double GetTime ()
 Returns the current time in milliseconds. This may be the amount of time since the application began, the system started, or any other zero-point.

Static Public Member Functions

static Platform CreatePlatformMethods ()
 Creates an object which encapsulates platform specific methods.

Protected Member Functions

 Platform ()
 Only sub classes are allowed to initialized this class.

Properties

virtual bool IsAppIdle [get]
 Returns true if the application is idle, so DoEvents does not need to be called.


Detailed Description

This class encapsulates methods which much be implemented for each platform given. It provides default implementations that are "most conservative.".


Constructor & Destructor Documentation

AgateLib.PlatformSpecific.Platform.Platform (  )  [protected]

Only sub classes are allowed to initialized this class.


Member Function Documentation

static Platform AgateLib.PlatformSpecific.Platform.CreatePlatformMethods (  )  [static]

Creates an object which encapsulates platform specific methods.

Returns:

virtual void AgateLib.PlatformSpecific.Platform.Dispose (  )  [virtual]

Dipsoses of the platform-specific methods.

virtual double AgateLib.PlatformSpecific.Platform.GetTime (  )  [virtual]

Returns the current time in milliseconds. This may be the amount of time since the application began, the system started, or any other zero-point.

Returns:

Reimplemented in AgateLib.PlatformSpecific.Win32Platform.


Property Documentation

virtual bool AgateLib.PlatformSpecific.Platform.IsAppIdle [get]

Returns true if the application is idle, so DoEvents does not need to be called.

If there is no platform-specific implementation, this just returns false always.

Reimplemented in AgateLib.PlatformSpecific.Win32Platform, and AgateLib.PlatformSpecific.X11Platform.


The documentation for this class was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo