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

◆ Set() [2/2]

void drama::ArrayParameter< std::string >::Set ( size_t  index,
const std::string &  val,
bool  updateMonitors = true 
)

Set the value of the parameter to the specified value.

Any monitors of the parameter are updated (if requested)

Warning
Not very efficient since it must presume the parameter has changed in various ways and hence finds the parameter ID and does a full inquiry for every call. But useful if you want to set only one value.
Parameters
indexThe index of the item to set.
valThe new values for the parameter item of the specified index.
updateMonitorsIf true, then any parameters monitors are updated. You might set this false if you know there are not any as yet or you are doing a series of quick updated.