24 const unsigned char* buffer,
60 const unsigned char* buffer,
75 enum CancelType { Normal, Channel, NoIndex };
76 CancelType cancelType;
Manages simulation callbacks; each object is associated with a callback.
Definition: CallbackStore.h:30
CallbackStore(int32_t i, int32_t c, int32_t u, ConstBufferCallback cb, CancelCallbackChannelFunc ccf)
CallbackStore & operator=(const CallbackStore &)=delete
CallbackStore(int32_t i, int32_t u, ConstBufferCallback cb, CancelCallbackFunc ccf)
CallbackStore(int32_t i, int32_t c, int32_t u, NotifyCallback cb, CancelCallbackChannelFunc ccf)
CancelCallbackFunc ccf
Definition: CallbackStore.h:71
CallbackStore(int32_t i, int32_t u, NotifyCallback cb, CancelCallbackFunc ccf)
CancelCallbackNoIndexFunc ccnif
Definition: CallbackStore.h:73
CallbackStore(int32_t i, ConstBufferCallback cb, CancelCallbackNoIndexFunc ccf)
friend void CallbackStoreThunk(const char *name, void *param, const HAL_Value *value)
CallbackStore(const CallbackStore &)=delete
CancelCallbackChannelFunc cccf
Definition: CallbackStore.h:72
CallbackStore(int32_t i, NotifyCallback cb, CancelCallbackNoIndexFunc ccf)
friend void ConstBufferCallbackStoreThunk(const char *name, void *param, const unsigned char *buffer, unsigned int count)
basic_string_view< char > string_view
Definition: core.h:501
constexpr auto count() -> size_t
Definition: core.h:1203
Definition: XboxControllerSim.h:13
void(*)(int32_t index, int32_t channel, int32_t uid) CancelCallbackChannelFunc
Definition: CallbackStore.h:20
void(*)(int32_t uid) CancelCallbackNoIndexFunc
Definition: CallbackStore.h:18
void(*)(int32_t index, int32_t uid) CancelCallbackFunc
Definition: CallbackStore.h:17
std::function< void(std::string_view, const unsigned char *buffer, unsigned int count)> ConstBufferCallback
Definition: CallbackStore.h:16
void CallbackStoreThunk(const char *name, void *param, const HAL_Value *value)
void ConstBufferCallbackStoreThunk(const char *name, void *param, const unsigned char *buffer, unsigned int count)
std::function< void(std::string_view, const HAL_Value *)> NotifyCallback
Definition: CallbackStore.h:14
static constexpr const velocity::meters_per_second_t c(299792458.0)
Speed of light in vacuum.
HAL Entry Value.
Definition: Value.h:20