Jamba
3.0.2
|
#include <ParamDef.h>
Inherits pongasoft::VST::IJmbParamDef, and pongasoft::VST::IParamSerializer< T >.
Public Types | |
using | ParamType = T |
Public Types inherited from pongasoft::VST::IParamDef | |
enum | Owner { Owner::kRT, Owner::kGUI } |
Public Member Functions | |
std::string | computeMessageAttrID () const |
JmbParamDef (ParamID const iParamID, TChar const *const iTitle, Owner const iOwner, bool const iTransient, bool const iShared, ParamType const &iDefaultValue, std::shared_ptr< IParamSerializer< ParamType >> iSerializer) | |
tresult | readFromMessage (Message const &iMessage, ParamType &oValue) const |
tresult | readFromStream (IBStreamer &iStreamer, ParamType &oValue) const override |
ParamType | readFromStream (IBStreamer &iStreamer) const |
void | writeDefaultValue (std::ostream &oStreamer) const override |
tresult | writeToMessage (ParamType const &iValue, Message &oMessage) const |
tresult | writeToStream (ParamType const &iValue, IBStreamer &oStreamer) const override |
void | writeToStream (ParamType const &iValue, std::ostream &oStreamer) const override |
Public Member Functions inherited from pongasoft::VST::IJmbParamDef | |
IJmbParamDef (const ParamID iParamID, const TChar *const iTitle, Owner const iOwner, bool const iTransient, bool const iShared) | |
virtual | ~IJmbParamDef ()=default |
Public Member Functions inherited from pongasoft::VST::IParamDef | |
IParamDef (ParamID const iParamID, TChar const *const iTitle, Owner const iOwner, bool const iTransient) | |
Public Attributes | |
const ParamType | fDefaultValue |
const std::shared_ptr< IParamSerializer< ParamType > > | fSerializer |
Public Attributes inherited from pongasoft::VST::IJmbParamDef | |
bool const | fShared |
Public Attributes inherited from pongasoft::VST::IParamDef | |
const Owner | fOwner |
const ParamID | fParamID |
const TChar *const | fTitle |
const bool | fTransient |
Additional Inherited Members | |
Private Types inherited from pongasoft::VST::IParamSerializer< T > | |
using | ParamType = T |
Private Member Functions inherited from pongasoft::VST::IParamSerializer< T > | |
virtual std::string | toString (ParamType const &iValue, int32 iPrecision) const |
Base class for all non vst parameters (need to provide serialization/deserialization)
T | the underlying type of the param |
using pongasoft::VST::JmbParamDef< T >::ParamType = T |
|
inline |
|
inline |
tresult pongasoft::VST::JmbParamDef< T >::readFromMessage | ( | Message const & | iMessage, |
ParamType & | oValue | ||
) | const |
|
overridevirtual |
Implements pongasoft::VST::IParamSerializer< T >.
T pongasoft::VST::JmbParamDef< T >::readFromStream | ( | IBStreamer & | iStreamer | ) | const |
|
overridevirtual |
Implements pongasoft::VST::IJmbParamDef.
tresult pongasoft::VST::JmbParamDef< T >::writeToMessage | ( | ParamType const & | iValue, |
Message & | oMessage | ||
) | const |
|
overridevirtual |
Implements pongasoft::VST::IParamSerializer< T >.
|
overridevirtual |
Reimplemented from pongasoft::VST::IParamSerializer< T >.
const ParamType pongasoft::VST::JmbParamDef< T >::fDefaultValue |
const std::shared_ptr<IParamSerializer<ParamType> > pongasoft::VST::JmbParamDef< T >::fSerializer |