Jamba
3.0.2
|
#include <FObjectCx.h>
Inherits FObject.
Inherited by pongasoft::VST::FObjectCxCallback, and pongasoft::VST::GUI::Params::GUIParamCx.
Public Member Functions | |
virtual void | close () |
FObjectCx (FObject *iTarget) | |
FObjectCx (FObjectCx const &)=delete | |
virtual void | onTargetChange () |
FObjectCx & | operator= (FObjectCx const &)=delete |
~FObjectCx () override | |
Protected Member Functions | |
void PLUGIN_API | update (FUnknown *iChangedUnknown, Steinberg::int32 iMessage) SMTG_OVERRIDE |
Protected Attributes | |
bool | fIsConnected |
FObject * | fTarget |
Wrapper class which maintains a connection between the target and this object. The connection will be terminated if close() is called or automatically when the destructor is called. The main point of this class is to turn FObject.addRef/addDependent into an RAII concept (Resource Acquisition Is Initialization).
|
explicit |
|
inlineoverride |
Automatically closes the connection and stops listening
|
delete |
|
virtual |
Call to stop listening for changes. Also called automatically from the destructor.
Reimplemented in pongasoft::VST::FObjectCxCallback, and pongasoft::VST::GUI::Params::GUIParamCx.
|
inlinevirtual |
Called when the target changes (by default does nothing)
Reimplemented in pongasoft::VST::FObjectCxCallback, and pongasoft::VST::GUI::Params::GUIParamCx.
|
protected |
This is being called when fTarget sends a message to this object
|
protected |
|
protected |