WPILibC++ 2025.0.0-alpha-1-9-ga2beb75
CallbackStore.h File Reference
#include <functional>
#include <string_view>
#include <hal/Value.h>

Go to the source code of this file.

Classes

class  frc::sim::CallbackStore
 Manages simulation callbacks; each object is associated with a callback. More...
 

Namespaces

namespace  frc
 
namespace  frc::sim
 

Typedefs

using frc::sim::NotifyCallback = std::function< void(std::string_view, const HAL_Value *)>
 
using frc::sim::ConstBufferCallback = std::function< void(std::string_view, const unsigned char *buffer, unsigned int count)>
 
using frc::sim::CancelCallbackFunc = void(*)(int32_t index, int32_t uid)
 
using frc::sim::CancelCallbackNoIndexFunc = void(*)(int32_t uid)
 
using frc::sim::CancelCallbackChannelFunc = void(*)(int32_t index, int32_t channel, int32_t uid)
 

Functions

void frc::sim::CallbackStoreThunk (const char *name, void *param, const HAL_Value *value)
 
void frc::sim::ConstBufferCallbackStoreThunk (const char *name, void *param, const unsigned char *buffer, unsigned int count)