33 namespace Debug {
class ParamDisplay; }
36 using namespace Utils;
75 virtual tresult init();
84 virtual bool beforeProcessing();
89 virtual bool applyParameterChanges(IParameterChanges &inputParameterChanges);
97 virtual int32 getParamUpdateSampleOffset(ProcessData &iData, ParamID iParamID);
103 virtual void afterProcessing();
109 virtual tresult readNewState(IBStreamer &iStreamer);
115 virtual tresult writeLatestState(IBStreamer &oStreamer);
128 tresult handleMessage(
Message const &iMessage)
override;
141 std::map<ParamID, std::unique_ptr<RTRawVstParameter>> fVstParameters{};
144 std::map<ParamID, std::unique_ptr<IRTJmbOutParameter>> fOutboundMessagingParameters{};
147 std::map<ParamID, std::unique_ptr<IRTJmbInParameter>> fInboundMessagingParameters{};
150 std::vector<ParamID> fAllRegistrationOrder{};
157 tresult addRawParameter(std::unique_ptr<RTRawVstParameter> iParameter);
160 tresult addOutboundMessagingParameter(std::unique_ptr<IRTJmbOutParameter> iParameter);
163 tresult addInboundMessagingParameter(std::unique_ptr<IRTJmbInParameter> iParameter);
176 virtual bool resetPreviousValues();
193 void computeLatestState();
217 std::unique_ptr<RTRawVstParameter> rtParam{rawPtr};
218 addRawParameter(std::move(rtParam));
230 std::unique_ptr<IRTJmbOutParameter> rtParam{rawPtr};
231 addOutboundMessagingParameter(std::move(rtParam));
243 std::unique_ptr<IRTJmbInParameter> rtParam{rawPtr};
244 addInboundMessagingParameter(std::move(rtParam));
245 fMessageHandler.registerHandler(iParamDef->fParamID, rawPtr);
Definition: RTJmbOutParameter.h:172
Definition: RTJmbOutParameter.h:71
Definition: Parameters.h:39
Definition: RTParameter.h:191
Definition: Concurrent.h:317
std::shared_ptr< VstParamDef< T > > VstParam
Definition: ParamDef.h:358
virtual void afterReadNewState(NormalizedState const *iState)
Definition: RTState.h:185
virtual void beforeWriteNewState(NormalizedState const *iState)
Definition: RTState.h:189
Definition: MessageProducer.h:33
Definition: ParamDisplay.h:33
Definition: Messaging.h:43
Definition: RTJmbInParameter.h:142
bool isMessagingEnabled() const
Definition: RTState.h:119
Definition: MessageHandler.h:30
std::vector< ParamID > const & getAllRegistrationOrder() const
Definition: RTState.h:131
Parameters const & fPluginParameters
Definition: RTState.h:138
std::shared_ptr< JmbParamDef< T > > JmbParam
Definition: ParamDef.h:365
Definition: NormalizedState.h:38
Definition: RTJmbInParameter.h:72
Concurrent::LockFree::SingleElementQueue< NormalizedState > fStateUpdate
Definition: RTState.h:198
std::shared_ptr< RawVstParamDef > RawVstParam
Definition: ParamDef.h:359
Definition: MessageHandler.h:39
Definition: RTParameter.h:261
RTJmbInParam< T > addJmbIn(JmbParam< T > iParamDef)
Definition: RTState.h:239
RTJmbOutParam< T > addJmbOut(JmbParam< T > iParamDef)
Definition: RTState.h:226
Concurrent::LockFree::AtomicValue< NormalizedState > fLatestState
Definition: RTState.h:202
Definition: RTParameter.h:92
RTRawVstParam add(RawVstParam iParamDef)
Definition: RTState.cpp:37
Definition: Concurrent.h:148