MeVisLab Toolbox Reference
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Variables
_
a
b
c
d
e
f
h
i
l
m
n
o
p
s
v
w
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
a
b
c
d
e
f
l
m
n
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
v
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Related Functions
:
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
f
g
h
i
m
o
p
r
s
Variables
_
c
i
k
m
p
r
s
v
w
Typedefs
c
d
e
f
g
h
i
m
p
s
t
u
v
Enumerations
a
b
c
d
e
f
h
k
l
m
n
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
w
x
mlMetaProfilePtr.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2010, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef ML_META_PROFILE_PTR_H
14
#define ML_META_PROFILE_PTR_H
15
16
#include "
mlProfilingManagerDllExport.h
"
17
18
class
MLMetaProfile
;
19
20
22
class
MLPROFILINGMANAGER_EXPORT
MLMetaProfilePtr
23
{
24
public
:
25
MLMetaProfilePtr
();
26
~MLMetaProfilePtr
();
27
28
void
createMetaProfile
(
const
std::string& description);
29
30
MLMetaProfile
*
operator->
()
const
{
return
_metaProfile; }
31
MLMetaProfile
&
operator*
() {
return
*_metaProfile; }
32
const
MLMetaProfile
&
operator*
()
const
{
return
*_metaProfile; }
33
34
MLMetaProfile
*
get
()
const
{
return
_metaProfile; }
35
36
operator
bool()
const
{
return
_metaProfile !=
nullptr
; }
37
38
private
:
39
// disallow copying of the metaprofile pointer, because the metaprofile
40
// supports only one callback.
41
MLMetaProfilePtr
(
const
MLMetaProfilePtr
&);
42
MLMetaProfilePtr
& operator=(
const
MLMetaProfilePtr
&);
43
44
void
metaProfileIsDestroyed();
45
46
private
:
47
MLMetaProfile
* _metaProfile;
48
49
friend
class
MLMetaProfile
;
50
};
51
52
#endif
// _ML_META_PROFILE_PTR_H_
MLMetaProfilePtr
The pointer is automatically reset when the metaprofile is destroyed.
Definition:
mlMetaProfilePtr.h:23
MLMetaProfilePtr::MLMetaProfilePtr
MLMetaProfilePtr()
MLMetaProfilePtr::get
MLMetaProfile * get() const
Definition:
mlMetaProfilePtr.h:34
MLMetaProfilePtr::~MLMetaProfilePtr
~MLMetaProfilePtr()
MLMetaProfilePtr::createMetaProfile
void createMetaProfile(const std::string &description)
MLMetaProfilePtr::operator*
const MLMetaProfile & operator*() const
Definition:
mlMetaProfilePtr.h:32
MLMetaProfilePtr::operator*
MLMetaProfile & operator*()
Definition:
mlMetaProfilePtr.h:31
MLMetaProfilePtr::operator->
MLMetaProfile * operator->() const
Definition:
mlMetaProfilePtr.h:30
MLMetaProfile
Definition:
mlMetaProfile.h:36
mlProfilingManagerDllExport.h
MLPROFILINGMANAGER_EXPORT
#define MLPROFILINGMANAGER_EXPORT
Definition:
mlProfilingManagerDllExport.h:19
MeVis
Foundation
Sources
MLProfilingManager
Include
mlMetaProfilePtr.h
Generated by
1.9.1