diff --git a/src/core/efw/JobClient.hpp b/src/core/efw/JobClient.hpp index 9e4155ee..8e517989 100644 --- a/src/core/efw/JobClient.hpp +++ b/src/core/efw/JobClient.hpp @@ -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