VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
CBaseObject Class Reference

Base Object with reference counter. More...

+ Inheritance diagram for CBaseObject:

Public Member Functions

 CBaseObject ()=default
 
 ~CBaseObject () noexcept override=default
 
 CBaseObject (const CBaseObject &o)
 
CBaseObjectoperator= (const CBaseObject &obj)
 
Message Methods
virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 
- Public Member Functions inherited from ReferenceCounted< T >
 ReferenceCounted ()=default
 
virtual ~ReferenceCounted () noexcept=default
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
void forget () override
 decrease refcount and delete object if refcount == 0 More...
 
void remember () override
 increase refcount More...
 
virtual int32_t getNbReference () const
 get refcount More...
 
virtual void beforeDelete ()
 

Detailed Description

Base Object with reference counter.

Constructor & Destructor Documentation

◆ CBaseObject() [1/2]

CBaseObject ( )
default

◆ ~CBaseObject()

~CBaseObject ( )
overridedefaultnoexcept

◆ CBaseObject() [2/2]

CBaseObject ( const CBaseObject o)
inline

Member Function Documentation

◆ notify()

◆ operator=()

CBaseObject& operator= ( const CBaseObject obj)
inline

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