rasdaman complete source
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
applications
rasgeo
wms-import
importtools
importtools/rasgeo_signal.hh
Go to the documentation of this file.
1
/*
2
* This file is part of rasdaman community.
3
*
4
* Rasdaman community is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* Rasdaman community is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
16
*
17
* Copyright 2003 - 2011 Peter Baumann / rasdaman GmbH.
18
*
19
* For more information please see <http://www.rasdaman.org>
20
* or contact Peter Baumann via <baumann@rasdaman.com>.
21
*/
22
23
#ifndef _RASGEO_SIGNAL_HH_
24
#define _RASGEO_SIGNAL_HH_
25
26
#include <signal.h>
27
28
//signalCleanup function is called when a signal is received by the program.
29
//You should write your function in order to have signal management
30
void
signalCleanup
();
31
32
//signalHandler function is called when a signal occurs
33
void
34
signalHandler
(
int
sig);
35
36
//installSignalHandlers function should be called first in main function
37
//in order to receive signal in your program
38
39
void
40
installSignalHandlers
();
41
42
#endif // _RASGEO_SIGNAL_HH_
43
installSignalHandlers
void installSignalHandlers()
signalHandler
void signalHandler(int sig)
signalCleanup
void signalCleanup()
Generated on Sat Mar 7 2015 23:57:58 for rasdaman complete source by
1.8.8