Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
No Matches
Public Member Functions | Static Public Attributes | List of all members
Burger::Base Class Reference

Base class for virtual destructor. More...

Inheritance diagram for Burger::Base:
Inheritance graph
Collaboration diagram for Burger::Base:
Collaboration graph

Public Member Functions

const char * get_class_name (void) const noexcept
 Get the name of the class.
virtual const Burger::StaticRTTIget_StaticRTTI (void) const noexcept
 Get the description to the class.
virtual ~Base () noexcept=default

Static Public Attributes

static const Burger::StaticRTTI g_StaticRTTI
 The global description of the class.

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~Base()

Burger::Base::~Base ( )


Does absolutely nothing

Member Function Documentation

◆ get_class_name()

const char * Burger::Base::get_class_name ( void ) const

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.

Pointer to a global, read only "C" string with the true name of the class

◆ get_StaticRTTI()

const Burger::StaticRTTI * Burger::Base::get_StaticRTTI ( void ) const

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.

Pointer to a global, read only instance of StaticRTTI for the true class

Reimplemented in Burger::AllocatorBase, Burger::AllocatorANSI, Burger::RandomBase, Burger::Random, Burger::RandomMersenneTwist, Burger::AllocatorHandle, Burger::ReferenceCounter, Burger::WeakAndStrongBase, Burger::ConsoleApp, Burger::Compress, Burger::CompressILBMRLE, Burger::CompressLZSS, Burger::CompressDeflate, Burger::Decompress, Burger::DecompressILBMRLE, Burger::DecompressLZSS, Burger::DecompressDeflate, Burger::GameApp, Burger::DisplayObject, Burger::Texture, Burger::VertexBuffer, Burger::VertexBufferOpenGL, Burger::VertexBufferDirectX9, Burger::Effect, Burger::Display, Burger::DisplayOpenGL, Burger::DisplayOpenGLSoftware8, Burger::DisplayDirectX9, Burger::DisplayDirectX11, Burger::TextureDirectX9, Burger::TextureOpenGL, Burger::EffectPositionTexture, Burger::EffectPositionTextureDX9, Burger::EffectPositionTextureOpenGL, Burger::Effect2D, Burger::Effect2DDX9, Burger::Effect2DOpenGL, Burger::EffectPositionColorTexture, Burger::EffectPositionColorTextureDX9, Burger::EffectPositionColorTextureOpenGL, Burger::Shader2DColorVertex, Burger::Shader2DColorVertexDX9, Burger::Shader2DColorVertexOpenGL, Burger::Shader2DCColor, Burger::Shader2DCColorDX9, Burger::Shader2DCColorOpenGL, Burger::Font, Burger::Font4Bit, Burger::CommandParameter, Burger::Mouse, Burger::Keyboard, Burger::Joypad, Burger::SoundManager, Burger::SoundManager::Buffer, Burger::DecompressAudio, Burger::DecompressUnsigned8BitAudio, Burger::DecompressSigned8BitAudio, Burger::Decompress16BitBEAudio, Burger::Decompress16BitLEAudio, Burger::Decompress32BitBEAudio, Burger::Decompress32BitLEAudio, Burger::DecompressMace3, Burger::DecompressMace6, Burger::DecompressULaw, Burger::DecompressALaw, Burger::DecompressMicrosoftADPCM, Burger::DecompressMP3, Burger::SoundBufferRez, Burger::NetworkModuleSettings, Burger::NetworkModule, Burger::NetPlay, Burger::Steam, Burger::Flash::BaseExecute, Burger::Flash::SharedBuffer, and Burger::Flash::ActionScriptProperty.

Member Data Documentation

◆ g_StaticRTTI

const Burger::StaticRTTI Burger::Base::g_StaticRTTI

The global description of the class.

This record contains the name of this class and a reference to the parent (If any)