VISR  0.12.0
Versatile Interactive Scene Renderer
visr::rcl::ListenerCompensation Class Reference

#include <listener_compensation.hpp>

Inheritance diagram for visr::rcl::ListenerCompensation:
visr::AtomicComponent visr::Component

Public Types

using SampleType = visr::SampleType
 

Public Member Functions

 ListenerCompensation (SignalFlowContext const &context, char const *name, CompositeComponent *parent, panning::LoudspeakerArray const &arrayConfig)
 
 ListenerCompensation (ListenerCompensation const &)=delete
 
void process () override
 
- Public Member Functions inherited from visr::AtomicComponent
 AtomicComponent (SignalFlowContext const &context, char const *name, CompositeComponent *parent=nullptr)
 
 AtomicComponent (AtomicComponent const &)=delete
 
 AtomicComponent (AtomicComponent &&)=delete
 
virtual ~AtomicComponent () override
 
- Public Member Functions inherited from visr::Component
 Component (SignalFlowContext const &context, char const *componentName, CompositeComponent *parent)
 
 Component (SignalFlowContext const &context, std::string const &componentName, CompositeComponent *parent)
 
 Component (Component const &)=delete
 
 Component (Component &&)=delete
 
Componentoperator= (Component const &)=delete
 
Componentoperator= (Component &&)=delete
 
virtual ~Component ()
 
std::string const & name () const
 
std::string fullName () const
 
void status (StatusMessage::Kind status, char const *message)
 
template<typename ... MessageArgs>
void status (StatusMessage::Kind status, MessageArgs ... args)
 
bool isComposite () const
 
AudioPortBaseaudioPort (char const *portName)
 
AudioPortBase const & audioPort (char const *portName) const
 
AudioPortBaseaudioPort (std::string const &portName)
 
AudioPortBase const & audioPort (std::string const &portName) const
 
ParameterPortBaseparameterPort (char const *portName)
 
ParameterPortBase const & parameterPort (char const *portName) const
 
ParameterPortBaseparameterPort (std::string const &portName)
 
ParameterPortBase const & parameterPort (std::string const &portName) const
 
SamplingFrequencyType samplingFrequency () const
 
std::size_t period () const
 
bool isTopLevel () const
 
impl::ComponentImplementationimplementation ()
 
impl::ComponentImplementation const & implementation () const
 

Additional Inherited Members

- Static Public Member Functions inherited from visr::Component
static const std::string & nameSeparator ()
 
- Protected Member Functions inherited from visr::Component
 Component (impl::ComponentImplementation *impl)
 

Member Typedef Documentation

◆ SampleType

Constructor & Destructor Documentation

◆ ListenerCompensation() [1/2]

visr::rcl::ListenerCompensation::ListenerCompensation ( SignalFlowContext const &  context,
char const *  name,
CompositeComponent parent,
panning::LoudspeakerArray const &  arrayConfig 
)
explicit

Constructor.

Parameters
contextConfiguration object containing basic execution parameters.
nameThe name of the component. Must be unique within the containing composite component (if there is one).
parentPointer to a containing component if there is one. Specify nullptr in case of a top-level component.
arrayConfigThe loudspeaker configuration.

◆ ListenerCompensation() [2/2]

visr::rcl::ListenerCompensation::ListenerCompensation ( ListenerCompensation const &  )
delete

Disabled (deleted) copy constructor

Member Function Documentation

◆ process()

void visr::rcl::ListenerCompensation::process ( )
overridevirtual

The process function. It takes a listener position as input and calculates a gain vector and a delay vector.

Implements visr::AtomicComponent.


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