Jamba
3.2.0
|
#include <Messaging.h>
Public Member Functions | |
template<typename T > | |
int32 | getBinary (IAttributeList::AttrID id, T *iData, uint32 iSize) const |
double | getFloat (IAttributeList::AttrID id, double defaultValue) const |
int64 | getInt (IAttributeList::AttrID id, int64 defaultValue) const |
MessageID | getMessageID () const |
template<typename T > | |
tresult | getSerializableValue (IAttributeList::AttrID id, IParamSerializer< T > const &iSerializer, T &oValue) const |
Message (IMessage *message) | |
template<typename T > | |
tresult | setBinary (IAttributeList::AttrID id, const T *iData, uint32 iSize) |
void | setFloat (IAttributeList::AttrID id, double value) |
void | setInt (IAttributeList::AttrID id, int64 value) |
void | setMessageID (MessageID messageID) |
template<typename T > | |
tresult | setSerializableValue (IAttributeList::AttrID id, IParamSerializer< T > const &iSerializer, T const &iValue) |
Private Attributes | |
IMessage * | fMessage |
Simple wrapper class with better api
|
inlineexplicit |
|
inline |
Gets a binary message.
iData | the array into which the binary data will be copied |
iSize | the number of elements in iData array (NOT the size in bytes!) |
|
inline |
|
inline |
|
inline |
tresult pongasoft::VST::Message::getSerializableValue | ( | IAttributeList::AttrID | id, |
IParamSerializer< T > const & | iSerializer, | ||
T & | oValue | ||
) | const |
Deserializes the parameter value from an entry in the message
|
inline |
Sets a binary message.
iSize | the number of elements in iData array (NOT the size in bytes!) |
|
inline |
|
inline |
|
inline |
tresult pongasoft::VST::Message::setSerializableValue | ( | IAttributeList::AttrID | id, |
IParamSerializer< T > const & | iSerializer, | ||
T const & | iValue | ||
) |
Serializes the parameter value as an entry in the message
|
private |