Skip to content

Commit

Permalink
iox-eclipse-iceoryx#615 remove remainders of blocking options from va…
Browse files Browse the repository at this point in the history
…riant queue

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
  • Loading branch information
elBoberido authored and marthtz committed May 12, 2021
1 parent e58f79f commit 33068cb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions iceoryx_utils/include/iceoryx_utils/cxx/variant_queue.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020 by Robert Bosch GmbH, Apex.AI Inc. All rights reserved.
// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
// Copyright (c) 2020 - 2021 by Apex.AI Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -23,7 +23,6 @@
#include "iceoryx_utils/cxx/variant.hpp"
#include "iceoryx_utils/internal/concurrent/fifo.hpp"
#include "iceoryx_utils/internal/concurrent/sofi.hpp"
#include "iceoryx_utils/internal/concurrent/trigger_queue.hpp"

#include <cstdint>

Expand All @@ -42,7 +41,7 @@ enum class VariantQueueTypes : uint64_t
FiFo_SingleProducerSingleConsumer = 0,
SoFi_SingleProducerSingleConsumer = 1,
FiFo_MultiProducerSingleConsumer = 2,
SoFi_MultiProducerSingleConsumer = 3,
SoFi_MultiProducerSingleConsumer = 3
};

// remark: we need to consider to support the non-resizable queue as well
Expand Down Expand Up @@ -74,9 +73,7 @@ class VariantQueue
using fifo_t = variant<concurrent::FiFo<ValueType, Capacity>,
concurrent::SoFi<ValueType, Capacity>,
concurrent::ResizeableLockFreeQueue<ValueType, Capacity>,
concurrent::ResizeableLockFreeQueue<ValueType, Capacity>,
concurrent::TriggerQueue<ValueType, Capacity, concurrent::FiFo>,
concurrent::TriggerQueue<ValueType, Capacity, concurrent::ResizeableLockFreeQueue>>;
concurrent::ResizeableLockFreeQueue<ValueType, Capacity>>;

/// @brief Constructor of a VariantQueue
/// @param[in] type type of the underlying queue
Expand Down

0 comments on commit 33068cb

Please sign in to comment.