MeVisLab Resolution Independence API
XVStatus.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, 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 XVSTATUS_H
14#define XVSTATUS_H
15
17
19
20//=============================================================
22
23//=============================================================
25{
26public:
28 static void updateProgress(const char* info1, const char* info2);
29
31 static bool wasAborted();
32
34 static void setWasAborted(bool flag);
35
37 static void setAbortIsHandled(bool flag);
38
40 static bool abortIsHandled();
41
42private:
43 static bool _wasAborted;
44 static bool _abortIsHandled;
45};
46
47#endif
#define INVENTORWRAPPER_API
Library initialization and export macros for platform independecy of project.
Class for passing status information to a host system.
Definition XVStatus.h:25
static void updateProgress(const char *info1, const char *info2)
sets the global progress status to the given strings (using ML host if ML is linked)
static bool abortIsHandled()
get if global abortion will be handled by the viewer
static void setWasAborted(bool flag)
set if global abortion was done
static void setAbortIsHandled(bool flag)
set if global abortion will be handled by the viewer
static bool wasAborted()
check if global abortion flag was set