mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a This mirrors the robotpy files for the following projects: - apriltag - datalog - hal - ntcore - romiVendordep - wpilibc - wpimath - xrpVendordep This excludes cscore and the halsim wrappers for at this time. NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
108 lines
2.8 KiB
YAML
108 lines
2.8 KiB
YAML
classes:
|
|
nt::StringArraySubscriber:
|
|
methods:
|
|
StringArraySubscriber:
|
|
overloads:
|
|
'':
|
|
ignore: true
|
|
NT_Subscriber, ParamType:
|
|
ignore: true
|
|
Get:
|
|
overloads:
|
|
'[const]':
|
|
ParamType [const]:
|
|
GetAtomic:
|
|
overloads:
|
|
'[const]':
|
|
ParamType [const]:
|
|
ReadQueue:
|
|
GetTopic:
|
|
inline_code: |
|
|
.def("close", [](StringArraySubscriber *self) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArraySubscriber();
|
|
}, py::doc("Destroys the subscriber"))
|
|
.def("__enter__", [](StringArraySubscriber *self) {
|
|
return self;
|
|
})
|
|
.def("__exit__", [](StringArraySubscriber *self, py::args args) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArraySubscriber();
|
|
})
|
|
nt::StringArrayPublisher:
|
|
methods:
|
|
StringArrayPublisher:
|
|
overloads:
|
|
'':
|
|
ignore: true
|
|
NT_Publisher:
|
|
ignore: true
|
|
Set:
|
|
SetDefault:
|
|
GetTopic:
|
|
inline_code: |
|
|
.def("close", [](StringArrayPublisher *self) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArrayPublisher();
|
|
}, py::doc("Destroys the publisher"))
|
|
.def("__enter__", [](StringArrayPublisher *self) {
|
|
return self;
|
|
})
|
|
.def("__exit__", [](StringArrayPublisher *self, py::args args) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArrayPublisher();
|
|
})
|
|
nt::StringArrayEntry:
|
|
methods:
|
|
StringArrayEntry:
|
|
overloads:
|
|
'':
|
|
ignore: true
|
|
NT_Entry, ParamType:
|
|
ignore: true
|
|
GetHandle:
|
|
ignore: true
|
|
GetTopic:
|
|
Unpublish:
|
|
inline_code: |
|
|
.def("close", [](StringArrayEntry *self) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArrayEntry();
|
|
}, py::doc("Destroys the entry"))
|
|
.def("__enter__", [](StringArrayEntry *self) {
|
|
return self;
|
|
})
|
|
.def("__exit__", [](StringArrayEntry *self, py::args args) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArrayEntry();
|
|
})
|
|
nt::StringArrayTopic:
|
|
attributes:
|
|
kTypeString:
|
|
methods:
|
|
StringArrayTopic:
|
|
overloads:
|
|
'':
|
|
ignore: true
|
|
NT_Topic:
|
|
ignore: true
|
|
Topic:
|
|
Subscribe:
|
|
SubscribeEx:
|
|
Publish:
|
|
PublishEx:
|
|
GetEntry:
|
|
GetEntryEx:
|
|
inline_code: |
|
|
.def("close", [](StringArrayTopic *self) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArrayTopic();
|
|
}, py::doc("Destroys the topic"))
|
|
.def("__enter__", [](StringArrayTopic *self) {
|
|
return self;
|
|
})
|
|
.def("__exit__", [](StringArrayTopic *self, py::args args) {
|
|
py::gil_scoped_release release;
|
|
*self = StringArrayTopic();
|
|
})
|