• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kcachegrind

  • sources
  • kde-4.12
  • kdesdk
  • kcachegrind
  • kcachegrind
dumpmanager.h
Go to the documentation of this file.
1 /* This file is part of KCachegrind.
2  Copyright (C) 2003 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
3 
4  KCachegrind is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation, version 2.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; see the file COPYING. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 /*
20  * DumpManager
21  *
22  * DumpManager is a Singleton.
23  * - Has List of current loaded dumps / loadable dumps
24  * - Does "communication" with current running profiles
25  * for dump selection dockable
26  */
27 
28 #ifndef DUMPMANAGER_H
29 #define DUMPMANAGER_H
30 
31 #include <qstring.h>
32 #include <qlist.h>
33 
34 class Dump;
35 class TraceData;
36 
37 typedef QList<Dump*> DumpList;
38 
39 
43 class Dump
44 {
45 public:
46  Dump(QString);
47 
48  QString filename() const { return _filename; }
49 
50 private:
51  QString _filename;
52 };
53 
54 
55 /*
56  * TODO:
57  * - Everything
58  *
59  */
60 
61 class DumpManager
62 {
63 public:
64  DumpManager();
65 
66  DumpManager* self();
67 
68  DumpList loadableDumps();
69  TraceData* load(Dump*);
70 
71 private:
72  static DumpManager* _self;
73 };
74 
75 #endif
DumpManager::DumpManager
DumpManager()
Definition: dumpmanager.cpp:43
DumpManager
Definition: dumpmanager.h:61
Dump::filename
QString filename() const
Definition: dumpmanager.h:48
DumpList
QList< Dump * > DumpList
Definition: dumpmanager.h:35
DumpManager::load
TraceData * load(Dump *)
Definition: dumpmanager.cpp:63
TraceData
This class holds profiling data of multiple tracefiles generated with cachegrind on one command...
Definition: tracedata.h:1363
Dump::Dump
Dump(QString)
Definition: dumpmanager.cpp:30
QList
Dump
A loadable profile Dump.
Definition: dumpmanager.h:43
DumpManager::loadableDumps
DumpList loadableDumps()
Definition: dumpmanager.cpp:56
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal