The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHAPlugin_Split::dummy_threads_t Class Reference

Dummy specification of a thread platform: This class implements everything in a single thread. More...

Inheritance diagram for MHAPlugin_Split::dummy_threads_t:
Inheritance graph

Public Member Functions

void kick_thread ()
 perform signal processing immediately (no multiple threads in this dummy class) More...
 
void catch_thread ()
 No implementation needed: Processing has been completed during ummy_threads_t::kick_thread. More...
 
 dummy_threads_t (uni_processor_t *proc, const std::string &thread_scheduler, int thread_priority)
 Constructor. More...
 
- Public Member Functions inherited from MHAPlugin_Split::thread_platform_t
 thread_platform_t (uni_processor_t *proc)
 Constructor. More...
 
virtual ~thread_platform_t ()
 Make derived classes destructable via pointer to this base class. More...
 

Additional Inherited Members

- Protected Attributes inherited from MHAPlugin_Split::thread_platform_t
uni_processor_tprocessor
 A pointer to the plugin loader that processes the sound data in the channels for which this thread was created. More...
 

Detailed Description

Dummy specification of a thread platform: This class implements everything in a single thread.

Constructor & Destructor Documentation

◆ dummy_threads_t()

MHAPlugin_Split::dummy_threads_t::dummy_threads_t ( uni_processor_t proc,
const std::string &  thread_scheduler,
int  thread_priority 
)
inline

Constructor.

Parameters
procPointer to the associated plugin loader
thread_schedulerUnused in dummy thread platform
thread_priorityUnused in dummy thread platform

Member Function Documentation

◆ kick_thread()

void MHAPlugin_Split::dummy_threads_t::kick_thread ( )
inlinevirtual

perform signal processing immediately (no multiple threads in this dummy class)

Implements MHAPlugin_Split::thread_platform_t.

◆ catch_thread()

void MHAPlugin_Split::dummy_threads_t::catch_thread ( )
inlinevirtual

No implementation needed: Processing has been completed during ummy_threads_t::kick_thread.

Implements MHAPlugin_Split::thread_platform_t.


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