IdentityRequest::IdentityRequest(std::weak_ptr<ICEngine> engine, std::shared_ptr<Entity> const &entity) : ComJob(IdentityRequest::ID, engine, entity, el::Loggers::getLogger("IdentityRequest")), tryCount(0), stateIR(IdentityRequestState::IRS_UNKNOWN) { auto e = engine.lock(); this->ontologyInterface = e->getOntologyInterface(); }
void StreamStore::init() { if (false == this->engine.expired()) { auto engineObject = engine.lock(); this->eventHandler = engineObject->getEventHandler(); this->streamFactory = engineObject->getStreamFactory(); this->ontology = engineObject->getOntologyInterface(); } // this->readEntitiesFromOntology(); }