OpenShot Library | libopenshot-audio  0.1.9
juce::ChildProcessPingThread Struct Referenceabstract
+ Inheritance diagram for juce::ChildProcessPingThread:

Public Member Functions

 ChildProcessPingThread (int timeout)
 
void pingReceived () noexcept
 
void triggerConnectionLostMessage ()
 
virtual bool sendPingMessage (const MemoryBlock &)=0
 
virtual void pingFailed ()=0
 
- Public Member Functions inherited from juce::Thread
 Thread (const String &threadName, size_t threadStackSize=0)
 Creates a thread. More...
 
virtual ~Thread ()
 Destructor. More...
 
void startThread ()
 Starts the thread running. More...
 
void startThread (int priority)
 Starts the thread with a given priority. More...
 
bool stopThread (int timeOutMilliseconds)
 Attempts to stop the thread running. More...
 
bool isThreadRunning () const
 Returns true if the thread is currently active.
 
void signalThreadShouldExit ()
 Sets a flag to tell the thread it should stop. More...
 
bool threadShouldExit () const
 Checks whether the thread has been told to stop running. More...
 
bool waitForThreadToExit (int timeOutMilliseconds) const
 Waits for the thread to stop. More...
 
void addListener (Listener *)
 Add a listener to this thread which will receive a callback when signalThreadShouldExit was called on this thread. More...
 
void removeListener (Listener *)
 Removes a listener added with addListener. More...
 
bool setPriority (int priority)
 Changes the thread's priority. More...
 
void setAffinityMask (uint32 affinityMask)
 Sets the affinity mask for the thread. More...
 
bool wait (int timeOutMilliseconds) const
 Suspends the execution of this thread until either the specified timeout period has elapsed, or another thread calls the notify() method to wake it up. More...
 
void notify () const
 Wakes up the thread. More...
 
ThreadID getThreadId () const noexcept
 Returns the ID of this thread. More...
 
const StringgetThreadName () const noexcept
 Returns the name of the thread. More...
 

Public Attributes

int timeoutMs
 

Additional Inherited Members

- Public Types inherited from juce::Thread
enum  { realtimeAudioPriority = -1 }
 Special realtime audio thread priority. More...
 
using ThreadID = void *
 A value type used for thread IDs. More...
 
- Static Public Member Functions inherited from juce::Thread
static void launch (std::function< void()> functionToRun)
 Invokes a lambda or function on its own thread. More...
 
static bool currentThreadShouldExit ()
 Checks whether the current thread has been told to stop running. More...
 
static bool setCurrentThreadPriority (int priority)
 Changes the priority of the caller thread. More...
 
static void JUCE_CALLTYPE setCurrentThreadAffinityMask (uint32 affinityMask)
 Changes the affinity mask for the caller thread. More...
 
static void JUCE_CALLTYPE sleep (int milliseconds)
 Suspends the execution of the current thread until the specified timeout period has elapsed (note that this may not be exact). More...
 
static void JUCE_CALLTYPE yield ()
 Yields the current thread's CPU time-slot and allows a new thread to run. More...
 
static ThreadID JUCE_CALLTYPE getCurrentThreadId ()
 Returns an id that identifies the caller thread. More...
 
static Thread *JUCE_CALLTYPE getCurrentThread ()
 Finds the thread object that is currently running. More...
 
static void JUCE_CALLTYPE setCurrentThreadName (const String &newThreadName)
 Changes the name of the caller thread. More...
 
static void initialiseJUCE (void *jniEnv, void *jContext)
 Initialises the JUCE subsystem for projects not created by the Projucer. More...
 

Detailed Description

Definition at line 46 of file juce_ConnectedChildProcess.cpp.


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