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

◆ CreateSds()

sds::Id drama::ParSys::CreateSds ( const std::string &  name,
SdsCodeType  code,
const std::string &  extra = "" 
)
inline

Create a parameters as an raw SDS item.

This approach to creation allows building the a structure within the parameter system and keeping the sds::Id about to allow updates.

Note
If updating via the sds::Id value returned by this, then be sure to invoke Update() on the parameter to ensure any monitors are updated.
See also
SdsNew()
Parameters
nameThe name for the new SDS item.
codeThe SDS code for the new item.
extraThe extra data, if any. Defaults to none.
Returns
A reference to the parameter we have created.

References drama::sds::Id::CreateFromSdsId(), and drama::CreateRunDramaTask().