bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
#include <RCObjectInterface.h>
Public Member Functions | |
virtual int | getRefCount () const =0 |
virtual int | ref () const =0 |
virtual void | removeFromPool () const =0 |
virtual std::string | toString () const =0 |
virtual int | unref () const =0 |
Interface class for a reference counted object.
Definition at line 39 of file RCObjectInterface.h.
|
pure virtual |
Get the current reference count
Implemented in agg_util::RCObject, and RCObject.
|
pure virtual |
Increase the reference count by one. const since we do not consider the ref count part of the semantic constness of the rep
Implemented in agg_util::RCObject, and RCObject.
|
pure virtual |
If the object is in an auto-delete pool, remove it from the pool and force it to only delete when it's ref count goes to 0. Useful when we desire a particular object stay around outside of the pool's lifetime.
Implemented in agg_util::RCObject, and RCObject.
|
pure virtual |
Implemented in agg_util::RCObject, ncml_module::AggregationElement, ncml_module::AttributeElement, ncml_module::DimensionElement, ncml_module::ExplicitElement, ncml_module::NCMLElement, ncml_module::NetcdfElement, ncml_module::ReadMetadataElement, ncml_module::RemoveElement, ncml_module::ScanElement, ncml_module::ValuesElement, ncml_module::VariableAggElement, ncml_module::VariableElement, and RCObject.
|
pure virtual |
Decrease the reference count by one. If it goes from 1 to 0, delete this and this is no longer valid.
It is illegal to unref() an object with a count of 0. We don't throw to allow use in dtors, so the caller is to not do it!
const since the reference count is not part of the semantic constness of the rep
Implemented in agg_util::RCObject, and RCObject.