#include <LocalSignal.h>
Public Types | |
using | slot_type = std::function< ResultType(Args...)> |
using | result_type = ResultType |
using | size_type = typename ContainerType_::size_type |
Public Member Functions | |
LocalSignal (size_t nSchedules) | |
void | watch (ScheduleID const, std::function< ResultType(Args...)> slot) |
template<typename T > | |
void | watch (ScheduleID const, ResultType(T::*slot)(Args...), T &t) |
template<typename T > | |
void | watch (ScheduleID const, ResultType(T::*slot)(Args...) const, T const &t) |
void | watchAll (std::function< ResultType(Args...)> slot) |
template<typename T > | |
void | watchAll (ResultType(T::*slot)(Args...), T &t) |
template<typename T > | |
void | watchAll (ResultType(T::*slot)(Args...) const, T const &t) |
void | invoke (ScheduleID const, Args &&...args) const |
Private Types | |
using | ContainerType_ = std::vector< std::deque< slot_type >> |
Private Attributes | |
ContainerType_ | signals_ |
Definition at line 35 of file LocalSignal.h.
|
private |
Definition at line 43 of file LocalSignal.h.
using art::LocalSignal< STYPE, ResultType(Args...)>::result_type = ResultType |
Definition at line 39 of file LocalSignal.h.
using art::LocalSignal< STYPE, ResultType(Args...)>::size_type = typename ContainerType_::size_type |
Definition at line 46 of file LocalSignal.h.
using art::LocalSignal< STYPE, ResultType(Args...)>::slot_type = std::function<ResultType(Args...)> |
Definition at line 38 of file LocalSignal.h.
art::LocalSignal< STYPE, ResultType(Args...)>::LocalSignal | ( | size_t | nSchedules | ) |
Definition at line 80 of file LocalSignal.h.
void art::LocalSignal< STYPE, ResultType(Args...)>::invoke | ( | ScheduleID const | sID, |
Args &&... | args | ||
) | const |
Definition at line 166 of file LocalSignal.h.
void art::LocalSignal< STYPE, ResultType(Args...)>::watch | ( | ScheduleID const | sID, |
std::function< ResultType(Args...)> | slot | ||
) |
Definition at line 89 of file LocalSignal.h.
void art::LocalSignal< STYPE, ResultType(Args...)>::watch | ( | ScheduleID const | sID, |
ResultType(T::*)(Args...) | slot, | ||
T & | t | ||
) |
Definition at line 102 of file LocalSignal.h.
void art::LocalSignal< STYPE, ResultType(Args...)>::watch | ( | ScheduleID const | sID, |
ResultType(T::*)(Args...) const | slot, | ||
T const & | t | ||
) |
Definition at line 115 of file LocalSignal.h.
void art::LocalSignal< STYPE, ResultType(Args...)>::watchAll | ( | std::function< ResultType(Args...)> | slot | ) |
Definition at line 128 of file LocalSignal.h.
void art::LocalSignal< STYPE, ResultType(Args...)>::watchAll | ( | ResultType(T::*)(Args...) | slot, |
T & | t | ||
) |
Definition at line 142 of file LocalSignal.h.
void art::LocalSignal< STYPE, ResultType(Args...)>::watchAll | ( | ResultType(T::*)(Args...) const | slot, |
T const & | t | ||
) |
Definition at line 155 of file LocalSignal.h.
|
private |
Definition at line 74 of file LocalSignal.h.