OpenShot Library | libopenshot-audio 0.2.0
juce::AsyncFunctionCallback Class Reference
+ Inheritance diagram for juce::AsyncFunctionCallback:

Public Member Functions

 AsyncFunctionCallback (MessageCallbackFunction *const f, void *const param)
 
void messageCallback () override
 
- Public Member Functions inherited from juce::MessageManager::MessageBase
virtual void messageCallback ()=0
 
bool post ()
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count.
 
void decReferenceCount () noexcept
 Decreases the object's reference count.
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count.
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 

Public Attributes

WaitableEvent finished
 
std::atomic< void * > result { nullptr }
 

Additional Inherited Members

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

Detailed Description

Definition at line 144 of file juce_MessageManager.cpp.

Constructor & Destructor Documentation

◆ AsyncFunctionCallback()

juce::AsyncFunctionCallback::AsyncFunctionCallback ( MessageCallbackFunction *const  f,
void *const  param 
)
inline

Definition at line 147 of file juce_MessageManager.cpp.

Member Function Documentation

◆ messageCallback()

void juce::AsyncFunctionCallback::messageCallback ( )
inlineoverridevirtual

Implements juce::MessageManager::MessageBase.

Definition at line 151 of file juce_MessageManager.cpp.

Member Data Documentation

◆ finished

WaitableEvent juce::AsyncFunctionCallback::finished

Definition at line 157 of file juce_MessageManager.cpp.

◆ result

std::atomic<void*> juce::AsyncFunctionCallback::result { nullptr }

Definition at line 158 of file juce_MessageManager.cpp.


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