![]() |
PURE API 0.5
PR00F's Ultimate Rendering Engine full documentation
|
Managed loaded from / saved to a file. More...
Managed loaded from / saved to a file.
Definition at line 26 of file PureFiledManager.h.
#include <PureFiledManager.h>
Classes | |
class | PureFiledManagedImpl |
Managed loaded from / saved to a file. More... | |
Public Member Functions | |
PureFiledManaged () | |
virtual | ~PureFiledManaged () |
CConsole & | getManagedConsole () const |
Returns access to console preset with logger module name as this class. | |
virtual TPureUInt | getUsedSystemMemory () const |
Gets the amount of allocated system memory for this managed. | |
const std::string & | getFilename () const |
Gets the filename. | |
![]() | |
PureManaged () | |
virtual | ~PureManaged () |
CConsole & | getManagedConsole () const |
Returns access to console preset with logger module name as this class. | |
const PureManaged * | getUtiliser () const |
Returns the managed that utilizes this managed. | |
PureManaged * | getUtiliser () |
Returns the managed that utilizes this managed. | |
void | SetUtiliser (PureManaged *pUtiliser) |
Sets the managed that utilizes this managed. | |
void | DetachFrom () |
Removes the managed from its manager. | |
PureManager * | getManager () const |
Gets the manager of the managed. | |
const std::string & | getName () const |
Gets the name. | |
void | SetName (const std::string &name) |
Sets the name. | |
virtual void | FlushResources () |
This can be used if the specialized managed object has some resources that may be released from memory when not needed anymore. | |
Static Public Member Functions | |
static const char * | getLoggerModuleName () |
Returns the logger module name of this class. | |
![]() | |
static const char * | getLoggerModuleName () |
Returns the logger module name of this class. | |
Protected Member Functions | |
PureFiledManaged (const PureFiledManaged &other) | |
PureFiledManaged & | operator= (const PureFiledManaged &other) |
void | SetFilename (const std::string &filename) |
Sets the filename. | |
![]() | |
PureManaged (const PureManaged &other) | |
PureManaged & | operator= (const PureManaged &other) |
Private Attributes | |
PureFiledManagedImpl * | pImpl |
PureFiledManaged::PureFiledManaged | ( | ) |
std::bad_alloc | - This class or its ancestor dynamically allocates memory with operator new, in case of failure the exception is not handled but propagated to caller. |
Definition at line 120 of file PureFiledManager.cpp.
|
virtual |
Definition at line 126 of file PureFiledManager.cpp.
|
protected |
std::bad_alloc | - This class or its ancestor dynamically allocates memory with operator new, in case of failure the exception is not handled but propagated to caller. |
Definition at line 187 of file PureFiledManager.cpp.
const string & PureFiledManaged::getFilename | ( | ) | const |
Gets the filename.
Definition at line 175 of file PureFiledManager.cpp.
|
static |
Returns the logger module name of this class.
Intentionally not virtual, so derived class should hide this instead of overriding. Not even private, so user can also access this from outside, for any reason like controlling log filtering per logger module name.
Definition at line 152 of file PureFiledManager.cpp.
CConsole & PureFiledManaged::getManagedConsole | ( | ) | const |
Returns access to console preset with logger module name as this class.
Intentionally not virtual, so the getConsole() in derived class should hide this instead of overriding.
Definition at line 139 of file PureFiledManager.cpp.
|
virtual |
Gets the amount of allocated system memory for this managed.
Reimplemented from PureManaged.
Reimplemented in PureImage, PureMaterial, PureMesh3D, PureObject3D, PureTexture, and PureVertexTransfer.
Definition at line 163 of file PureFiledManager.cpp.
|
protected |
Definition at line 194 of file PureFiledManager.cpp.
|
protected |
Sets the filename.
Definition at line 204 of file PureFiledManager.cpp.
|
private |
Definition at line 61 of file PureFiledManager.h.