13#include <QtCore/QString>
28 I_ASSIGN(m_selectionIdAttrPtr,
"SelectionId",
"ID of selection in parameter set",
false,
"CameraIndex");
29 I_ASSIGN(m_defaultIndexAttrPtr,
"DefaultIndex",
"Default selected index, if negative no selected parameter ID will be used",
true, 0);
30 I_ASSIGN(m_paramsManagerIdAttrPtr,
"ParamsManagerId",
"ID of parameters manager in parameter set",
false,
"ParamsManager");
31 I_ASSIGN(m_defaultSelectionCompPtr,
"DefaultSelection",
"Selection used if no selection ID defined",
false,
"Input");
32 I_ASSIGN(m_defaultParamsManagerCompPtr,
"DefaultParamsManager",
"Manager of parameter set used to realize selection if no manager ID defined",
false,
"ParamsManager");
42 const istd::IPolymorphic* inputPtr,
46 const istd::IPolymorphic* inputPtr,
48 bool allowAsync =
false,
77 I_ATTR(QByteArray, m_selectionIdAttrPtr);
78 I_ATTR(
int, m_defaultIndexAttrPtr);
79 I_ATTR(QByteArray, m_paramsManagerIdAttrPtr);
83 typedef std::unique_ptr<const iprm::IParamsSet> ParamSetPtr;
87 typedef std::map<int, ParamSetPtr> ParamsMap;
89 ParamsMap m_paramsMap;
Implementation of bitmap acquisition delegating all calls to some slave object.
const iser::ISerializable * GetParameter(const QByteArray &id) const override
Get any parameter.
iser::ISerializable * GetEditableParameter(const QByteArray &id) override
Get access to editable parameter.
QByteArray GetFactoryId() const override
bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
JoinParamsSet(const iprm::IParamsSet *origParamsPtr, const iprm::IParamsSet *selectedParamsPtr)
Ids GetParamIds(bool editableOnly=false) const override
Get list of used parameter IDs in the parameter set.
CCameraDelegatorComp BaseClass
int GetProcessorState(const iprm::IParamsSet *paramsPtr) const override
Get state of this processor for processing of specified parameters.
virtual bool AreParamsAccepted(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const override
Check if specified parameter set is accepted for this processor.
istd::CIndex2d GetBitmapSize(const iprm::IParamsSet *paramsPtr) const override
Get size of acquired bitmap for specified parameters.
std::unique_ptr< const iprm::IParamsSet > CreateParamsSet(const iprm::IParamsSet *paramsPtr) const
virtual iproc::CTaskState DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=false, iproc::IProgressManager *progressManagerPtr=nullptr) override
Do synchronized processing.
void InitProcessor(const iprm::IParamsSet *paramsPtr, bool doReset) override
Init processor and give him all or part of parameters.
Manager of parameters set.
Set of general parameters.
Interface allowing to select single option from list of options.
Represent state of asynchronous operation.
Consume information about progress of some process.
Represent input/output persistence archive.
Common class for all classes which objects can be archived or restored from archive.
Index implementation for addressing elements in 2D-space.
Common interface for data model objects, which can be changed.
Contains interfaces, implementations and components of image acquisition and processing.