File: attribute.h

package info (click to toggle)
pytango 10.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,304 kB
  • sloc: python: 27,795; cpp: 16,150; sql: 252; sh: 152; makefile: 43
file content (39 lines) | stat: -rw-r--r-- 1,209 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * SPDX-FileCopyrightText: All Contributors to the PyTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#ifndef _ATTRIBUTE_H_
#define _ATTRIBUTE_H_

#include "common_header.h"

namespace PyAttribute {
void set_generic_value(Tango::Attribute &attr,
                       py::object &data,
                       double *time = nullptr,
                       Tango::AttrQuality *quality = nullptr);

void set_encoded_value(Tango::Attribute &attr,
                       py::object &encoding,
                       py::object &data,
                       const double *time = nullptr,
                       const Tango::AttrQuality *quality = nullptr);

py::object get_properties(Tango::Attribute &, py::object &);

py::object get_properties_2(Tango::Attribute &, py::object &);

py::object get_properties_3(Tango::Attribute &, py::object &);

py::object get_properties_multi_attr_prop(Tango::Attribute &, py::object &);

void set_properties(Tango::Attribute &, py::object &, py::object &);

void set_properties_3(Tango::Attribute &, py::object &, py::object &);

void set_properties_multi_attr_prop(Tango::Attribute &, py::object &);
} // namespace PyAttribute

#endif // _ATTRIBUTE_H_