//------------------------------------------------------------------------------
//--------------------------------------------------------- Engine::addConcept()
//------------------------------------------------------------------------------
-int Engine::addConcept(const std::string & description, const std::string & unit, const bool & integerNatureSample) throw() {
+int Engine::addConcept(const std::string & description, const std::string & unit, const bool & integerNatureSample) {
a_sequence_concept_id++;
_concept_identification_t aux;
aux.SampleFile = ""; // sample dump disabled by default for new concepts
//------------------------------------------------------------------------------
//--------------------------------------------------------- Engine::getConcept()
//------------------------------------------------------------------------------
-bool Engine::getConcept(const int & id, std::string & description, std::string & unit, bool & integerNatureSample) const throw() {
+bool Engine::getConcept(const int & id, std::string & description, std::string & unit, bool & integerNatureSample) const {
_concept_identification_map_iter it = a_concept_identification_map.find(id);
if(it == a_concept_identification_map.end()) return false;
//------------------------------------------------------------------------------
//---------------------------------------------------- Engine::enableSampleLog()
//------------------------------------------------------------------------------
-bool Engine::enableSampleLog(const int & id, const char *sampleFileName) throw() {
+bool Engine::enableSampleLog(const int & id, const char *sampleFileName) {
_concept_identification_map_nc_iter it;
std::string providedName = sampleFileName ? sampleFileName : "sample";
std::string *SampleFile_ptr;
//------------------------------------------------------------------------------
//--------------------------------------------------- Engine::disableSampleLog()
//------------------------------------------------------------------------------
-bool Engine::disableSampleLog(const int & id) throw() {
+bool Engine::disableSampleLog(const int & id) {
if(id != -1) {
_concept_identification_map_nc_iter it = a_concept_identification_map.find(id);
//------------------------------------------------------------------------------
//--------------------------------------------------- Engine::disableSampleLog()
//------------------------------------------------------------------------------
-bool Engine::logSample(const int & conceptId, const anna::Millisecond & unixTimestamp, const double & value) const throw() {
+bool Engine::logSample(const int & conceptId, const anna::Millisecond & unixTimestamp, const double & value) const {
anna::Guard guard(a_mutex);
_concept_identification_map_iter it = a_concept_identification_map.find(conceptId);
//------------------------------------------------------------------------------
//-------------------------------------------------- Engine::createAccumulator()
//------------------------------------------------------------------------------
-Accumulator *Engine::createAccumulator(const std::string &name) throw(anna::RuntimeException) {
+Accumulator *Engine::createAccumulator(const std::string &name) noexcept(false) {
Accumulator *result = getAccumulator(name);
if (result)
return result;
}
-Accumulator* Engine::getAccumulator(const std::string &name) throw() {
+Accumulator* Engine::getAccumulator(const std::string &name) {
Accumulator *result = NULL;
_accumulator_map_nc_it it = a_accumulators.find(name);
//------------------------------------------------------------------------------
//----------------------------------------------------------- Engine::asString()
//------------------------------------------------------------------------------
-std::string Engine::asString(void) const throw() {
+std::string Engine::asString(void) const {
std::string trace;
_concept_identification_map_iter iter;
_concept_identification_map_iter iter_min(a_concept_identification_map.begin());
//------------------------------------------------------------------------------
//-------------------------------------------------------------- Engine::asXML()
//------------------------------------------------------------------------------
-anna::xml::Node* Engine::asXML(anna::xml::Node* parent, const int & numberOfDecimals) const throw() {
+anna::xml::Node* Engine::asXML(anna::xml::Node* parent, const int & numberOfDecimals) const {
anna::xml::Node* result = parent->createChild("anna.statistics.Engine");
_concept_identification_map_iter iter;
_concept_identification_map_iter iter_min(a_concept_identification_map.begin());