OpendTect  7.0
Public Member Functions | Protected Types | Protected Member Functions | List of all members
NonConstPtrManBase< T > Class Template Reference

Inherits PtrManBase< T >.

Inherited by ArrPtrMan< ContinuousCurvatureArray2DInterpol::BriggsData >, ArrPtrMan< float >, ArrPtrMan< ColTab::Sequence >, ArrPtrMan< char >, ArrPtrMan< ContinuousCurvatureArray2DInterpol::HorizonData >, PtrMan< QPixmap >, PtrMan< PosInfo::CubeDataIndex >, PtrMan< StreamData::StreamDataImpl >, PtrMan< OS::CommandLauncher >, PtrMan< Geometry::PrimitiveSetCreator >, PtrMan< OD::JSON::Object >, PtrMan< Array2D< float > >, PtrMan< SeisSequentialWriter >, PtrMan< OD::RGBImageLoader >, PtrMan< Coords::CRSInfoList >, PtrMan< TypeSet< float > >, PtrMan< ReflectivitySampler >, PtrMan< SeisTrcWriter >, PtrMan< StratSynth::DataMgr >, PtrMan< ValueSeriesInterpolator< float > >, PtrMan< TypeSet< Coord > >, RefMan< FlatDataPack >, RefMan< Vel::FunctionSource >, RefMan< EM::Horizon3D >, RefMan< EM::Horizon2D >, RefMan< EM::Surface >, RefMan< visBase::Text2 >, RefMan< EM::EMObject >, RefMan< visBase::Normals >, RefMan< Vel::VolumeFunctionSource >, RefMan< Pick::Set >, RefMan< DistribType >, RefMan< visBase::TextureChannels >, RefMan< EM::Horizon >, RefMan< ReflectivityModelTrace >, RefMan< SeisTrcBufDataPack >, RefMan< visBase::Scene >, RefMan< MonitoredObject::ChangeData::AuxData >, RefMan< visSurvey::VolumeDisplay >, RefMan< OffsetReflectivityModel >, RefMan< DataPack >, RefMan< Network::RequestPacket >, RefMan< visBase::Coordinates >, RefMan< SeisDataPack >, RefMan< visBase::DataObjectGroup >, RefMan< AngleReflectivityModel >, RefMan< visBase::ThumbWheel >, RefMan< Time2DepthStretcher >, RefMan< visBase::TextureRectangle >, RefMan< visBase::PolygonSelection >, RefMan< DataDistribution >, RefMan< Coords::CoordSystem >, RefMan< visBase::Transformation >, RefMan< visBase::Axes >, RefMan< Well::Data >, RefMan< ZAxisTransform >, RefMan< visBase::SceneColTab >, RefMan< RegularSeisDataPack >, RefMan< PickRetriever >, RefMan< visSurvey::PlaneDataDisplay >, RefMan< Network::HttpRequestProcess >, RefMan< PreStack::AngleComputer >, RefMan< visBase::DepthTabPlaneDragger >, RefMan< visBase::Camera >, RefMan< DataPointSet >, ArrPtrMan< T >, PtrMan< T >, and RefMan< T >.

Public Member Functions

T * getNonConstPtr () const
 
 operator const T * () const
 
 operator T* ()
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
T * ptr ()
 
const T * ptr () const
 
- Public Member Functions inherited from PtrManBase< T >
T * createIfNull (PointerCreator=createSingleObject< T >)
 
void erase ()
 
bool operator! () const
 
T * release ()
 Returns pointer. I won't take care of it any longer. More...
 
T * set (T *p, bool doerase=true)
 Returns old pointer if not erased. More...
 
bool setIfNull (T *p)
 
bool setIfNull (T *p, bool takeover)
 

Protected Types

typedef void(* PtrFunc) (T *)
 
- Protected Types inherited from PtrManBase< T >
typedef void(* PtrFunc) (T *)
 

Protected Member Functions

 NonConstPtrManBase (PtrFunc setfunc, PtrFunc deletor, T *p)
 
- Protected Member Functions inherited from PtrManBase< T >
 PtrManBase (PtrFunc setfunc, PtrFunc deletor, T *)
 
virtual ~PtrManBase ()
 

Additional Inherited Members

- Public Types inherited from PtrManBase< T >
typedef T *(* PointerCreator) ()
 
- Protected Attributes inherited from PtrManBase< T >
PtrFunc deletefunc_
 
Threads::AtomicPointer< T > ptr_
 
PtrFunc setfunc_
 

Detailed Description

template<class T>
class NonConstPtrManBase< T >

<>

Member Typedef Documentation

◆ PtrFunc

template<class T >
typedef void(* NonConstPtrManBase< T >::PtrFunc) (T *)
protected

Constructor & Destructor Documentation

◆ NonConstPtrManBase()

template<class T >
NonConstPtrManBase< T >::NonConstPtrManBase ( PtrFunc  setfunc,
PtrFunc  deletor,
T *  p 
)
inlineprotected

Member Function Documentation

◆ getNonConstPtr()

template<class T >
T* NonConstPtrManBase< T >::getNonConstPtr ( ) const
inline

◆ operator const T *()

template<class T >
NonConstPtrManBase< T >::operator const T * ( ) const
inline

◆ operator T*()

template<class T >
NonConstPtrManBase< T >::operator T* ( )
inline

◆ operator*() [1/2]

template<class T >
T& NonConstPtrManBase< T >::operator* ( )
inline

◆ operator*() [2/2]

template<class T >
const T& NonConstPtrManBase< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<class T >
T* NonConstPtrManBase< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<class T >
const T* NonConstPtrManBase< T >::operator-> ( ) const
inline

◆ ptr() [1/2]

template<class T >
T* NonConstPtrManBase< T >::ptr ( )
inline

◆ ptr() [2/2]

template<class T >
const T* NonConstPtrManBase< T >::ptr ( ) const
inline

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024