JUCE
Public Types | Public Member Functions | List of all members
juce::MessageManager::MessageBase Class Referenceabstract

Internal class used as the base class for all message objects. More...

Inheritance diagram for juce::MessageManager::MessageBase:

Public Types

typedef ReferenceCountedObjectPtr< MessageBasePtr
 

Public Member Functions

 MessageBase () noexcept
 
virtual ~MessageBase ()
 
virtual void messageCallback ()=0
 
bool post ()
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
void decReferenceCount () noexcept
 Decreases the object's reference count. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
int getReferenceCount () const noexcept
 Returns the object's current reference count. More...
 

Additional Inherited Members

- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()
 Creates the reference-counted object (with an initial ref count of zero). More...
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
virtual ~ReferenceCountedObject ()
 Destructor. More...
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object. More...
 

Detailed Description

Internal class used as the base class for all message objects.

You shouldn't need to use this directly - see the CallbackMessage or Message classes instead.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ MessageBase()

juce::MessageManager::MessageBase::MessageBase ( )
noexcept

◆ ~MessageBase()

virtual juce::MessageManager::MessageBase::~MessageBase ( )
virtual

Member Function Documentation

◆ messageCallback()

virtual void juce::MessageManager::MessageBase::messageCallback ( )
pure virtual

Implemented in juce::CallbackMessage.

◆ post()

bool juce::MessageManager::MessageBase::post ( )

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