13 unsigned char* buffer,
unsigned int count);
16 const unsigned char* buffer,
23template <
typename CallbackFunction>
29 explicit operator bool()
const {
return callback !=
nullptr; }
void(* HAL_BufferCallback)(const char *name, void *param, unsigned char *buffer, unsigned int count)
Definition: NotifyListener.h:12
void(* HAL_NotifyCallback)(const char *name, void *param, const struct HAL_Value *value)
Definition: NotifyListener.h:9
void(* HAL_ConstBufferCallback)(const char *name, void *param, const unsigned char *buffer, unsigned int count)
Definition: NotifyListener.h:15
constexpr auto count() -> size_t
Definition: core.h:1203
WPILib Hardware Abstraction Layer (HAL) namespace.
Definition: ChipObject.h:40
constexpr const char * name(const T &)
HAL Entry Value.
Definition: Value.h:20
Definition: NotifyListener.h:24
HalCallbackListener(void *param_, CallbackFunction callback_)
Definition: NotifyListener.h:26
CallbackFunction callback
Definition: NotifyListener.h:31
void * param
Definition: NotifyListener.h:32
HalCallbackListener()=default