|
vsg 1.1.3
VulkanSceneGraph library
|
#include <Auxiliary.h>

Public Types | |
| using | ObjectMap = std::map<std::string, vsg::ref_ptr<Object>> |
Public Member Functions | |
| std::mutex & | getMutex () const |
| Object * | getConnectedObject () |
| const Object * | getConnectedObject () const |
| virtual std::size_t | getSizeOf () const |
| void | ref () const |
| void | unref () const |
| void | unref_nodelete () const |
| unsigned int | referenceCount () const |
| virtual int | compare (const Auxiliary &rhs) const |
| void | setObject (const std::string &key, ref_ptr< Object > object) |
| Object * | getObject (const std::string &key) |
| const Object * | getObject (const std::string &key) const |
| ref_ptr< Object > | getRefObject (const std::string &key) |
| ref_ptr< const Object > | getRefObject (const std::string &key) const |
Public Attributes | |
| ObjectMap | userObjects |
| container for all user objects | |
Protected Member Functions | |
| Auxiliary (Object *object) | |
| bool | signalConnectedObjectToBeDeleted () |
| void | resetConnectedObject () |
Protected Attributes | |
| std::atomic_uint | _referenceCount |
| std::mutex | _mutex |
| Object * | _connectedObject |
Friends | |
| class | Object |
| class | Allocator |
|
protected |
reset the ConnectedObject pointer to 0 unless the ConnectedObject referenceCount goes back above 0, return true if ConnectedObject should still be deleted, or false if the object should be kept.