![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <CVShareable.h>

Public Member Functions | |
| CCShareable () | |
| Default constructor. More... | |
| virtual void | link () |
| Increase counter. More... | |
| virtual void | release () |
| Decrease counter and deletes object when 0. More... | |
| virtual unsigned | getLinkCount () const |
| Returns the current link count. More... | |
Protected Member Functions | |
| virtual | ~CCShareable () |
| Destructor. More... | |
Protected Attributes | |
| unsigned | m_linkCount |
| Links counter. More... | |
Definition at line 22 of file CVShareable.h.
| CCShareable::CCShareable | ( | ) |
Default constructor.
Definition at line 27 of file CVShareable.cpp.
|
protectedvirtual |
Destructor.
private to avoid deletion with 'delete' operator
Definition at line 42 of file CVShareable.cpp.
References std::swap().
|
inlinevirtual |
Returns the current link count.
Definition at line 40 of file CVShareable.h.
Referenced by define_CCShareable(), ccPropertiesTreeDelegate::fillWithShareable(), and cloudViewer::utility::pybind_scalarfield().
|
virtual |
Increase counter.
Should be called when this object is 'attached' to another one.
Definition at line 33 of file CVShareable.cpp.
References m_linkCount.
Referenced by qM3C2Process::Compute(), qVoxFallProcess::Compute(), ccComparisonDlg::computeDistances(), define_CCShareable(), qFacets::extractFacets(), ccHistogramWindow::fromSF(), DRCFilter::loadFile(), PrepareLASField(), cloudViewer::utility::pybind_scalarfield(), and ccMapWindow::setAssociatedScalarField().
|
virtual |
Decrease counter and deletes object when 0.
Should be called when this object is 'detached'.
Definition at line 35 of file CVShareable.cpp.
References m_linkCount.
Referenced by cloudViewer::PointCloudTpl< T >::addScalarField(), masc::Classifier::classify(), ccArray< Type, N, ComponentType >::clone(), NormsIndexesTableType::clone(), NormsTableType::clone(), ColorsTableType::clone(), RGBAColorsTableType::clone(), TextureCoordsContainer::clone(), qM3C2Process::Compute(), ccComparisonDlg::computeDistances(), cloudViewer::ScalarFieldTools::computeScalarFieldGradient(), DistanceMapGenerationTool::ConvertMapToCloud(), define_CCShareable(), qPoissonRecon::doAction(), FromFbxMesh(), ccHistogramWindow::fromSF(), cloudViewer::AutoSegmentationTools::frontPropagationBasedSegmentation(), ccRasterizeTool::generateHillshade(), CSVMatrixFilter::loadFile(), SimpleBinFilter::loadFile(), DRCFilter::loadFile(), LoadScan(), masc::PointFeature::prepare(), PrepareLASField(), masc::Feature::PrepareSF(), cloudViewer::utility::pybind_scalarfield(), and ccMapWindow::setAssociatedScalarField().
|
protected |