Skip to content

api/api/solution_manager.h

Namespaces

Name
cvedia
cvedia::rt
API for controlling the server and lifecycle management of runtime instances.
cvedia::rt::iface
cvedia::rt::api
cvedia::rt::api::solution_manager

Functions

Name
void registerSolutionManagerHandler(std::string const & solutionId, module::createSolutionManagerHandler func)
bool hasSolutionManagerHandler(std::string const & solutionId)
NODISCARD expected< module::createSolutionManagerHandler > getSolutionManagerHandler(std::string const & solutionId)
void removeAllHandlers()
std::shared_ptr< iface::SolutionManager > createSolutionManager(std::string const & solutionId)

Functions Documentation

function registerSolutionManagerHandler

void registerSolutionManagerHandler(
    std::string const & solutionId,
    module::createSolutionManagerHandler func
)

function hasSolutionManagerHandler

bool hasSolutionManagerHandler(
    std::string const & solutionId
)

function getSolutionManagerHandler

NODISCARD expected< module::createSolutionManagerHandler > getSolutionManagerHandler(
    std::string const & solutionId
)

function removeAllHandlers

void removeAllHandlers()

function createSolutionManager

std::shared_ptr< iface::SolutionManager > createSolutionManager(
    std::string const & solutionId
)