Irrlicht 3D Engine
irr::IOSOperator Class Referenceabstract

The Operating system operator provides operation system specific methods and informations. More...

#include <IOSOperator.h>

+ Inheritance diagram for irr::IOSOperator:

Public Member Functions

virtual void copyToClipboard (const c8 *text) const =0
 Copies text to the clipboard. More...
 
virtual const core::stringcgetOperatingSystemVersion () const =0
 Get the current operation system version as string. More...
 
_IRR_DEPRECATED_ const wchar_t * getOperationSystemVersion () const
 Get the current operation system version as string. More...
 
virtual bool getProcessorSpeedMHz (u32 *MHz) const =0
 Get the processor speed in megahertz. More...
 
virtual bool getSystemMemory (u32 *Total, u32 *Avail) const =0
 Get the total and available system RAM. More...
 
virtual const c8getTextFromClipboard () const =0
 Get text from the clipboard. More...
 
- Public Member Functions inherited from irr::IReferenceCounted
 IReferenceCounted ()
 Constructor. More...
 
virtual ~IReferenceCounted ()
 Destructor. More...
 
bool drop () const
 Drops the object. Decrements the reference counter by one. More...
 
const c8getDebugName () const
 Returns the debug name of the object. More...
 
s32 getReferenceCount () const
 Get the reference count. More...
 
void grab () const
 Grabs the object. Increments the reference counter by one. More...
 

Additional Inherited Members

- Protected Member Functions inherited from irr::IReferenceCounted
void setDebugName (const c8 *newName)
 Sets the debug name of the object. More...
 

Detailed Description

The Operating system operator provides operation system specific methods and informations.

Definition at line 15 of file IOSOperator.h.

Member Function Documentation

§ copyToClipboard()

virtual void irr::IOSOperator::copyToClipboard ( const c8 text) const
pure virtual

Copies text to the clipboard.

Referenced by getOperationSystemVersion().

§ getOperatingSystemVersion()

virtual const core::stringc& irr::IOSOperator::getOperatingSystemVersion ( ) const
pure virtual

Get the current operation system version as string.

Referenced by getOperationSystemVersion().

§ getOperationSystemVersion()

_IRR_DEPRECATED_ const wchar_t* irr::IOSOperator::getOperationSystemVersion ( ) const
inline

Get the current operation system version as string.

Deprecated:
Use getOperatingSystemVersion instead. This method will be removed in Irrlicht 1.9.

Definition at line 23 of file IOSOperator.h.

References copyToClipboard(), getOperatingSystemVersion(), getProcessorSpeedMHz(), getSystemMemory(), and getTextFromClipboard().

§ getProcessorSpeedMHz()

virtual bool irr::IOSOperator::getProcessorSpeedMHz ( u32 MHz) const
pure virtual

Get the processor speed in megahertz.

Parameters
MHzThe integer variable to store the speed in.
Returns
True if successful, false if not

Referenced by getOperationSystemVersion().

§ getSystemMemory()

virtual bool irr::IOSOperator::getSystemMemory ( u32 Total,
u32 Avail 
) const
pure virtual

Get the total and available system RAM.

Parameters
Totalwill contain the total system memory
Availwill contain the available memory
Returns
True if successful, false if not

Referenced by getOperationSystemVersion().

§ getTextFromClipboard()

virtual const c8* irr::IOSOperator::getTextFromClipboard ( ) const
pure virtual

Get text from the clipboard.

Returns
Returns 0 if no string is in there.

Referenced by getOperationSystemVersion().


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