VST 3 SDK  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages

Unit element. More...

#include <vsteditcontroller.h>

+ Inheritance diagram for Unit:

Public Member Functions

 Unit (const String128 name, UnitID unitId, UnitID parentUnitId=kRootUnitId, ProgramListID programListId=kNoProgramListId)
 
 Unit (const UnitInfo &unit)
 
const UnitInfogetInfo () const
 Returns its info. More...
 
UnitID getID () const
 Returns its Unit ID. More...
 
void setID (UnitID newID)
 Sets a new Unit ID. More...
 
const TChargetName () const
 Returns its Unit Name. More...
 
void setName (const String128 newName)
 Sets a new Unit Name. More...
 
ProgramListID getProgramListID () const
 Returns its ProgramList ID. More...
 
void setProgramListID (ProgramListID newID)
 Sets a new ProgramList ID. More...
 

Public Attributes

OBJ_METHODS(Unit, FObject)
protected UnitInfo 
info
 

Detailed Description

Unit element.

Constructor & Destructor Documentation

Unit ( const String128  name,
UnitID  unitId,
UnitID  parentUnitId = kRootUnitId,
ProgramListID  programListId = kNoProgramListId 
)
Unit ( const UnitInfo unit)

Member Function Documentation

const UnitInfo& getInfo ( ) const
inline

Returns its info.

UnitID getID ( ) const
inline

Returns its Unit ID.

void setID ( UnitID  newID)
inline

Sets a new Unit ID.

const TChar* getName ( ) const
inline

Returns its Unit Name.

void setName ( const String128  newName)

Sets a new Unit Name.

ProgramListID getProgramListID ( ) const
inline

Returns its ProgramList ID.

void setProgramListID ( ProgramListID  newID)
inline

Sets a new ProgramList ID.

Member Data Documentation

OBJ_METHODS (Unit, FObject) protected UnitInfo info
Empty

Copyright ©2019 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.