A wrapper to make video sources sendable and usable from Shuffleboard.
More...
#include <frc/shuffleboard/SendableCameraWrapper.h>
A wrapper to make video sources sendable and usable from Shuffleboard.
◆ SendableCameraWrapper() [1/2]
frc::SendableCameraWrapper::SendableCameraWrapper |
( |
std::string_view |
cameraName, |
|
|
const private_init & |
|
|
) |
| |
|
inline |
Creates a new sendable wrapper.
Private constructor to avoid direct instantiation with multiple wrappers floating around for the same camera.
- Parameters
-
cameraName | the name of the camera to wrap |
◆ SendableCameraWrapper() [2/2]
frc::SendableCameraWrapper::SendableCameraWrapper |
( |
std::string_view |
cameraName, |
|
|
std::span< const std::string > |
cameraUrls, |
|
|
const private_init & |
|
|
) |
| |
|
inline |
Creates a new sendable wrapper.
Private constructor to avoid direct instantiation with multiple wrappers floating around for the same camera.
- Parameters
-
cameraName | the name of the camera to wrap |
cameraUrls | camera URLs |
◆ InitSendable()
Initializes this Sendable object.
- Parameters
-
Implements wpi::Sendable.
◆ Wrap() [1/3]
Gets a sendable wrapper object for the given video source, creating the wrapper if one does not already exist for the source.
- Parameters
-
source | the video source to wrap |
- Returns
- a sendable wrapper object for the video source, usable in Shuffleboard via ShuffleboardTab::Add() and ShuffleboardLayout::Add()
◆ Wrap() [2/3]
◆ Wrap() [3/3]
The documentation for this class was generated from the following file: