SHOGUN
4.1.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
ui
GUITime.h
浏览该文件的文档.
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:112
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
机器学习工具包 - 项目文档