dsp::SourceFactory Class Reference

Creates new Source objects. More...

#include <SourceFactory.h>

Inheritance diagram for dsp::SourceFactory:
Reference::Able Reference::HeapTracked

Public Member Functions

dsp::Sourcecreate (const std::string &descriptor)
 Construct a new child of Source based on the descriptor. More...
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Creates new Source objects.

Member Function Documentation

◆ create()

dsp::Source * dsp::SourceFactory::create ( const std::string &  descriptor)

Construct a new child of Source based on the descriptor.

Return a pointer to a new instance of the appropriate sub-class.

References Error::get_message(), and dsp::UnpackerSource< UnpackerType, InputType >::set_input().

Referenced by dsp::SingleThread::Config::open().


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

Generated using doxygen 1.8.17