20 #include <pluginterfaces/vst/vsttypes.h> 21 #include <base/source/fstreamer.h> 22 #include <pongasoft/logging/logging.h> 30 using namespace Steinberg::Vst;
31 using namespace Steinberg;
47 std::vector<ParamID> fOrder{};
48 inline int getCount()
const {
return static_cast<int>(fOrder.size()); }
64 inline int getCount()
const {
return fSaveOrder->getCount(); }
67 inline void set(
int iIdx, ParamValue iParamValue)
69 DCHECK_F(iIdx >= 0 && iIdx < fSaveOrder->getCount());
70 fValues[iIdx] = iParamValue;
74 virtual tresult readFromStream(
Parameters const *iParameters, IBStreamer &iStreamer);
77 virtual tresult writeToStream(
Parameters const *iParameters, IBStreamer &oStreamer)
const;
80 std::string toString()
const;
85 ParamValue *fValues{
nullptr};
This is the class which maintains all the registered parameters.
Definition: Parameters.h:37
Maintains the order used to save/restore the RT and GUI state.
Definition: NormalizedState.h:44
SaveOrder const * fSaveOrder
Definition: NormalizedState.h:84
int getCount() const
Definition: NormalizedState.h:48
Used to communicate the state between the UI and the RT and read/write to stream.
Definition: NormalizedState.h:38
void set(int iIdx, ParamValue iParamValue)
Definition: NormalizedState.h:67
int getCount() const
Definition: NormalizedState.h:64