rwlogo

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
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

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.


© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.