Default implementation for a non-distributable Plug-in that combines processor and edit controller in one component.  
 More...
|  | 
|  | SingleComponentEffect () | 
|  | 
|  | ~SingleComponentEffect () override | 
|  | 
| tresult | initialize (FUnknown *context) SMTG_OVERRIDE | 
|  | 
| tresult | terminate () SMTG_OVERRIDE | 
|  | 
| tresult | getControllerClassId (TUID) SMTG_OVERRIDE | 
|  | 
| tresult | setIoMode (IoMode) SMTG_OVERRIDE | 
|  | 
| int32 | getBusCount (MediaType type, BusDirection dir) SMTG_OVERRIDE | 
|  | 
| tresult | getBusInfo (MediaType type, BusDirection dir, int32 index, BusInfo &bus) SMTG_OVERRIDE | 
|  | 
| tresult | getRoutingInfo (RoutingInfo &, RoutingInfo &) SMTG_OVERRIDE | 
|  | 
| tresult | activateBus (MediaType type, BusDirection dir, int32 index, TBool state) SMTG_OVERRIDE | 
|  | 
| tresult | setActive (TBool) SMTG_OVERRIDE | 
|  | 
| tresult | setState (IBStream *) SMTG_OVERRIDE | 
|  | 
| tresult | getState (IBStream *) SMTG_OVERRIDE | 
|  | 
| AudioBus * | addAudioInput (const TChar *name, SpeakerArrangement arr, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive) | 
|  | 
| AudioBus * | addAudioOutput (const TChar *name, SpeakerArrangement arr, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive) | 
|  | 
| EventBus * | addEventInput (const TChar *name, int32 channels=16, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive) | 
|  | 
| EventBus * | addEventOutput (const TChar *name, int32 channels=16, BusType busType=kMain, int32 flags=BusInfo::kDefaultActive) | 
|  | 
| tresult | removeAudioBusses () | 
|  | 
| tresult | removeEventBusses () | 
|  | 
| tresult | removeAllBusses () | 
|  | 
| tresult | setBusArrangements (SpeakerArrangement *inputs, int32 numIns, SpeakerArrangement *outputs, int32 numOuts) SMTG_OVERRIDE | 
|  | 
| tresult | getBusArrangement (BusDirection dir, int32 index, SpeakerArrangement &arr) SMTG_OVERRIDE | 
|  | 
| tresult | canProcessSampleSize (int32 symbolicSampleSize) SMTG_OVERRIDE | 
|  | 
| uint32 | getLatencySamples () SMTG_OVERRIDE | 
|  | 
| tresult | setupProcessing (ProcessSetup &setup) SMTG_OVERRIDE | 
|  | 
| tresult | setProcessing (TBool) SMTG_OVERRIDE | 
|  | 
| tresult | process (ProcessData &) SMTG_OVERRIDE | 
|  | 
| uint32 | getTailSamples () SMTG_OVERRIDE | 
|  | 
| uint32 | getProcessContextRequirements () SMTG_OVERRIDE | 
|  | 
|  | OBJ_METHODS (SingleComponentEffect, EditControllerEx1) tresult queryInterface(const TUID iid | 
|  | 
|  | EditControllerEx1 () | 
|  | 
|  | ~EditControllerEx1 () override | 
|  | 
| bool | addUnit (Unit *unit) | 
|  | Adds a given unit. 
 | 
|  | 
| bool | addProgramList (ProgramList *list) | 
|  | Adds a given program list. 
 | 
|  | 
| ProgramList * | getProgramList (ProgramListID listId) const | 
|  | Returns the ProgramList associated to a given listId. 
 | 
|  | 
| tresult | notifyProgramListChange (ProgramListID listId, int32 programIndex=kAllProgramInvalid) | 
|  | Notifies the host about program list changes. 
 | 
|  | 
| int32 | getUnitCount () SMTG_OVERRIDE | 
|  | 
| tresult | getUnitInfo (int32 unitIndex, UnitInfo &info) SMTG_OVERRIDE | 
|  | 
| int32 | getProgramListCount () SMTG_OVERRIDE | 
|  | 
| tresult | getProgramListInfo (int32 listIndex, ProgramListInfo &info) SMTG_OVERRIDE | 
|  | 
| tresult | getProgramName (ProgramListID listId, int32 programIndex, String128 name) SMTG_OVERRIDE | 
|  | 
| tresult | getProgramInfo (ProgramListID listId, int32 programIndex, CString attributeId, String128 attributeValue) SMTG_OVERRIDE | 
|  | 
| tresult | hasProgramPitchNames (ProgramListID listId, int32 programIndex) SMTG_OVERRIDE | 
|  | 
| tresult | getProgramPitchName (ProgramListID listId, int32 programIndex, int16 midiPitch, String128 name) SMTG_OVERRIDE | 
|  | 
| virtual tresult | setProgramName (ProgramListID listId, int32 programIndex, const String128 name) | 
|  | 
| UnitID | getSelectedUnit () SMTG_OVERRIDE | 
|  | 
| tresult | selectUnit (UnitID unitId) SMTG_OVERRIDE | 
|  | 
| tresult | getUnitByBus (MediaType, BusDirection, int32, int32, UnitID &) SMTG_OVERRIDE | 
|  | 
| tresult | setUnitProgramData (int32, int32, IBStream *) SMTG_OVERRIDE | 
|  | 
| virtual tresult | notifyUnitSelection () | 
|  | Notifies the host about the selected Unit. 
 | 
|  | 
| void | update (FUnknown *changedUnknown, int32 message) SMTG_OVERRIDE | 
|  | 
|  | EditController () | 
|  | 
| tresult | setComponentState (IBStream *state) SMTG_OVERRIDE | 
|  | 
| int32 | getParameterCount () SMTG_OVERRIDE | 
|  | 
| tresult | getParameterInfo (int32 paramIndex, ParameterInfo &info) SMTG_OVERRIDE | 
|  | 
| tresult | getParamStringByValue (ParamID tag, ParamValue valueNormalized, String128 string) SMTG_OVERRIDE | 
|  | 
| tresult | getParamValueByString (ParamID tag, TChar *string, ParamValue &valueNormalized) SMTG_OVERRIDE | 
|  | 
| ParamValue | normalizedParamToPlain (ParamID tag, ParamValue valueNormalized) SMTG_OVERRIDE | 
|  | 
| ParamValue | plainParamToNormalized (ParamID tag, ParamValue plainValue) SMTG_OVERRIDE | 
|  | 
| ParamValue | getParamNormalized (ParamID tag) SMTG_OVERRIDE | 
|  | 
| tresult | setParamNormalized (ParamID tag, ParamValue value) SMTG_OVERRIDE | 
|  | 
| tresult | setComponentHandler (IComponentHandler *handler) SMTG_OVERRIDE | 
|  | 
| IPlugView * | createView (FIDString) SMTG_OVERRIDE | 
|  | 
| tresult | setKnobMode (KnobMode mode) SMTG_OVERRIDE | 
|  | 
| tresult | openHelp (TBool) SMTG_OVERRIDE | 
|  | 
| tresult | openAboutBox (TBool) SMTG_OVERRIDE | 
|  | 
| virtual tresult | beginEdit (ParamID tag) | 
|  | to be called before a serie of performEdit 
 | 
|  | 
| virtual tresult | performEdit (ParamID tag, ParamValue valueNormalized) | 
|  | will inform the host about the value change 
 | 
|  | 
| virtual tresult | endEdit (ParamID tag) | 
|  | to be called after a serie of performEdit 
 | 
|  | 
| virtual tresult | startGroupEdit () | 
|  | calls IComponentHandler2::startGroupEdit() if host supports it 
 | 
|  | 
| virtual tresult | finishGroupEdit () | 
|  | calls IComponentHandler2::finishGroupEdit() if host supports it 
 | 
|  | 
| virtual void | editorDestroyed (EditorView *) | 
|  | called from EditorView if it was destroyed 
 | 
|  | 
| virtual void | editorAttached (EditorView *) | 
|  | called from EditorView if it was attached to a parent 
 | 
|  | 
| virtual void | editorRemoved (EditorView *) | 
|  | called from EditorView if it was removed from a parent 
 | 
|  | 
| virtual Parameter * | getParameterObject (ParamID tag) | 
|  | Gets for a given tag the parameter object. 
 | 
|  | 
| virtual tresult | getParameterInfoByTag (ParamID tag, ParameterInfo &info) | 
|  | Gets for a given tag the parameter information. 
 | 
|  | 
| virtual tresult | setDirty (TBool state) | 
|  | Calls IComponentHandler2::setDirty (state) if host supports it. 
 | 
|  | 
| virtual tresult | requestOpenEditor (FIDString name=ViewType::kEditor) | 
|  | Calls IComponentHandler2::requestOpenEditor (name) if host supports it. 
 | 
|  | 
| IComponentHandler * | getComponentHandler () const | 
|  | 
|  | ComponentBase () | 
|  | 
|  | ~ComponentBase () override | 
|  | 
| FUnknown * | getHostContext () const | 
|  | Returns the hostContext (set by the host during initialize call). 
 | 
|  | 
| IConnectionPoint * | getPeer () const | 
|  | Returns the peer for the messaging communication (you can only use IConnectionPoint::notify for communicate between peers, do not try to cast peerConnection. 
 | 
|  | 
| IMessage * | allocateMessage () const | 
|  | Allocates a message instance (do not forget to release it). 
 | 
|  | 
| tresult | sendMessage (IMessage *message) const | 
|  | Sends the given message to the peer. 
 | 
|  | 
| tresult | sendTextMessage (const char8 *text) const | 
|  | Sends a simple text message to the peer (max 255 characters). 
 | 
|  | 
| tresult | sendMessageID (const char8 *messageID) const | 
|  | Sends a message with a given ID without any other payload. 
 | 
|  | 
| virtual tresult | receiveText (const char8 *text) | 
|  | Receives a simple text message from the peer (max 255 characters). 
 | 
|  | 
| tresult | connect (IConnectionPoint *other) SMTG_OVERRIDE | 
|  | 
| tresult | disconnect (IConnectionPoint *other) SMTG_OVERRIDE | 
|  | 
| tresult | notify (IMessage *message) SMTG_OVERRIDE | 
|  | 
| virtual tresult | queryInterface (const TUID _iid, void **obj)=0 | 
|  | 
| virtual uint32 | addRef ()=0 | 
|  | 
| virtual uint32 | release ()=0 | 
|  | 
Default implementation for a non-distributable Plug-in that combines processor and edit controller in one component. 
This can be used as base class for a VST 3 effect implementation in case that the standard way of defining two separate components would cause too many implementation difficulties:
- Cubase 4.2 is the first host that supports combined VST 3 Plug-ins
-  Use this class only after giving the standard way of defining two components serious considerations!