#include <CallbackList.h>
Classes | |
struct | Item |
Public Types | |
using | CallbackType = std::function< void(InputsT...)> |
Public Member Functions | |
void | Call (InputsT... args) const |
void | Clear () |
size_t | Push (CallbackType &&callback) |
void | Remove (size_t id) |
Private Attributes | |
std::atomic_size_t | _counter {0u} |
AtomicList< Item > | _list |
Additional Inherited Members | |
Private Member Functions inherited from carla::NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable (NonCopyable &&)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable & | operator= (NonCopyable &&)=delete |
Definition at line 20 of file CallbackList.h.
using carla::client::detail::CallbackList< InputsT >::CallbackType = std::function<void(InputsT...)> |
Definition at line 23 of file CallbackList.h.
|
inline |
Definition at line 25 of file CallbackList.h.
|
inline |
Definition at line 43 of file CallbackList.h.
|
inline |
Definition at line 32 of file CallbackList.h.
|
inline |
Definition at line 39 of file CallbackList.h.
|
private |
Definition at line 66 of file CallbackList.h.
Referenced by carla::client::detail::CallbackList< carla::client::WorldSnapshot >::Push().
|
private |
Definition at line 68 of file CallbackList.h.
Referenced by carla::client::detail::CallbackList< carla::client::WorldSnapshot >::Call(), carla::client::detail::CallbackList< carla::client::WorldSnapshot >::Clear(), carla::client::detail::CallbackList< carla::client::WorldSnapshot >::Push(), and carla::client::detail::CallbackList< carla::client::WorldSnapshot >::Remove().