+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModelAPI_Session.hxx
// Created: 20 Mar 2014
// Author: Mikhail PONIKAROV
#include <ModelAPI_AttributeRefList.h>
#include <ModelAPI_AttributeBoolean.h>
#include <ModelAPI_AttributeSelection.h>
+#include <ModelAPI_AttributeSelectionList.h>
#include <ModelAPI_Events.h>
#include <ModelAPI_Validator.h>
#include <dlfcn.h>
#endif
-using namespace std;
-
#ifdef _DEBUG
#include <iostream>
#endif
/// Manager that will be initialized from Model package, one per application
-boost::shared_ptr<ModelAPI_Session> MY_MANAGER;
-
-ModelAPI_Session::ModelAPI_Session()
-{
-}
+std::shared_ptr<ModelAPI_Session> MY_MANAGER;
-void ModelAPI_Session::setSession(boost::shared_ptr<ModelAPI_Session> theManager)
+void ModelAPI_Session::setSession(std::shared_ptr<ModelAPI_Session> theManager)
{
MY_MANAGER = theManager;
}
-boost::shared_ptr<ModelAPI_Session> ModelAPI_Session::get()
+std::shared_ptr<ModelAPI_Session> ModelAPI_Session::get()
{
if (!MY_MANAGER) { // import Model library that implements this interface of ModelAPI
Config_ModuleReader::loadLibrary("Model");
return MY_MANAGER;
}
-const ModelAPI_EventCreator* MY_API_CREATOR = 0; ///< instance of the events creator, one pre application
+/// instance of the events creator, one pre application
+const ModelAPI_EventCreator* MY_API_CREATOR = 0;
const ModelAPI_EventCreator* ModelAPI_EventCreator::get()
{