Carla Backend
Public Member Functions | List of all members
CarlaEngineCVPort Class Reference

#include <CarlaEngine.hpp>

Inheritance diagram for CarlaEngineCVPort:
CarlaEnginePort

Public Member Functions

 CarlaEngineCVPort (const CarlaEngineClient &client, bool isInputPort, uint32_t indexOffset) noexcept
 
 ~CarlaEngineCVPort () noexcept override
 
EnginePortType getType () const noexcept final
 
void initBuffer () noexcept override
 
float * getBuffer () const noexcept
 
void getRange (float &min, float &max) const noexcept
 
void setRange (float min, float max) noexcept
 
- Public Member Functions inherited from CarlaEnginePort
virtual ~CarlaEnginePort () noexcept
 
bool isInput () const noexcept
 
uint32_t getIndexOffset () const noexcept
 
const CarlaEngineClientgetEngineClient () const noexcept
 
virtual void setMetaData (const char *key, const char *value, const char *type)
 

Additional Inherited Members

- Protected Member Functions inherited from CarlaEnginePort
 CarlaEnginePort (const CarlaEngineClient &client, bool isInputPort, uint32_t indexOffset) noexcept
 

Detailed Description

Carla Engine CV port.

Constructor & Destructor Documentation

◆ CarlaEngineCVPort()

CarlaEngineCVPort::CarlaEngineCVPort ( const CarlaEngineClient client,
bool  isInputPort,
uint32_t  indexOffset 
)
noexcept

The constructor. All constructor parameters are constant and will never change in the lifetime of the port.

◆ ~CarlaEngineCVPort()

CarlaEngineCVPort::~CarlaEngineCVPort ( )
overridenoexcept

The destructor.

Member Function Documentation

◆ getType()

EnginePortType CarlaEngineCVPort::getType ( ) const
inlinefinalvirtualnoexcept

Get the type of the port, in this case kEnginePortTypeCV.

Implements CarlaEnginePort.

◆ initBuffer()

void CarlaEngineCVPort::initBuffer ( )
overridevirtualnoexcept

Initialize the port's internal buffer.

Implements CarlaEnginePort.

◆ getBuffer()

float* CarlaEngineCVPort::getBuffer ( ) const
inlinenoexcept

Direct access to the port's CV buffer. May be null.

◆ getRange()

void CarlaEngineCVPort::getRange ( float &  min,
float &  max 
) const
inlinenoexcept

Get min/max range for this CV port.

◆ setRange()

void CarlaEngineCVPort::setRange ( float  min,
float  max 
)
noexcept

Set min/max range for this CV port.


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