SHOGUN
4.2.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
ui
GUITime.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) 1999-2008 Soeren Sonnenburg
8
* Copyright (C) 1999-2008 Fraunhofer Institute FIRST and Max-Planck-Society
9
*/
10
11
#ifndef __GUITIME__H_
12
#define __GUITIME__H_
13
14
#include <
shogun/lib/config.h
>
15
#include <
shogun/lib/Time.h
>
16
#include <
shogun/base/SGObject.h
>
17
18
namespace
shogun
19
{
20
class
CSGInterface;
21
23
class
CGUITime
:
public
CSGObject
24
{
25
public
:
27
CGUITime
() { };
31
CGUITime
(CSGInterface*
interface
);
33
~CGUITime
();
34
36
void
start
();
38
void
stop
();
39
41
virtual
const
char
*
get_name
()
const
{
return
"GUITime"
; }
42
protected
:
44
CSGInterface*
ui
;
46
CTime
*
time
;
47
};
48
}
49
#endif
shogun::CTime
Class Time that implements a stopwatch based on either cpu time or wall clock time.
Definition:
Time.h:47
SGObject.h
interface
CSGInterface * interface
Definition:
SGInterface.cpp:45
shogun::CGUITime::start
void start()
Definition:
GUITime.cpp:27
shogun::CGUITime::~CGUITime
~CGUITime()
Definition:
GUITime.cpp:22
shogun::CGUITime::ui
CSGInterface * ui
Definition:
GUITime.h:44
Time.h
config.h
shogun::CGUITime
UI time.
Definition:
GUITime.h:23
shogun::CSGObject
Class SGObject is the base class of all shogun objects.
Definition:
SGObject.h:115
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::CGUITime::CGUITime
CGUITime()
Definition:
GUITime.h:27
shogun::CGUITime::get_name
virtual const char * get_name() const
Definition:
GUITime.h:41
shogun::CGUITime::time
CTime * time
Definition:
GUITime.h:46
shogun::CGUITime::stop
void stop()
Definition:
GUITime.cpp:32
SHOGUN
Machine Learning Toolbox - Documentation