Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Attributes | List of all members
gte::GraphicsObject Class Reference

#include <GteGraphicsObject.h>

Inheritance diagram for gte::GraphicsObject:
Inheritance graph
[legend]

Classes

class  ListenerForDestruction
 

Public Member Functions

std::string const & GetName () const
 
GraphicsObjectType GetType () const
 
bool IsBuffer () const
 
bool IsDrawingState () const
 
bool IsShader () const
 
bool IsTexture () const
 
bool IsTextureArray () const
 
void SetName (std::string const &name)
 
virtual ~GraphicsObject ()
 

Static Public Member Functions

static void SubscribeForDestruction (std::shared_ptr< ListenerForDestruction > const &listener)
 
static void UnsubscribeForDestruction (std::shared_ptr< ListenerForDestruction > const &listener)
 

Protected Member Functions

 GraphicsObject ()
 

Protected Attributes

std::string mName
 
GraphicsObjectType mType
 

Static Private Attributes

static std::mutex msLFDMutex
 
static std::set< std::shared_ptr< ListenerForDestruction > > msLFDSet
 

Detailed Description

Definition at line 115 of file GteGraphicsObject.h.

Constructor & Destructor Documentation

GraphicsObject::~GraphicsObject ( )
virtual

Definition at line 12 of file GteGraphicsObject.cpp.

GraphicsObject::GraphicsObject ( )
protected

Definition at line 24 of file GteGraphicsObject.cpp.

Member Function Documentation

std::string const & gte::GraphicsObject::GetName ( ) const
inline

Definition at line 200 of file GteGraphicsObject.h.

GraphicsObjectType gte::GraphicsObject::GetType ( ) const
inline

Definition at line 165 of file GteGraphicsObject.h.

bool gte::GraphicsObject::IsBuffer ( ) const
inline

Definition at line 170 of file GteGraphicsObject.h.

bool gte::GraphicsObject::IsDrawingState ( ) const
inline

Definition at line 190 of file GteGraphicsObject.h.

bool gte::GraphicsObject::IsShader ( ) const
inline

Definition at line 185 of file GteGraphicsObject.h.

bool gte::GraphicsObject::IsTexture ( ) const
inline

Definition at line 175 of file GteGraphicsObject.h.

bool gte::GraphicsObject::IsTextureArray ( ) const
inline

Definition at line 180 of file GteGraphicsObject.h.

void gte::GraphicsObject::SetName ( std::string const &  name)
inline

Definition at line 195 of file GteGraphicsObject.h.

void GraphicsObject::SubscribeForDestruction ( std::shared_ptr< ListenerForDestruction > const &  listener)
static

Definition at line 30 of file GteGraphicsObject.cpp.

void GraphicsObject::UnsubscribeForDestruction ( std::shared_ptr< ListenerForDestruction > const &  listener)
static

Definition at line 39 of file GteGraphicsObject.cpp.

Member Data Documentation

std::string gte::GraphicsObject::mName
protected

Definition at line 157 of file GteGraphicsObject.h.

std::mutex GraphicsObject::msLFDMutex
staticprivate

Definition at line 161 of file GteGraphicsObject.h.

std::set< std::shared_ptr< GraphicsObject::ListenerForDestruction > > GraphicsObject::msLFDSet
staticprivate

Definition at line 162 of file GteGraphicsObject.h.

GraphicsObjectType gte::GraphicsObject::mType
protected

Definition at line 156 of file GteGraphicsObject.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06