Shared Graphic Context Data. More...

#include <shared_gc_data.h>

Static Public Member Functions

static void add_disposable (DisposableObject *disposable)
 Add disposable. More...
 
static void add_provider (GraphicContextProvider *provider)
 Add a provider. More...
 
static void add_ref ()
 Add ref. More...
 
static std::vector
< GraphicContextProvider * > & 
get_gc_providers (std::unique_ptr< std::unique_lock< std::recursive_mutex >> &mutex_section)
 Get the providers. More...
 
static GraphicContextProviderget_provider (std::unique_ptr< std::unique_lock< std::recursive_mutex >> &mutex_section)
 Get a provider. More...
 
static void release_ref ()
 Release ref. More...
 
static void remove_disposable (DisposableObject *disposable)
 Remove disposable. More...
 
static void remove_provider (GraphicContextProvider *provider)
 Remove a provider. More...
 

Detailed Description

Shared Graphic Context Data.

Member Function Documentation

static void clan::SharedGCData::add_disposable ( DisposableObject disposable)
static

Add disposable.

Parameters
disposable= Disposable Object
static void clan::SharedGCData::add_provider ( GraphicContextProvider provider)
static

Add a provider.

static void clan::SharedGCData::add_ref ( )
static

Add ref.

static std::vector<GraphicContextProvider*>& clan::SharedGCData::get_gc_providers ( std::unique_ptr< std::unique_lock< std::recursive_mutex >> &  mutex_section)
static

Get the providers.

Parameters
mutex_section: Returns the mutex section for the provider lock
Returns
NULL = None available
static GraphicContextProvider* clan::SharedGCData::get_provider ( std::unique_ptr< std::unique_lock< std::recursive_mutex >> &  mutex_section)
static

Get a provider.

Parameters
mutex_section: Returns the mutex section for the provider lock
Returns
NULL = None available
static void clan::SharedGCData::release_ref ( )
static

Release ref.

static void clan::SharedGCData::remove_disposable ( DisposableObject disposable)
static

Remove disposable.

Parameters
disposable= Disposable Object
static void clan::SharedGCData::remove_provider ( GraphicContextProvider provider)
static

Remove a provider.


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