arsa  2.7
Public Member Functions | List of all members
irr::IOSOperator Class Referenceabstract

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

#include <IOSOperator.h>

Inheritance diagram for irr::IOSOperator:
irr::IReferenceCounted

Public Member Functions

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 void copyToClipboard (const c8 *text) const =0
 Copies text to the clipboard. More...
 
virtual const c8getTextFromClipboard () const =0
 Get text from the clipboard. More...
 
virtual bool getProcessorSpeedMHz (u32 *MHz) const =0
 Get the processor speed in megahertz. More...
 
virtual bool getSystemMemory (u32 *totalBytes, u32 *availableBytes) const =0
 Get the total and available system RAM. More...
 
- Public Member Functions inherited from irr::IReferenceCounted
 IReferenceCounted ()
 Constructor. More...
 
virtual ~IReferenceCounted ()
 Destructor. More...
 
void grab () const
 Grabs the object. Increments the reference counter by one. More...
 
bool drop () const
 Drops the object. Decrements the reference counter by one. More...
 
s32 getReferenceCount () const
 Get the reference count. More...
 
const c8getDebugName () const
 Returns the debug name of the object. 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 information.

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.

◆ getOperatingSystemVersion()

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

Get the current operation system version as string.

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

24  {
25  return core::stringw(getOperatingSystemVersion()).c_str();
26  }
virtual const core::stringc & getOperatingSystemVersion() const =0
Get the current operation system version as string.
string< wchar_t > stringw
Typedef for wide character strings.
Definition: irrString.h:1461

◆ 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

◆ getSystemMemory()

virtual bool irr::IOSOperator::getSystemMemory ( u32 totalBytes,
u32 availableBytes 
) const
pure virtual

Get the total and available system RAM.

Parameters
totalByteswill contain the total system memory in bytes
availableByteswill contain the available memory in bytes
Returns
True if successful, false if not

◆ getTextFromClipboard()

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

Get text from the clipboard.

Returns
Returns 0 if no string is in there.

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