WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::math::MathShared Class Referenceabstract

#include <wpimath/MathShared.h>

Public Member Functions

virtual ~MathShared ()=default
 
virtual void ReportErrorV (fmt::string_view format, fmt::format_args args)=0
 
virtual void ReportWarningV (fmt::string_view format, fmt::format_args args)=0
 
virtual void ReportUsage (MathUsageId id, int count)=0
 
virtual units::second_t GetTimestamp ()=0
 
template<typename S , typename... Args>
void ReportError (const S &format, Args &&... args)
 
template<typename S , typename... Args>
void ReportWarning (const S &format, Args &&... args)
 

Constructor & Destructor Documentation

◆ ~MathShared()

virtual wpi::math::MathShared::~MathShared ( )
virtualdefault

Member Function Documentation

◆ GetTimestamp()

virtual units::second_t wpi::math::MathShared::GetTimestamp ( )
pure virtual

◆ ReportError()

template<typename S , typename... Args>
void wpi::math::MathShared::ReportError ( const S & format,
Args &&... args )
inline

◆ ReportErrorV()

virtual void wpi::math::MathShared::ReportErrorV ( fmt::string_view format,
fmt::format_args args )
pure virtual

◆ ReportUsage()

virtual void wpi::math::MathShared::ReportUsage ( MathUsageId id,
int count )
pure virtual

◆ ReportWarning()

template<typename S , typename... Args>
void wpi::math::MathShared::ReportWarning ( const S & format,
Args &&... args )
inline

◆ ReportWarningV()

virtual void wpi::math::MathShared::ReportWarningV ( fmt::string_view format,
fmt::format_args args )
pure virtual

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