|
RTC Toolkit 5.1.0
|
#include <requestDispatcher.hpp>
Classes | |
| class | TableEntries |
Public Types | |
| using | DispatchFunction = std::function<void(Adapter*, std::any&, Args... args)> |
| using | LookupTable = std::unordered_map<std::type_index, DispatchFunction> |
| using | TableEntry = typename LookupTable::value_type |
Public Member Functions | |
| RequestDispatcher ()=default | |
| RequestDispatcher (const RequestDispatcher &rhs)=default | |
| RequestDispatcher (RequestDispatcher &&rhs) noexcept=default | |
| ~RequestDispatcher ()=default | |
| RequestDispatcher & | operator= (const RequestDispatcher &rhs)=default |
| RequestDispatcher & | operator= (RequestDispatcher &&rhs) noexcept=default |
| RequestDispatcher (std::initializer_list< TableEntries > table_entries) | |
| void | Dispatch (Adapter *adapter, std::any &request, Args... args) const |
| RequestDispatcher & | operator+= (const RequestDispatcher &rhs) |
| RequestDispatcher & | operator+= (RequestDispatcher &&rhs) |
| RequestDispatcher | operator+ (const RequestDispatcher &rhs) const |
| RequestDispatcher | operator+ (RequestDispatcher &&rhs) const |
Static Public Member Functions | |
| template<typename T > | |
| static TableEntries | Bind (void(Adapter::*method)(T &, Args...)) |
| using rtctk::componentFramework::RequestDispatcher< Adapter, Args >::DispatchFunction = std::function<void(Adapter*, std::any&, Args... args)> |
| using rtctk::componentFramework::RequestDispatcher< Adapter, Args >::LookupTable = std::unordered_map<std::type_index, DispatchFunction> |
| using rtctk::componentFramework::RequestDispatcher< Adapter, Args >::TableEntry = typename LookupTable::value_type |
|
default |
|
default |
|
defaultnoexcept |
|
default |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
defaultnoexcept |