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

◆ ErsReportF()

template<typename... Args>
void drama::ErsReportF ( StatusType status,
const fmt::format_string< Args... >  fmt,
Args &&...  args 
)

Report a std::string via ERS, format using fmt::format.

See drama::MessageHandler::MessageUserF for details on this formatting approach.

Warning
The DRAMA lock must be taking when invoking this and all ERS operations
Parameters
statusDRAMA Status to associate with the message. May be modified if ERS Fails.
fmtThe string to report using ERS. A separate ErsRep() call is made for each line in the string
argsArguments to the format. See fmt::format for details.
Template Parameters
Args...the remaining argument types.
Examples
dramahello.cpp.

References CreateRunDramaTask(), and ErsReport().