Emergency 20 Dokumentation  4.2.0
qsf::WeakPtrTarget Class Reference

Weak pointer target base class. More...

#include <WeakPtr.h>

Inheritance diagram for qsf::WeakPtrTarget:
em5::FreeplayEvent em5::OverlayWindowManager qsf::ai::ECollisionObject qsf::Component qsf::GameLogic qsf::MeshAnimationChannel qsf::Prototype qsf::SoundTrackManager

Protected Member Functions

 WeakPtrTarget ()
 Default constructor. More...
 
 WeakPtrTarget (const WeakPtrTarget &other)
 Copy constructor. More...
 
 WeakPtrTarget (WeakPtrTarget &&)=delete
 Delete the move constructor, as WeakPtrTarget would need a proper move constructor-implementation that ensures that its pointer gets updated in the WeakPtrBase as well. More...
 
 ~WeakPtrTarget ()
 Destructor. More...
 
void invalidateAllWeakPtr ()
 Invalidate all weak pointers to this object. More...
 
void operator= (const WeakPtrTarget &other)
 Copy operator. More...
 

Friends

class WeakPtrBase
 

Detailed Description

Weak pointer target base class.

Constructor & Destructor Documentation

qsf::WeakPtrTarget::WeakPtrTarget ( )
inlineprotected

Default constructor.

qsf::WeakPtrTarget::WeakPtrTarget ( const WeakPtrTarget other)
inlineprotected

Copy constructor.

qsf::WeakPtrTarget::WeakPtrTarget ( WeakPtrTarget &&  )
inlineprotecteddelete

Delete the move constructor, as WeakPtrTarget would need a proper move constructor-implementation that ensures that its pointer gets updated in the WeakPtrBase as well.

qsf::WeakPtrTarget::~WeakPtrTarget ( )
inlineprotected

Destructor.

Note
  • Not virtual by intent

Member Function Documentation

void qsf::WeakPtrTarget::invalidateAllWeakPtr ( )
inlineprotected

Invalidate all weak pointers to this object.

void qsf::WeakPtrTarget::operator= ( const WeakPtrTarget other)
inlineprotected

Copy operator.

Friends And Related Function Documentation

friend class WeakPtrBase
friend

The documentation for this class was generated from the following files: