LMMS
Loading...
Searching...
No Matches
lmms::Lv2Ports Namespace Reference

Classes

struct  ConstVisitor
struct  Visitor
struct  Meta
struct  PortBase
struct  VisitablePort
struct  ControlPortBase
struct  Control
struct  Cv
struct  Audio
struct  AtomSeq
struct  Unknown
struct  DCastVisitor
struct  ConstDCastVisitor

Enumerations

enum class  Flow { Unknown , Input , Output }
enum class  Type {
  Unknown , Control , Audio , AtomSeq ,
  Cv
}
enum class  Vis { Generic , Integer , Enumeration , Toggled }

Functions

const char * toStr (Flow pf)
const char * toStr (Type pt)
const char * toStr (Vis pv)
template<class Target>
Target * dcast (PortBase *base)
 If you don't want to use a whole visitor, you can use dcast.
template<class Target>
const Target * dcast (const PortBase *base)
 const overload

Enumeration Type Documentation

◆ Flow

enum class lmms::Lv2Ports::Flow
strong
Enumerator
Unknown 
Input 
Output 

◆ Type

enum class lmms::Lv2Ports::Type
strong
Enumerator
Unknown 
Control 
Audio 
AtomSeq 
Cv 

TODO: unused, describe.

◆ Vis

enum class lmms::Lv2Ports::Vis
strong

Port visualization

Note
All Lv2 audio ports are float, this is only the visualisation
Enumerator
Generic 

nothing specific, a generic knob or slider shall be used

Integer 

counter

Enumeration 

selection from enumerated values

Toggled 

boolean widget

Function Documentation

◆ dcast() [1/2]

template<class Target>
const Target * lmms::Lv2Ports::dcast ( const PortBase * base)

const overload

◆ dcast() [2/2]

template<class Target>
Target * lmms::Lv2Ports::dcast ( PortBase * base)

If you don't want to use a whole visitor, you can use dcast.

◆ toStr() [1/3]

const char * lmms::Lv2Ports::toStr ( Flow pf)

◆ toStr() [2/3]

const char * lmms::Lv2Ports::toStr ( Type pt)

◆ toStr() [3/3]

const char * lmms::Lv2Ports::toStr ( Vis pv)