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 - 2026 (C). Alex Robenko. All rights reserved.
3
//
4
// SPDX-License-Identifier: MPL-2.0
5
//
6
// This Source Code Form is subject to the terms of the Mozilla Public
7
// License, v. 2.0. If a copy of the MPL was not distributed with this
8
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
12
13
#pragma once
14
15
namespace
comms
16
{
17
18
// @brief Reason for message creation failure
19
enum class
MsgFactoryCreateFailureReason
20
{
21
None
,
22
InvalidId
,
23
AllocFailure
,
24
NumOfValues
25
};
26
27
}
// namespace comms
28
comms
Main namespace for all classes / functions of COMMS library.
comms::MsgFactoryCreateFailureReason
MsgFactoryCreateFailureReason
Definition
MsgFactoryCreateFailureReason.h:20
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