WPILibC++ 2024.3.2
frc::CameraServerShared Class Referenceabstract

#include <cameraserver/CameraServerShared.h>

Public Member Functions

virtual ~CameraServerShared ()=default
 
virtual void ReportUsbCamera (int id)=0
 
virtual void ReportAxisCamera (int id)=0
 
virtual void ReportVideoServer (int id)=0
 
virtual void SetCameraServerErrorV (fmt::string_view format, fmt::format_args args)=0
 
virtual void SetVisionRunnerErrorV (fmt::string_view format, fmt::format_args args)=0
 
virtual void ReportDriverStationErrorV (fmt::string_view format, fmt::format_args args)=0
 
virtual std::pair< std::thread::id, bool > GetRobotMainThreadId () const =0
 
template<typename S , typename... Args>
void SetCameraServerError (const S &format, Args &&... args)
 
template<typename S , typename... Args>
void SetVisionRunnerError (const S &format, Args &&... args)
 
template<typename S , typename... Args>
void ReportDriverStationError (const S &format, Args &&... args)
 

Constructor & Destructor Documentation

◆ ~CameraServerShared()

virtual frc::CameraServerShared::~CameraServerShared ( )
virtualdefault

Member Function Documentation

◆ GetRobotMainThreadId()

virtual std::pair< std::thread::id, bool > frc::CameraServerShared::GetRobotMainThreadId ( ) const
pure virtual

◆ ReportAxisCamera()

virtual void frc::CameraServerShared::ReportAxisCamera ( int  id)
pure virtual

◆ ReportDriverStationError()

template<typename S , typename... Args>
void frc::CameraServerShared::ReportDriverStationError ( const S format,
Args &&...  args 
)
inline

◆ ReportDriverStationErrorV()

virtual void frc::CameraServerShared::ReportDriverStationErrorV ( fmt::string_view  format,
fmt::format_args  args 
)
pure virtual

◆ ReportUsbCamera()

virtual void frc::CameraServerShared::ReportUsbCamera ( int  id)
pure virtual

◆ ReportVideoServer()

virtual void frc::CameraServerShared::ReportVideoServer ( int  id)
pure virtual

◆ SetCameraServerError()

template<typename S , typename... Args>
void frc::CameraServerShared::SetCameraServerError ( const S format,
Args &&...  args 
)
inline

◆ SetCameraServerErrorV()

virtual void frc::CameraServerShared::SetCameraServerErrorV ( fmt::string_view  format,
fmt::format_args  args 
)
pure virtual

◆ SetVisionRunnerError()

template<typename S , typename... Args>
void frc::CameraServerShared::SetVisionRunnerError ( const S format,
Args &&...  args 
)
inline

◆ SetVisionRunnerErrorV()

virtual void frc::CameraServerShared::SetVisionRunnerErrorV ( fmt::string_view  format,
fmt::format_args  args 
)
pure virtual

The documentation for this class was generated from the following file: