SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
JobResult.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2013 Soumyajit De
8  */
9 
10 #ifndef JOB_RESULT_H_
11 #define JOB_RESULT_H_
12 
13 #include <shogun/lib/config.h>
14 #include <shogun/base/SGObject.h>
15 #include <shogun/base/Parameter.h>
16 
17 namespace shogun
18 {
19 
21 class CJobResult : public CSGObject
22 {
23 public:
26  : CSGObject()
27  {
28  SG_GCDEBUG("%s created (%p)\n", this->get_name(), this)
29  }
30 
32  virtual ~CJobResult()
33  {
34  SG_GCDEBUG("%s destroyed (%p)\n", this->get_name(), this)
35  }
36 
38  virtual const char* get_name() const
39  {
40  return "JobResult";
41  }
42 };
43 
44 }
45 
46 #endif // JOB_RESULT_H_
Base class that stores the result of an independent job.
Definition: JobResult.h:21
virtual const char * get_name() const
Definition: JobResult.h:38
#define SG_GCDEBUG(...)
Definition: SGIO.h:102
Class SGObject is the base class of all shogun objects.
Definition: SGObject.h:112
virtual ~CJobResult()
Definition: JobResult.h:32
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

SHOGUN Machine Learning Toolbox - Documentation