UniSet
@VERSION@
include
USingleProcess.h
1
/*
2
* Copyright (c) 2025 Pavel Vainerman.
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as
6
* published by the Free Software Foundation, version 2.1.
7
*
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Lesser Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
//---------------------------------------------------------------------------
17
#ifndef USingleProcess_H_
18
#define USingleProcess_H_
19
//--------------------------------------------------------------------------
20
#include <memory>
21
#include "Configuration.h"
22
#include "RunLock.h"
23
#include "UniXML.h"
24
//---------------------------------------------------------------------------
25
namespace
uniset
26
{
27
class
USingleProcess
28
{
29
public
:
30
USingleProcess
( xmlNode* cnode,
int
argc,
const
char
*
const
argv[],
const
std::string& prefix =
""
);
31
explicit
USingleProcess
();
32
virtual
~USingleProcess
();
33
34
protected
:
35
std::shared_ptr<RunLock> rlock =
nullptr
;
36
bool
checkLockFile( xmlNode* cnode,
int
argc,
const
char
*
const
argv[],
const
std::string& prefix );
37
38
};
39
// -------------------------------------------------------------------------
40
}
// end of uniset namespace
41
//---------------------------------------------------------------------------
42
#endif
43
//---------------------------------------------------------------------------
uniset::USingleProcess
Definition
USingleProcess.h:28
uniset
Definition
AccessConfig.h:30
Документация по UniSet. Последние изменения: Вс 1 Мар 2026 19:50:48. Создано системой
1.9.8