Control Center
Scripting Interface Documentation
Environment Class Reference

The Environment defines the environment parameters. The Environment object can be instantiated in the scripting environment. A list of existing environments can be retrieved by calling ControlCentre.environments(). A new environment may be added by the following. Note that only ControlCentre calls modify the database. More...

Public Member Functions

 Environment (const String &name, QObject *)
 
 ~Environment ()
 
String name () const
 
bool assetLock () const
 
void setAssetLock (bool)
 

Properties

String name
 name More...
 
bool assetLock
 

Detailed Description

The Environment defines the environment parameters. The Environment object can be instantiated in the scripting environment. A list of existing environments can be retrieved by calling ControlCentre.environments(). A new environment may be added by the following. Note that only ControlCentre calls modify the database.

var env = new Environment("TestEnv");

Constructor & Destructor Documentation

◆ Environment()

Environment::Environment ( const String &  name,
QObject *   
)

◆ ~Environment()

Environment::~Environment ( )

Member Function Documentation

◆ assetLock()

bool Environment::assetLock ( ) const

◆ name()

String Environment::name ( ) const

◆ setAssetLock()

void Environment::setAssetLock ( bool  )

Property Documentation

◆ assetLock

bool Environment::assetLock
readwrite

◆ name

String Environment::name
read

name