FastUIDraw
Classes | Namespaces | Functions
reference_counted.hpp File Reference

file reference_counted.hpp More...

#include <fastuidraw/util/util.hpp>
#include <fastuidraw/util/fastuidraw_memory.hpp>
#include <fastuidraw/util/reference_count_atomic.hpp>
#include <fastuidraw/util/reference_count_non_concurrent.hpp>
Include dependency graph for reference_counted.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fastuidraw::reference_counted< T >
 Defines default reference counting base classes. More...
 
class  fastuidraw::reference_counted_base< T, Counter >
 Base class to use for reference counted objects, for using reference_counted_ptr. See also reference_counted. Object deletion (when the reference count goes to zero) is performed via FASTUIDRAWdelete. As a consequence of using FASTUIDRAWdelete, objects must be created with FASTUIDRAWnew. More...
 
class  fastuidraw::reference_counted_ptr< T >
 A wrapper over a pointer to implement reference counting. More...
 
class  fastuidraw::resource_base
 A common base class to use for resources that need to be saved opaquely. More...
 

Namespaces

 fastuidraw
 all classes and functions of FastUIDraw are in the namespace fastuidraw.
 

Functions

template<typename T , typename S >
bool fastuidraw::operator!= (T *lhs, const reference_counted_ptr< S > &rhs)
 
template<typename T , typename S >
bool fastuidraw::operator== (T *lhs, const reference_counted_ptr< S > &rhs)
 
template<typename T >
void fastuidraw::swap (reference_counted_ptr< T > &lhs, reference_counted_ptr< T > &rhs)
 

Detailed Description

file reference_counted.hpp

Copyright 2016 by Intel.

Contact: kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.gmai.nosp@m.l.com

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Author
Kevin Rogovin kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.gmai.nosp@m.l.com

Definition in file reference_counted.hpp.