iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Files | Classes
IPlug::Structs

Structures in small classes used throughout the IPlug code base. More...

Files

file  IPlugMidi.h
 MIDI and sysex structs/utilites.
 

Classes

struct  IMidiMsg
 Encapsulates a MIDI message and provides helper functions. More...
 
struct  ISysEx
 A struct for dealing with SysEx messages. More...
 
struct  ParamTuple
 In certain cases we need to queue parameter changes for transferral between threads. More...
 
struct  SysExData
 This structure is used when queueing Sysex messages. More...
 
struct  IByteGetter
 A helper class for IByteChunk and IByteStream that avoids code duplication. More...
 
class  IByteChunk
 Manages a block of memory, for plug-in settings store/recall. More...
 
class  IByteStream
 Manages a non-owned block of memory, for receiving arbitrary message byte streams. More...
 
class  IByteChunkReader
 Helper class to maintain a read position whilst extracting data from an IByteChunk
More...
 
struct  IChannelData< TIN, TOUT >
 Used to manage scratch buffers for each channel of I/O, which may involve converting from single to double precision. More...
 
class  IBusInfo
 Used to manage information about a bus such as whether it's an input or output, channel count. More...
 
struct  IOConfig
 An IOConfig is used to store bus info for each input/output configuration defined in the channel io string. More...
 
struct  ITimeInfo
 Encapsulates information about the host transport state. More...
 
struct  IPreset
 A struct used for specifying baked-in factory presets. More...
 
struct  IKeyPress
 Used for key press info, such as ASCII representation, virtual key (mapped to win32 codes) and modifiers. More...
 

Detailed Description

Structures in small classes used throughout the IPlug code base.


Class Documentation

◆ IChannelData

struct IChannelData
template<class TIN = PLUG_SAMPLE_SRC, class TOUT = PLUG_SAMPLE_DST>
struct IChannelData< TIN, TOUT >

Used to manage scratch buffers for each channel of I/O, which may involve converting from single to double precision.

Definition at line 474 of file IPlugStructs.h.

Class Members
bool mConnected = false
TOUT ** mData = nullptr
TIN * mIncomingData = nullptr
WDL_String mLabel
WDL_TypedBuf< TOUT > mScratchBuf

◆ ITimeInfo

struct ITimeInfo

Encapsulates information about the host transport state.

Definition at line 584 of file IPlugStructs.h.

Class Members
double mCycleEnd = -1.0
double mCycleStart = -1.0
int mDenominator = 4
double mLastBar = -1.0
int mNumerator = 4
double mPPQPos = -1.0
double mSamplePos = -1.0
double mTempo = DEFAULT_TEMPO
bool mTransportIsRunning = false
bool mTransportLoopEnabled = false