|
| Context (const std::string &basename=__FUNCTION__) |
|
| Context (const Context &ctx) |
|
long int | getId () const |
|
const std::string & | getName () const |
|
virtual drain::VariableMap & | getStatusMap (bool update=true) |
| A long description of context variables and other resources. More...
|
|
const Variable & | getStatus (const std::string &key, bool update) const |
|
template<class T > |
void | setStatus (const std::string &key, const T &value) |
|
virtual void | report (StatusFlags &flags) |
| Report status. Typically, report final status of a thread to its base context. More...
|
|
|
void | init () |
|
virtual void | updateStatus () const |
|
◆ getStatusMap()
A long description of context variables and other resources.
The basic version saves id, status flags and (expanded) logFile name
◆ report()
Report status. Typically, report final status of a thread to its base context.
Derived classes may handle and reset some flags before reporting.
◆ statusFlags
Optional log filename (syntax): when defined, automatically opened by CommandBank::run()
Optional facility for compact bookkeeping of issues, also in running a thread.
The documentation for this class was generated from the following files:
- src/drain/prog/Context.h
- src/drain/prog/Context.cpp