UniSet
2.6.0
Титульная страница
Описания
Группы
Пространства имен
Классы
python
lib
pyUniSet
PyUInterface.h
1
/*
2
* Copyright (c) 2015 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 pyUInterface_H_
18
#define pyUInterface_H_
19
// --------------------------------------------------------------------------
20
#include <string>
21
#include "UTypes.h"
22
#include "UExceptions.h"
23
// --------------------------------------------------------------------------
24
namespace
pyUInterface
25
{
26
void
uniset_init_params(
UTypes::Params
* p,
const
std::string& xmlfile )
throw
(
UException
);
27
void
uniset_init(
int
argc,
char
** argv,
const
std::string& xmlfile )
throw
(
UException
);
28
void
uniset_activate_objects() throw(
UException
);
29
30
//---------------------------------------------------------------------------
31
long
getValue(
long
id
)throw(UException);
32
void
setValue(
long
id
,
long
val,
long
supplier = UTypes::DefaultSupplerID )throw(UException);
33
34
long
getSensorID( const std::
string
& name );
35
long
getObjectID( const std::
string
& name );
36
37
std::
string
getShortName(
long
id
);
38
std::
string
getName(
long
id
);
39
std::
string
getTextName(
long
id
);
40
41
std::
string
getConfFileName();
42
}
43
//---------------------------------------------------------------------------
44
#endif
45
//---------------------------------------------------------------------------
Документация по UniSet. Последние изменения: Вс 15 Янв 2017 18:59:12. Создано системой
1.8.1.2