COMMS
Template library intended to help with implementation of communication protocols.
|
Provides auxiliary functions for retrieving best type of iterator for read/write operations. More...
#include "comms/details/ReadIteratorHelper.h"
#include "comms/details/WriteIteratorHelper.h"
Go to the source code of this file.
Namespaces | |
namespace | comms |
Main namespace for all classes / functions of COMMS library. | |
Functions | |
template<typename TMessage , typename TIter > | |
auto | comms::readIteratorFor (TIter &&iter) -> decltype(details::ReadIteratorHelper<>::template get< TMessage >(std::forward< TIter >(iter))) |
Create and initialise iterator for message read. | |
template<typename TMessage , typename TIter > | |
auto | comms::readIteratorFor (TMessage &&msg, TIter &&iter) -> decltype(details::ReadIteratorHelper<>::template get< typename std::decay< decltype(msg)>::type >(std::forward< TIter >(iter))) |
Create and initialise iterator for message read. | |
template<typename TMessage , typename TIter > | |
auto | comms::writeIteratorFor (TIter &&iter) -> decltype(details::WriteIteratorHelper<>::template get< TMessage >(std::forward< TIter >(iter))) |
Create and initialise iterator for message write. | |
template<typename TMessage , typename TIter > | |
auto | comms::writeIteratorFor (TMessage &&msg, TIter &&iter) -> decltype(details::WriteIteratorHelper<>::template get< typename std::decay< decltype(msg)>::type >(std::forward< TIter >(iter))) |
Create and initialise iterator for message write. | |
Provides auxiliary functions for retrieving best type of iterator for read/write operations.