Method to query the number of undone jobs in JocClient.hpp added.

Since several jobs can be fetched from the server, it is interesting to
know how much undone jobs are still available. This will accomplished by
the new method getNumberOfUndoneJobs().

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2041 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hellwig
2013-01-31 16:33:39 +00:00
parent e98b18e678
commit 542ee51c4b

View File

@ -57,6 +57,12 @@ public:
* @return \c true Result successfully sent, \c false else.
*/
bool sendResult(ExperimentData& result);
/**
* Return the number of undone jobs that have already been fetched from the server.
*
* @return the number of undone jobs.
*/
int getNumberOfUndoneJobs() { return m_parameters.size(); }
};
} // end-of-namespace: fail