Heart
1.3.880.d32293b
Heart is base back end library for your c++ Qt projects.
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
c
d
h
i
m
n
o
p
q
s
t
u
v
Functions
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
Typedefs
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
b
c
d
f
h
i
l
m
n
p
q
r
t
u
w
Functions
Macros
b
c
d
f
h
l
m
n
p
q
r
t
u
w
packagemanager.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018-2025 QuasarApp.
3
* Distributed under the lgplv3 software license, see the accompanying
4
* Everyone is permitted to copy and distribute verbatim copies
5
* of this license document, but changing it is not allowed.
6
*/
7
8
9
#ifndef PAKCAGEMANAGER_H
10
#define PAKCAGEMANAGER_H
11
12
#include "
package.h
"
13
14
#include <QMutex>
15
#include <QSharedDataPointer>
16
17
18
namespace
QH
{
19
20
class
PackaData;
21
25
class
HEARTSHARED_EXPORT
PackageManager
26
{
27
public
:
28
PackageManager
();
29
~PackageManager
();
30
36
const
Package
* getPkgFromArhive(
const
unsigned
int
&
id
)
const
;
37
44
bool
contains(
const
unsigned
int
&
id
)
const
;
45
52
void
processed(
const
Package
& pkg,
char
processResult);
53
private
:
54
55
QMultiMap<int, unsigned int> _processTime;
56
QHash<unsigned int, const PackaData*> _parseResults;
57
58
mutable
QMutex _processMutex;
59
};
25
class
HEARTSHARED_EXPORT
PackageManager
{
…
};
60
61
}
62
#endif
// PAKCAGEMANAGER_H
QH::PackageManager
The PakcageManager class contains all processed packages. Working like a cache of packages.
Definition
packagemanager.h:26
QH::Package
The Package struct. This is base structure for transporting data by network between QH nodes....
Definition
package.h:23
HEARTSHARED_EXPORT
#define HEARTSHARED_EXPORT
Definition
heart_global.h:19
QH
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition
heart.cpp:13
package.h
src
public
packagemanager.h
Generated by
1.9.8