4#include "declarative/PropertyMacros.h"
15 template<
typename PropsT>
18 const std::map<std::string, apra::ScalarPropertyValue>& values,
19 std::vector<std::string>& missingRequired
25 throw std::runtime_error(
"Unknown property: " + propName);
47 bool process(frame_container& frames);
Definition ImageDecoderCV.h:7
bool setProperty(const std::string &propName, const apra::ScalarPropertyValue &value)
Definition ImageDecoderCV.h:28
std::vector< std::string > dynamicPropertyNames() const
Definition ImageDecoderCV.h:32
ImageDecoderCVProps()
Definition ImageDecoderCV.h:9
apra::ScalarPropertyValue getProperty(const std::string &propName) const
Definition ImageDecoderCV.h:24
static void applyProperties(PropsT &props, const std::map< std::string, apra::ScalarPropertyValue > &values, std::vector< std::string > &missingRequired)
Definition ImageDecoderCV.h:16
Definition ImageDecoderCV.cpp:11
Definition ImageDecoderCV.h:38
ImageDecoderCV(ImageDecoderCVProps _props=ImageDecoderCVProps())
Definition ImageDecoderCV.cpp:34
bool init()
Definition ImageDecoderCV.cpp:79
bool processSOS(frame_sp &frame)
Definition ImageDecoderCV.cpp:113
bool validateOutputPins()
Definition ImageDecoderCV.cpp:60
bool term()
Definition ImageDecoderCV.cpp:89
boost::shared_ptr< Detail > mDetail
Definition ImageDecoderCV.h:54
virtual ~ImageDecoderCV()
Definition ImageDecoderCV.cpp:39
bool validateInputPins()
Definition ImageDecoderCV.cpp:41
bool process(frame_container &frames)
Definition ImageDecoderCV.cpp:94
std::variant< int64_t, double, bool, std::string > ScalarPropertyValue
Definition ModuleRegistry.h:30