1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
// Copyright (c) 2021 - 2022 by Apex.AI Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// SPDX-License-Identifier: Apache-2.0
#include "iceoryx_posh/iceoryx_posh_types.hpp"
extern "C" {
#include "iceoryx_binding_c/config.h"
}
uint32_t iox_cfg_max_publishers()
{
return iox::MAX_PUBLISHERS;
}
uint32_t iox_cfg_max_subscribers_per_publisher()
{
return iox::MAX_SUBSCRIBERS_PER_PUBLISHER;
}
uint32_t iox_cfg_max_chunks_allocated_per_publisher_simultaneously()
{
return iox::MAX_CHUNKS_ALLOCATED_PER_PUBLISHER_SIMULTANEOUSLY;
}
uint64_t iox_cfg_max_publisher_history()
{
return iox::MAX_PUBLISHER_HISTORY;
}
uint32_t iox_cfg_max_subscribers()
{
return iox::MAX_SUBSCRIBERS;
}
uint32_t iox_cfg_max_chunks_held_per_subscriber_simultaneously()
{
return iox::MAX_CHUNKS_HELD_PER_SUBSCRIBER_SIMULTANEOUSLY;
}
uint32_t iox_cfg_max_subscriber_queue_capacity()
{
return iox::MAX_SUBSCRIBER_QUEUE_CAPACITY;
}
uint32_t iox_cfg_max_number_of_condition_variables()
{
return iox::MAX_NUMBER_OF_CONDITION_VARIABLES;
}
uint32_t iox_cfg_max_number_of_notifiers_per_condition_variable()
{
return iox::MAX_NUMBER_OF_NOTIFIERS;
}
uint32_t iox_cfg_max_number_of_attachments_per_waitset()
{
return iox::MAX_NUMBER_OF_ATTACHMENTS_PER_WAITSET;
}
uint32_t iox_cfg_max_number_of_events_per_listener()
{
return iox::MAX_NUMBER_OF_EVENTS_PER_LISTENER;
}
uint32_t iox_cfg_max_number_of_mempools()
{
return iox::MAX_NUMBER_OF_MEMPOOLS;
}
uint32_t iox_cfg_max_shm_segments()
{
return iox::MAX_SHM_SEGMENTS;
}
uint32_t iox_cfg_max_number_of_memory_provider()
{
return iox::MAX_NUMBER_OF_MEMORY_PROVIDER;
}
uint32_t iox_cfg_max_number_of_memory_blocks_per_memory_provider()
{
return iox::MAX_NUMBER_OF_MEMORY_BLOCKS_PER_MEMORY_PROVIDER;
}
uint32_t iox_cfg_chunk_default_user_payload_alignment()
{
return iox::CHUNK_DEFAULT_USER_PAYLOAD_ALIGNMENT;
}
uint32_t iox_cfg_no_user_header_size()
{
return iox::CHUNK_NO_USER_HEADER_SIZE;
}
uint32_t iox_cfg_no_user_header_alignment()
{
return iox::CHUNK_NO_USER_HEADER_ALIGNMENT;
}
uint32_t iox_cfg_max_process_number()
{
return iox::MAX_PROCESS_NUMBER;
}
uint32_t iox_cfg_service_registry_capacity()
{
return iox::SERVICE_REGISTRY_CAPACITY;
}
uint32_t iox_cfg_max_findservice_result_size()
{
return iox::MAX_FINDSERVICE_RESULT_SIZE;
}
uint32_t iox_cfg_max_runtime_name_length()
{
return iox::MAX_RUNTIME_NAME_LENGTH;
}
|