VPTissue Reference Manual
SimResult.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2011-2016 Universiteit Antwerpen
3  *
4  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
5  * the European Commission - subsequent versions of the EUPL (the "Licence");
6  * You may not use this work except in compliance with the Licence.
7  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the Licence is distributed on an "AS IS" basis,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the Licence for the specific language governing
13  * permissions and limitations under the Licence.
14  */
20 #include "SimResult.h"
21 
22 namespace SimPT_Parex {
23 
25  : m_exploration_name(""), m_success(ResultType::Failure), m_task_id(-1), m_node_port(0)
26 {
27 }
28 
29 SimResult::SimResult(const std::string &explorationName, int taskId,
30  ResultType result, const std::string &nodeIP, int nodePort)
31  : m_exploration_name(explorationName), m_success(result), m_task_id(taskId),
32  m_node_ip(nodeIP), m_node_port(nodePort)
33 {
34 }
35 
36 } // namespace
Interface for SimResult.
Namespace for SimPT parameter explorer package.
Definition: Client.cpp:52
SimResult()
Default constructor, needed by Qt signals.
Definition: SimResult.cpp:24