This class is used to manage the objects which are shared by several other objects. More...
#include <ilviews/maps/format/s57/i8211util.h>
Public Member Functions | |
void | lock () |
Locks the object. More... | |
void | unLock () |
Unlocks the object. More... | |
This class is used to manage the objects which are shared by several other objects.
Library: ilvmaps
This class is used to manage the life of objects which are shared by several other objects. When a class inherits from this class, the object of this class cannot be directly deleted.
IlvS57Enumeration
. void IlvI8211RefCount::lock | ( | ) |
Locks the object.
Locks the object to avoid its destruction while it is shared by several objects.
void IlvI8211RefCount::unLock | ( | ) |
Unlocks the object.
Unlocks the object, if it isn't shared with another object, the object is deleted, then its destructor is called.