cvedia::rt::iface::Module¶
Inherited by ModuleImpl
Public Functions¶
| Name | |
|---|---|
| Module() =default | |
| virtual | ~Module() =default |
| Module(Module const & other) =default | |
| Module & | operator=(Module const & other) =default |
| Module(Module && other) =default | |
| Module & | operator=(Module && other) =default |
| virtual void * | getPtr() =0 |
| virtual void | verifyConfig(pCValue instanceConfig, ConfigCheckResults & configCheckResults) =0 |
| virtual pCValue | getConfigSpecs() const =0 |
| virtual std::map< std::string, std::shared_ptr< ConfigDescriptor > > | getConfigDescriptors() const |
| virtual std::string const & | getName() const =0 |
| virtual void | setName(std::string const & name) =0 |
| virtual void | stop() |
| virtual void | setParent(iface::Module * ) =0 |
| virtual iface::Module * | getParent() const =0 |
| virtual expected< pCValue > | getValue(std::string const & key, int dictType) const =0 |
| virtual expected< cvec > | getValue(std::vector< std::string > const & keys, int dictType) const =0 |
| virtual expected< void > | setValue(std::string const & key, pCValue const & value, int dictType) =0 |
| virtual expected< void > | setValue(cmap const & values, int dictType) =0 |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getStateDict() const =0 |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getConfigDict() const =0 |
| virtual expected< void > | setConfig(pCValue const & conf) const =0 |
| virtual std::string | getRootNode() const =0 |
Public Functions Documentation¶
function Module¶
Module() =default
function ~Module¶
virtual ~Module() =default
function Module¶
Module(
Module const & other
) =default
function operator=¶
Module & operator=(
Module const & other
) =default
function Module¶
Module(
Module && other
) =default
function operator=¶
Module & operator=(
Module && other
) =default
function getPtr¶
virtual void * getPtr() =0
Reimplemented by: cvedia::rt::ModuleImpl::getPtr, cvedia::rt::iface::InferenceEngine::getPtr, cvedia::rt::iface::NBus::getPtr, cvedia::rt::iface::TopBus::getPtr
function verifyConfig¶
virtual void verifyConfig(
pCValue instanceConfig,
ConfigCheckResults & configCheckResults
) =0
Reimplemented by: cvedia::rt::ModuleImpl::verifyConfig, cvedia::rt::iface::Output::verifyConfig
function getConfigSpecs¶
virtual pCValue getConfigSpecs() const =0
Reimplemented by: cvedia::rt::ModuleImpl::getConfigSpecs
function getConfigDescriptors¶
inline virtual std::map< std::string, std::shared_ptr< ConfigDescriptor > > getConfigDescriptors() const
function getName¶
virtual std::string const & getName() const =0
Reimplemented by: cvedia::rt::ModuleImpl::getName
function setName¶
virtual void setName(
std::string const & name
) =0
Reimplemented by: cvedia::rt::ModuleImpl::setName
function stop¶
inline virtual void stop()
Reimplemented by: cvedia::rt::iface::InputHandler::stop
function setParent¶
virtual void setParent(
iface::Module *
) =0
Reimplemented by: cvedia::rt::ModuleImpl::setParent
function getParent¶
virtual iface::Module * getParent() const =0
Reimplemented by: cvedia::rt::ModuleImpl::getParent
function getValue¶
virtual expected< pCValue > getValue(
std::string const & key,
int dictType
) const =0
Reimplemented by: cvedia::rt::ModuleImpl::getValue
function getValue¶
virtual expected< cvec > getValue(
std::vector< std::string > const & keys,
int dictType
) const =0
Reimplemented by: cvedia::rt::ModuleImpl::getValue
function setValue¶
virtual expected< void > setValue(
std::string const & key,
pCValue const & value,
int dictType
) =0
Reimplemented by: cvedia::rt::ModuleImpl::setValue
function setValue¶
virtual expected< void > setValue(
cmap const & values,
int dictType
) =0
Reimplemented by: cvedia::rt::ModuleImpl::setValue
function getStateDict¶
virtual expected< std::unique_ptr< iface::CVDictRoot > > getStateDict() const =0
Reimplemented by: cvedia::rt::ModuleImpl::getStateDict
function getConfigDict¶
virtual expected< std::unique_ptr< iface::CVDictRoot > > getConfigDict() const =0
Reimplemented by: cvedia::rt::ModuleImpl::getConfigDict
function setConfig¶
virtual expected< void > setConfig(
pCValue const & conf
) const =0
Reimplemented by: cvedia::rt::ModuleImpl::setConfig
function getRootNode¶
virtual std::string getRootNode() const =0
Reimplemented by: cvedia::rt::ModuleImpl::getRootNode