trikRuntime
|
#include <QtCore/QSharedPointer>
Go to the source code of this file.
Classes | |
class | trikKernel::DifferentOwnerPointer< T > |
Smart pointer that can hold two different kinds of pointers: where ownership belongs to someone else and where ownership belongs to this object (some mix of shared pointer and weak pointer). More... | |
Namespaces | |
trikKernel | |
Functions | |
template<typename T > | |
DifferentOwnerPointer< T > | trikKernel::createDifferentOwnerPointer (T &foreignObject) |
Helper function that creates DifferentOwnerPointer that does not own object. More... | |
template<typename T > | |
DifferentOwnerPointer< T > | trikKernel::createDifferentOwnerPointer (const QSharedPointer< T > &sharedObject) |
Helper function that creates DifferentOwnerPointer that shares object. More... | |
template<typename T > | |
DifferentOwnerPointer< T > | trikKernel::createDifferentOwnerPointer (T *const ownObject) |
Helper function that creates DifferentOwnerPointer that owns object. More... | |