WPILibC++ 2024.3.2
wpi::impl Namespace Reference

Classes

struct  DSOData
 
class  UidVectorIterator
 

Functions

void SetupNowDefaultOnRio ()
 Initialize the on-Rio Now() implementation to use the desktop timestamp. More...
 
template<typename T >
bool SetupNowRio (void *, std::unique_ptr< T >)
 Initialize the on-Rio Now() implementation to use the FPGA timestamp. More...
 
bool SetupNowRio (uint32_t session)
 Initialize the on-Rio Now() implementation to use the FPGA timestamp. More...
 
void ShutdownNowRio ()
 De-initialize the on-Rio Now() implementation. More...
 

Function Documentation

◆ SetupNowDefaultOnRio()

void wpi::impl::SetupNowDefaultOnRio ( )

Initialize the on-Rio Now() implementation to use the desktop timestamp.

No effect on non-Rio platforms. This should only be used for testing purposes if the HAL is not available.

◆ SetupNowRio() [1/2]

bool wpi::impl::SetupNowRio ( uint32_t  session)

Initialize the on-Rio Now() implementation to use the FPGA timestamp.

No effect on non-Rio platforms. This take an FPGA session that has already been initialized, and is used from LabVIEW.

◆ SetupNowRio() [2/2]

template<typename T >
bool wpi::impl::SetupNowRio ( void *  ,
std::unique_ptr< T >   
)
inline

Initialize the on-Rio Now() implementation to use the FPGA timestamp.

No effect on non-Rio platforms. This is called by HAL_Initialize() and thus should generally not be called by user code.

◆ ShutdownNowRio()

void wpi::impl::ShutdownNowRio ( )

De-initialize the on-Rio Now() implementation.

No effect on non-Rio platforms.