AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ Set()

void drama::Parameter< drama::sds::Id >::Set ( const sds::IdPtr newVal,
bool  copy = true,
bool  create = false 
)

Set the value of this parameter.

The supplied SDS id refers to the new value for this parameter. After it is updated, any parameter monitors of this parameter will be triggered.

Note, you are allowed to change the layout of the SDS item used as the parameter by supplying a new value with a different layout.

Parameters
newValThe new value for the parameter.
copyShould a copy of the SDS structure referred to by newVal be created. If you dont do this, then that SDS structure is inserted into the parameter system directly. You would normally only set this false if you created the item just for this operation.
createThe parameter is allowed to be created if it does not exist. Normally only set true when used internally by this class.