Views
Maps Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvI8211RefCount Class Reference

This class is used to manage the objects which are shared by several other objects. More...

#include <ilviews/maps/format/s57/i8211util.h>

Inheritance diagram for IlvI8211RefCount:
IlvS57Enumeration IlvS57Record IlvDSIDRecord IlvDSPMRecord IlvFRIDRecord IlvVRIDRecord

Public Member Functions

void lock ()
 Locks the object. More...
 
void unLock ()
 Unlocks the object. More...
 

Detailed Description

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.

See also
IlvS57Enumeration.

Member Function Documentation

◆ lock()

void IlvI8211RefCount::lock ( )

Locks the object.

Locks the object to avoid its destruction while it is shared by several objects.

◆ unLock()

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.