#include <CamManager.h>
Public Member Functions | |
CamManager (zmq::context_t &_ctx, const std::string &_brokerEndpoint, const std::string &_serviceName, const PubSubEndpoint &_cameraSource, StorageManager &_storageManager) | |
~CamManager () | |
Json::Value | addExtractor (const std::string &name, const Json::Value &arguments) |
Json::Value | listExtractors () |
Json::Value | removeExtractor (const std::string &name, const std::string &identifier) |
![]() | |
RocServer (zmq::context_t &_ctx, const std::string &_brokerEndpoint, const std::string &_serviceName) | |
virtual | ~RocServer () |
Additional Inherited Members | |
![]() | |
virtual void | startup () |
called in handler thread on startup More... | |
virtual void | teardown () |
called in handler thread on shutdown More... | |
virtual void | onRequest (std::list< zmq::message_t * > *envelope, std::list< zmq::message_t * > *data) |
The (not anymore) "to-be-overloaded" request handler. More... | |
virtual Json::Value | getattr (const std::string &name) |
The "to-be-overloaded" getattr handler. More... | |
virtual void | setattr (const std::string &name, const Json::Value &value) |
The "to-be-overloaded" setattr handler. More... | |
void | reply (std::list< zmq::message_t * > *envelope, std::list< zmq::message_t * > *data=nullptr) |
void | replyValue (std::list< zmq::message_t * > *envelope, const Json::Value &value, const std::string &id="") |
void | replyError (std::list< zmq::message_t * > *envelope, int errorNo, const std::string &id="") |
![]() | |
zmq::context_t & | ctx |
Definition at line 13 of file CamManager.h.
CamManager::CamManager | ( | zmq::context_t & | _ctx, |
const std::string & | _brokerEndpoint, | ||
const std::string & | _serviceName, | ||
const PubSubEndpoint & | _cameraSource, | ||
StorageManager & | _storageManager | ||
) |
Definition at line 14 of file CamManager.cpp.
CamManager::~CamManager | ( | ) |
Definition at line 25 of file CamManager.cpp.
Json::Value CamManager::addExtractor | ( | const std::string & | name, |
const Json::Value & | arguments | ||
) |
Definition at line 45 of file CamManager.cpp.
Json::Value CamManager::listExtractors | ( | ) |
Definition at line 115 of file CamManager.cpp.
Json::Value CamManager::removeExtractor | ( | const std::string & | name, |
const std::string & | identifier | ||
) |
Definition at line 134 of file CamManager.cpp.