Internal class used as the base class for all message objects.
More...
#include <juce_MessageManager.h>
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.
◆ Ptr
◆ MessageBase()
juce::MessageManager::MessageBase::MessageBase |
( |
| ) |
|
|
default |
◆ ~MessageBase()
juce::MessageManager::MessageBase::~MessageBase |
( |
| ) |
|
|
overridedefault |
◆ decReferenceCount()
void juce::ReferenceCountedObject::decReferenceCount |
( |
| ) |
|
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will be deleted.
References jassert.
◆ decReferenceCountWithoutDeleting()
bool juce::ReferenceCountedObject::decReferenceCountWithoutDeleting |
( |
| ) |
|
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will not be deleted, but this method will return true, allowing the caller to take care of deletion.
References jassert.
◆ getReferenceCount()
int juce::ReferenceCountedObject::getReferenceCount |
( |
| ) |
const |
|
inlinenoexceptinherited |
Returns the object's current reference count.
◆ incReferenceCount()
void juce::ReferenceCountedObject::incReferenceCount |
( |
| ) |
|
|
inlinenoexceptinherited |
◆ messageCallback()
virtual void juce::MessageManager::MessageBase::messageCallback |
( |
| ) |
|
|
pure virtual |
◆ post()
bool juce::MessageManager::MessageBase::post |
( |
| ) |
|
◆ resetReferenceCount()
void juce::ReferenceCountedObject::resetReferenceCount |
( |
| ) |
|
|
inlineprotectednoexceptinherited |
Resets the reference count to zero without deleting the object.
You should probably never need to use this!
◆ refCount
Atomic<int> juce::ReferenceCountedObject::refCount { 0 } |
|
privateinherited |
The documentation for this class was generated from the following file: