COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
include
comms
MsgFactoryCreateFailureReason.h
Go to the documentation of this file.
1
//
2
// Copyright 2022 - 2024 (C). Alex Robenko. All rights reserved.
3
//
4
// This Source Code Form is subject to the terms of the Mozilla Public
5
// License, v. 2.0. If a copy of the MPL was not distributed with this
6
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
10
11
#pragma once
12
13
namespace
comms
14
{
15
16
// @brief Reason for message creation failure
17
enum class
MsgFactoryCreateFailureReason
18
{
19
None
,
20
InvalidId
,
21
AllocFailure
,
22
NumOfValues
23
};
24
25
}
// namespace comms
26
comms
Main namespace for all classes / functions of COMMS library.
comms::MsgFactoryCreateFailureReason
MsgFactoryCreateFailureReason
Definition
MsgFactoryCreateFailureReason.h:18
comms::MsgFactoryCreateFailureReason::NumOfValues
@ NumOfValues
Number of available values, must be last.
comms::MsgFactoryCreateFailureReason::AllocFailure
@ AllocFailure
Allocation of the object has failied.
comms::MsgFactoryCreateFailureReason::None
@ None
No reason.
comms::MsgFactoryCreateFailureReason::InvalidId
@ InvalidId
Invalid message id.
Generated by
1.9.8