Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
jpp::IOSOperator Class Referenceabstract

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

#include <jimcpp/core/engine/IOSOperator.hpp>

Inheritance diagram for jpp::IOSOperator:
Inheritance graph
Collaboration diagram for jpp::IOSOperator:
Collaboration graph

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Member Function Documentation

◆ getOperationSystemVersion()

JPP_DEPRECATED const wchar_t * jpp::IOSOperator::getOperationSystemVersion ( ) const
inline

Get the current operation system version as string.

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

◆ getProcessorSpeedMHz()

virtual bool jpp::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 jpp::IOSOperator::getSystemMemory ( u32 totalBytes,
u32 availableBytes 
) const
pure virtual

Get the total and available system RAM.

Parameters
totalByteswill contain the total system memory in Kilobytes (1024 B)
availableByteswill contain the available memory in Kilobytes (1024 B)
Returns
True if successful, false if not

◆ getTextFromClipboard()

virtual const c8 * jpp::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:

Jimcpp    @cppfx.xyz

K