|
CeresEngine 0.2.0
A game development framework
|
A platform implementation for linux. More...
#include <CeresEngine/Platform/Linux/LinuxPlatform.hpp>
Public Member Functions | |
| LinuxPlatform () | |
| Creates a new Linux platform instance. | |
| ~LinuxPlatform () noexcept override | |
| Creates a new Linux platform instance. | |
| UPtr< PlatformWindow > | createWindow (const PlatformWindowDescriptor &descriptor) override |
| Creates a new platform window. | |
| IFileSystem * | getLocalFileSystem () const override |
| Gets the underlying platform local file system implementation. | |
Public Member Functions inherited from CeresEngine::POSIXPlatform | |
| IFileSystem * | getLocalFileSystem () const override |
| Gets the underlying platform local file system implementation. | |
| Platform (Engine &engine) | |
Public Member Functions inherited from CeresEngine::Platform | |
| Platform (Engine &engine) | |
| virtual | ~Platform () noexcept |
| virtual void | run ()=0 |
| Starts running the main application run loop. | |
| virtual void | stop ()=0 |
| Requests the application to stop running. | |
| virtual UPtr< DispatchQueue > | createDispatchQueue (DispatchQueueType type, StringView name="")=0 |
| Creates a new queue to which you can submit blocks. | |
| virtual FileHandle | openFile (const FilePath &path) const |
| Opens a file on the local file system. | |
Private Attributes | |
| UPtr< Pimpl > | m |
| Hidden implementation class for the platform. | |
Friends | |
| struct | Pimpl |
Additional Inherited Members | |
Static Public Member Functions inherited from CeresEngine::Platform | |
| static Platform & | get () noexcept |
| Gets the current platform. Assets if no platform was initialized. | |
A platform implementation for linux.
| CeresEngine::LinuxPlatform::LinuxPlatform | ( | ) |
Creates a new Linux platform instance.
|
overridenoexcept |
Creates a new Linux platform instance.
|
overridevirtual |
Creates a new platform window.
| descriptor | A descriptor structure that describes the window to be created. |
Implements CeresEngine::Platform.
|
overridevirtual |
Gets the underlying platform local file system implementation.
nullptr. Platform implementors should override this method and return the local file system implementation of their platform.Reimplemented from CeresEngine::Platform.