UNIVERS
15.3
UNIVERS base processing software API
|
#include <calc_block.hpp>
Public Member Functions | |
CalcBlock (const dcf::Manager &manager) | |
CalcBlock (const dcf::CalcBlock &cb) | |
virtual | ~CalcBlock () |
virtual void | start () |
virtual void | stop () |
virtual void | wait () |
virtual bool | running () const |
const dcf::Manager * | manager () const |
dcf::error_t | resultCode () |
Protected Member Functions | |
virtual void | run () |
Protected Attributes | |
dcf::Manager * | m_manager |
dcf::error_t | m_result_code |
Interface for abstract calculation on distributed system.
dcf::CalcBlock::CalcBlock | ( | const dcf::Manager & | manager | ) |
Default constructor with DCF Manager provided.
dcf::CalcBlock::CalcBlock | ( | const dcf::CalcBlock & | cb | ) |
Copy constructor.
|
virtual |
Destructs object.
|
inline |
Gets current manager pointer.
|
inline |
Gets result code. dcf::ErrSuccess by default.
|
protectedvirtual |
Polymorfic calculations method which has to be redefined
in derived objects. Should provide result code.
Reimplemented in dcf::CFFT2DCalcBlock, dcf::ThreadCalcBlock, and dcf::CUBPFCalcBlock.
|
inlinevirtual |
Is calculations running.
|
virtual |
Sart calculations by executing run() method. Should provide result code.
Reimplemented in dcf::CUBPFCalcBlock, dcf::CFFT2DCalcBlock, and dcf::ThreadCalcBlock.
|
virtual |
Stop calculations. Should provide result code.
Reimplemented in dcf::ThreadCalcBlock.
|
virtual |
Waits while calculations will complete. Should provide result code.
Reimplemented in dcf::ThreadCalcBlock.
|
protected |
Resource manager.
|
protected |
Current result code.