#include <core_IAlgorithm.h>
Public Member Functions | |
core_ProgressEntry & | GetProgress () const |
core_PlotterEntry & | GetPlotter () const |
void | SetStatusCode (const int status) |
int | GetStatusCode () const |
void | AddStatusCode (const int statBit) |
bool | HasStatusCode (const int statBit) const |
![]() | |
mobiusCore_EXPORT void | IncRef () |
mobiusCore_EXPORT void | DecRef () |
mobiusCore_EXPORT int | NbRefs () const |
virtual mobiusCore_EXPORT void | Dump (std::ostream *out) const |
const mobiusCore_EXPORT std::string & | GetName () const |
mobiusCore_EXPORT void | SetName (const std::string &name) |
mobiusCore_EXPORT bool | HasName () const |
Protected Member Functions | |
mobiusCore_EXPORT | core_IAlgorithm (core_ProgressEntry progress, core_PlotterEntry plotter) |
Protected Attributes | |
core_ProgressEntry | m_progress |
Progress Notifier. | |
core_PlotterEntry | m_plotter |
Imperative Plotter. | |
int | m_iStatusCode |
Interface for algorithms.
|
inline |
Adds status to the currently stored one. The derived classes take responsibility to implement status codes as bitmasks like 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, etc. This may we can store several statuses in one integer variable.
[in] | statBit | status bit to add to the current status. |
|
inline |
|
inline |
Checks whether the stored status code contains bits for the passed status.
[in] | statBit | bits to check. |
|
inline |
Sets status code as an integer.
[in] | status | code to set. |
|
protected |
Status code which can be an error code, warning code or any other status which gives more detalisation on algorithm's execution state.