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
|
/*
* SPDX-FileCopyrightText: All Contributors to the PyTango project
*
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
#include "precompiled_header.hpp"
#include "pytgutils.h"
#include "device_attribute.h"
void export_group_reply_list()
{
typedef std::vector<Tango::GroupReply> StdGroupReplyVector_;
typedef std::vector<Tango::GroupCmdReply> StdGroupCmdReplyVector_;
typedef std::vector<Tango::GroupAttrReply> StdGroupAttrReplyVector_;
bopy::class_<Tango::GroupReplyList, bopy::bases<StdGroupReplyVector_>> GroupReplyList("GroupReplyList",
bopy::init<>());
GroupReplyList.def("has_failed", &Tango::GroupReplyList::has_failed)
.def("reset", &Tango::GroupReplyList::reset)
.def("push_back", &Tango::GroupReplyList::push_back);
bopy::class_<Tango::GroupCmdReplyList, bopy::bases<StdGroupCmdReplyVector_>> GroupCmdReplyList("GroupCmdReplyList",
bopy::init<>());
GroupCmdReplyList.def("has_failed", &Tango::GroupCmdReplyList::has_failed)
.def("reset", &Tango::GroupCmdReplyList::reset)
.def("push_back", &Tango::GroupCmdReplyList::push_back);
bopy::class_<Tango::GroupAttrReplyList, bopy::bases<StdGroupAttrReplyVector_>> GroupAttrReplyList(
"GroupAttrReplyList", bopy::init<>());
GroupAttrReplyList.def("has_failed", &Tango::GroupAttrReplyList::has_failed)
.def("reset", &Tango::GroupAttrReplyList::reset)
.def("push_back", &Tango::GroupAttrReplyList::push_back);
}
|