iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
allocation_strategy.hpp
Go to the documentation of this file.
1
// Copyright (c) 2024 Contributors to the Eclipse Foundation
2
//
3
// See the NOTICE file(s) distributed with this work for additional
4
// information regarding copyright ownership.
5
//
6
// This program and the accompanying materials are made available under the
7
// terms of the Apache Software License 2.0 which is available at
8
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
9
// which is available at https://opensource.org/licenses/MIT.
10
//
11
// SPDX-License-Identifier: Apache-2.0 OR MIT
12
13
#ifndef IOX2_ALLOCATION_STRATEGY_HPP
14
#define IOX2_ALLOCATION_STRATEGY_HPP
15
16
#include <cstdint>
17
18
namespace
iox2
{
21
enum class
AllocationStrategy
: uint8_t {
24
BestFit
,
27
PowerOfTwo
,
29
Static
30
};
31
}
// namespace iox2
32
33
#endif
iox2
Definition
active_request.hpp:26
iox2::AllocationStrategy
AllocationStrategy
Definition
allocation_strategy.hpp:21
iox2::AllocationStrategy::BestFit
@ BestFit
iox2::AllocationStrategy::Static
@ Static
The memory is not increased. This may lead to an out-of-memory error when allocating.
iox2::AllocationStrategy::PowerOfTwo
@ PowerOfTwo
iox2
allocation_strategy.hpp
Generated by
1.9.8