mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[robotpy] Mirror most other subprojects (#8208)
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.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
extra_includes:
|
||||
- networktables/BooleanTopic.h
|
||||
- networktables/NetworkTable.h
|
||||
- networktables/NetworkTableInstance.h
|
||||
|
||||
classes:
|
||||
frc::NetworkBooleanEvent:
|
||||
force_no_trampoline: true
|
||||
methods:
|
||||
NetworkBooleanEvent:
|
||||
overloads:
|
||||
EventLoop*, nt::BooleanTopic:
|
||||
cpp_code: |
|
||||
[](EventLoop *loop, nt::BooleanTopic &topic) {
|
||||
return std::make_unique<NetworkBooleanEvent>(loop, std::move(topic));
|
||||
}
|
||||
EventLoop*, nt::BooleanSubscriber:
|
||||
cpp_code: |
|
||||
[](EventLoop *loop, nt::BooleanSubscriber &sub) {
|
||||
return std::make_unique<NetworkBooleanEvent>(loop, std::move(sub));
|
||||
}
|
||||
EventLoop*, std::shared_ptr<nt::NetworkTable>, std::string_view:
|
||||
EventLoop*, std::string_view, std::string_view:
|
||||
EventLoop*, nt::NetworkTableInstance, std::string_view, std::string_view:
|
||||
Reference in New Issue
Block a user