WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
hal::impl::SimCallbackRegistryBase Class Reference
Inheritance diagram for hal::impl::SimCallbackRegistryBase:
hal::impl::SimDataValueBase< T, MakeValue > hal::SimCallbackRegistry< CallbackFunction, GetName > hal::SimDataValue< T, MakeValue, GetName, GetDefault >

Public Types

using RawFunctor ) = void(*)(
 

Public Member Functions

void Cancel (int32_t uid)
 
void Reset ()
 
wpi::recursive_spinlockGetMutex ()
 

Protected Types

using CallbackVector = wpi::UidVector< HalCallbackListener< RawFunctor >, 4 >
 

Protected Member Functions

int32_t DoRegister (RawFunctor callback, void *param)
 
LLVM_ATTRIBUTE_ALWAYS_INLINE void DoReset ()
 

Protected Attributes

wpi::recursive_spinlock m_mutex
 
std::unique_ptr< CallbackVectorm_callbacks
 

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