|
Public Member Functions | |
SmartContext (const std::string &basename=__FUNCTION__) | |
SmartContext (const SmartContext &ctx) | |
Public Member Functions inherited from Context | |
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... | |
Additional Inherited Members | |
Public Attributes inherited from Context | |
const std::string | basename |
Used by copy const. | |
Log | log |
StatusFlags | statusFlags |
Optional log filename (syntax): when defined, automatically opened by CommandBank::run() More... | |
bool | SCRIPT_DEFINED |
Public Attributes inherited from ContextKit | |
bool | expandVariables |
std::string | formatStr |
Protected Member Functions inherited from Context | |
void | init () |
virtual void | updateStatus () const |
Protected Attributes inherited from Context | |
const long int | id |
const std::string | name |
drain::VariableMap | statusMap |