virtual const drain::VariableMap & getStatusMap() const
A long description of context variables and other resources.
Definition Context.h:105
StatusFlags statusFlags
Optional log filename (syntax): when defined, automatically opened by CommandBank::run()
Definition Context.h:98
virtual void report(StatusFlags &flags)
Report status. Typically, report final status of a thread to its base context.
Definition Context.h:146
const std::string basename
Used by copy const.
Definition Context.h:67
Contextual(Context &ctx)
Copies internal contextPtr.
Definition Context.h:262
bool contextIsSet() const
True, if contextPtr has been set.
Definition Context.h:281
Contextual(const Contextual &src)
Copies base context (even null) of the source. Notice that the actual instance may be of derived clas...
Definition Context.h:256
T & getContext() const
If context has been set, returns it through a cast to base class Context.
Definition Context.h:292
void setContext()
Sets internal contextPtr to the static source.
Definition Context.h:269
Contextual()
Sets internal contextPtr to NULL.
Definition Context.h:252
void setExternalContext(Context &ctx)
Sets internal contextPtr to outside target.
Definition Context.h:275
Adds class-specific convenience functions.
Definition Context.h:319