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

◆ Parameter()

template<typename SDS_T >
drama::Parameter< SDS_T >::Parameter ( std::weak_ptr< Task task,
const std::string &  name,
const SDS_T initVal 
)
inline

Construct a parameter of a given name.

Parameters
taskThe DRAMA Task we are part of. This is passed by pointer, but Parameter is not taking ownership of the subject object, which must continue to exist until the Parameter object is destroyed.
nameThe name of the parameter.
initValThe initial value of the parameter.

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