Support Forum       G3D Web Page     
Public Member Functions | Static Protected Member Functions | List of all members
G3D::ReferenceCountedObject Class Reference

Inherits enable_shared_from_this< ReferenceCountedObject >.

Inherited by G3D::_BSPMAP::Map, G3D::AmbientOcclusion, G3D::BilateralFilter, G3D::BlockPoolMemoryManager, G3D::BumpMap, G3D::Conduit, G3D::CubeMap, G3D::DDGIVolume, G3D::DepthOfField, G3D::DirectionHistogram [private], G3D::Entity, G3D::Entity::Track, G3D::Film, G3D::Film::Filter, G3D::Framebuffer, G3D::Framebuffer::Attachment, G3D::GaussianMIPFilter, G3D::GazeTracker, G3D::GBuffer, G3D::GFont, G3D::Grid< Cell >, G3D::GuiTheme, G3D::IconSet, G3D::Image, G3D::LogScaleAdapter< T >, G3D::Map2D< Storage, Compute >, G3D::MapComponent< Image >, G3D::Material, G3D::Matrix::Impl, G3D::MD2Model::Part, G3D::MD3Model::Skin, G3D::MemoryManager, G3D::Milestone, G3D::Model, G3D::Model::Pose, G3D::MotionBlur, G3D::NegativeAdapter< T >, G3D::NetSendConnection, G3D::NetServer, G3D::NotAdapter, G3D::ParseMTL::Material, G3D::ParseOBJ::Group, G3D::ParseOBJ::Mesh, G3D::ParticleMaterial, G3D::ParticleSystem::PhysicsEnvironment, G3D::ParticleSystemModel::Emitter, G3D::PathTracer, G3D::PercentageAdapter< T >, G3D::PixelTransferBuffer, G3D::PointModel::PointArray, G3D::PowerOfTwoAdapter< T >, G3D::PrefixTree, G3D::Renderer, G3D::Scene, G3D::Shader, G3D::Shader::ShaderProgram, G3D::ShadowMap, G3D::Shape, G3D::Sound, G3D::SquareAdapter< T >, G3D::Surface, G3D::Surface2D, G3D::Surfel, G3D::SVO, G3D::Texture, G3D::TriTree, G3D::UniformTable, G3D::UniversalBSDF, G3D::UniversalSurface::GPUGeom, G3D::VertexBuffer, G3D::VideoInput, G3D::VideoOutput, G3D::VideoPlayer, G3D::VideoStreamClient, G3D::VideoStreamServer, G3D::WebServer, G3D::WebServer::WebSocket, G3D::XR, G3D::XR::Object, G3D::Map2D< Color1, Color1 >, G3D::Map2D< Color1unorm8, Color1 >, G3D::Map2D< Color3, Color3 >, G3D::Map2D< Color3unorm8, Color3 >, G3D::Map2D< Color4, Color4 >, and G3D::Map2D< Color4unorm8, Color4 >.

Public Member Functions

virtual ~ReferenceCountedObject ()
 

Static Protected Member Functions

template<class T , class ... ArgTypes>
static shared_ptr< T > createShared (ArgTypes &&... args)
 Like std::make_shared, but works for protected constructors. More...
 

Constructor & Destructor Documentation

◆ ~ReferenceCountedObject()

virtual G3D::ReferenceCountedObject::~ReferenceCountedObject ( )
inlinevirtual

Member Function Documentation

◆ createShared()

template<class T , class ... ArgTypes>
static shared_ptr<T> G3D::ReferenceCountedObject::createShared ( ArgTypes &&...  args)
inlinestaticprotected

Like std::make_shared, but works for protected constructors.

Call as createShared<myclass>.


documentation generated on Wed Nov 24 2021 08:01:59 using doxygen 1.8.15