|
COMMS
Template library intended to help with implementation of communication protocols.
|
Contains definition of comms::frame::FrameLayerBase. More...
#include "comms/Assert.h"#include "comms/CompileControl.h"#include "comms/details/protocol_layers_access.h"#include "comms/details/detect.h"#include "comms/details/tag.h"#include "comms/ErrorStatus.h"#include "comms/frame/details/FrameLayerBaseOptionsParser.h"#include "comms/frame/details/FrameLayerDetails.h"#include "comms/Message.h"#include "comms/options.h"#include "comms/util/Tuple.h"#include "comms/util/type_traits.h"#include <algorithm>#include <iterator>#include <tuple>#include <utility>Go to the source code of this file.
Classes | |
| class | comms::frame::FrameLayerBase< TField, TNextLayer, TDerived, TOptions > |
| Base class for all the middle (non MsgDataLayer) protocol transport layers. More... | |
Namespaces | |
| namespace | comms |
| Main namespace for all classes / functions of COMMS library. | |
| namespace | comms::frame |
| Namespace that contains definition of layers that can be used to wrap message data with transport data. | |
Functions | |
| details::MissingSizeRetriever | comms::frame::missingSize (std::size_t &val) |
| Add "missing size" output parameter to frame's "read" operation. | |
| template<typename TId > | |
| details::MsgIdRetriever< TId > | comms::frame::msgId (TId &val) |
| Add "message ID" output parameter to frame's "read" operation. | |
| details::MsgIndexRetriever | comms::frame::msgIndex (std::size_t &val) |
| Add "message index" output parameter to frame's "read" operation. | |
| template<typename TIter > | |
| details::MsgPayloadRetriever< TIter > | comms::frame::msgPayload (TIter &iter, std::size_t &len) |
| Add "payload start" and "payload size" output parameters to frame's "read" operation. | |
| template<typename TField , typename TNextLayer , typename TDerived , typename... TOptions> | |
| constexpr const FrameLayerBase< TField, TNextLayer, TDerived, TOptions... > & | comms::frame::toFrameLayerBase (const FrameLayerBase< TField, TNextLayer, TDerived, TOptions... > &layer) |
| Upcast protocol layer in order to have access to its internal types. | |
| template<typename TField , typename TNextLayer , typename TDerived , typename... TOptions> | |
| FrameLayerBase< TField, TNextLayer, TDerived, TOptions... > & | comms::frame::toFrameLayerBase (FrameLayerBase< TField, TNextLayer, TDerived, TOptions... > &layer) |
| Upcast protocol layer in order to have access to its internal types. | |
Contains definition of comms::frame::FrameLayerBase.