FastUIDraw
|
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>
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) |
Copyright 2016 by Intel.
Contact: kevin .rog ovin@ gmai 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/.
Definition in file reference_counted.hpp.