Exemplo n.º 1
0
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();
}
Exemplo n.º 2
0
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();
}