Base class for virtual destructor. More...
Public Member Functions | |
const char * | get_class_name (void) const noexcept |
Get the name of the class. | |
virtual const Burger::StaticRTTI * | get_StaticRTTI (void) const noexcept |
Get the description to the class. | |
virtual | ~Base () noexcept=default |
Destructor. | |
Static Public Attributes | |
static const Burger::StaticRTTI | g_StaticRTTI |
The global description of the class. | |
Base class for virtual destructor.
Burgerlib has numerous pointers to unknown classes that are up cast from Base if they are actually used. By only knowing a generic, empty base class, no code bloat is needed to manage destructor/constructor chains because of a class reference to something that uses OpenGL, DirectX or any other high overhead functionality. The only code linked in is the generic destructor.
|
virtualdefaultnoexcept |
Destructor.
Does absolutely nothing
|
inlinenoexcept |
Get the name of the class.
This inline function will pull the virtually declared pointer to the StaticRTTI instance that has the name of the class. Due to it being virtual, it will be the name of the most derived class.
|
virtualnoexcept |
Get the description to the class.
This virtual function will pull the pointer to the StaticRTTI instance that has the name of the class. Due to it being virtual, it will be the name of the most derived class.
Reimplemented in Burger::AllocatorANSI, Burger::AllocatorBase, Burger::AllocatorHandle, Burger::CommandParameter, Burger::Compress, Burger::CompressDeflate, Burger::CompressILBMRLE, Burger::CompressLZSS, Burger::ConsoleApp, Burger::Decompress16BitBEAudio, Burger::Decompress16BitLEAudio, Burger::Decompress32BitBEAudio, Burger::Decompress32BitLEAudio, Burger::Decompress, Burger::DecompressALaw, Burger::DecompressAudio, Burger::DecompressDeflate, Burger::DecompressILBMRLE, Burger::DecompressLZSS, Burger::DecompressMace3, Burger::DecompressMace6, Burger::DecompressMicrosoftADPCM, Burger::DecompressMP3, Burger::DecompressSigned8BitAudio, Burger::DecompressULaw, Burger::DecompressUnsigned8BitAudio, Burger::Display, Burger::DisplayDirectX11, Burger::DisplayDirectX9, Burger::DisplayObject, Burger::DisplayOpenGL, Burger::DisplayOpenGLSoftware8, Burger::Effect2D, Burger::Effect2DDX9, Burger::Effect2DOpenGL, Burger::Effect, Burger::EffectPositionColorTexture, Burger::EffectPositionColorTextureDX9, Burger::EffectPositionColorTextureOpenGL, Burger::EffectPositionTexture, Burger::EffectPositionTextureDX9, Burger::EffectPositionTextureOpenGL, Burger::Flash::ActionScriptProperty, Burger::Flash::BaseExecute, Burger::Flash::SharedBuffer, Burger::Font4Bit, Burger::Font, Burger::GameApp, Burger::Joypad, Burger::Keyboard, Burger::Mouse, Burger::NetPlay, Burger::NetworkModule, Burger::NetworkModuleSettings, Burger::Random, Burger::RandomBase, Burger::RandomMersenneTwist, Burger::ReferenceCounter, Burger::Shader2DCColor, Burger::Shader2DCColorDX9, Burger::Shader2DCColorOpenGL, Burger::Shader2DColorVertex, Burger::Shader2DColorVertexDX9, Burger::Shader2DColorVertexOpenGL, Burger::SoundBufferRez, Burger::SoundManager::Buffer, Burger::SoundManager, Burger::Steam, Burger::Texture, Burger::TextureDirectX9, Burger::TextureOpenGL, Burger::VertexBuffer, Burger::VertexBufferDirectX9, Burger::VertexBufferOpenGL, and Burger::WeakAndStrongBase.
|
static |
The global description of the class.
This record contains the name of this class and a reference to the parent (If any)