VPTissue Reference Manual
SimPT_Parex::SimResult Class Reference

A container class for the final result of a simulation. More...

#include <SimResult.h>

Collaboration diagram for SimPT_Parex::SimResult:
Collaboration graph

Public Types

enum  ResultType { Success = 0, Failure = 1, Stopped = 2 }
 

Public Member Functions

 SimResult ()
 Default constructor, needed by Qt signals.
 
 SimResult (const std::string &explorationName, int taskId, ResultType result, const std::string &nodeIP="", int nodePort=0)
 A basic constructor.
 
std::string GetExplorationName () const
 Returns the name of the exploration of the finished task.
 
std::string GetNodeIP () const
 Returns the IP of the node that has the result.
 
int GetNodePort () const
 Returns the Port of the TCP server of the node that has the result.
 
ResultType GetResult () const
 Check if the simulation was successfully completed.
 
int GetTaskId () const
 Return the id of the finished task.
 

Detailed Description

A container class for the final result of a simulation.

Definition at line 29 of file SimResult.h.


The documentation for this class was generated from the following files: