Skip to content

Commit 34f7c36

Browse files
committed
iox-#846 Remove 'interface' undef from platform correction
1 parent 80b72f2 commit 34f7c36

File tree

19 files changed

+54
-52
lines changed

19 files changed

+54
-52
lines changed

iceoryx_platform/win/include/iceoryx_platform/platform_correction.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@
3737

3838
#undef max
3939
#undef min
40-
#undef interface

iceoryx_posh/include/iceoryx_posh/capro/service_description.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class ServiceDescription
108108
const IdString_t& instance,
109109
const IdString_t& event,
110110
ClassHash m_classHash = {0U, 0U, 0U, 0U},
111-
Interfaces interfaceSource = Interfaces::INTERNAL) noexcept;
111+
Interfaces commInterface = Interfaces::INTERNAL) noexcept;
112112

113113
/// @brief compare operator.
114114
bool operator==(const ServiceDescription& rhs) const noexcept;

iceoryx_posh/include/iceoryx_posh/gateway/gateway_generic.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class GatewayGeneric : public gateway_t
9090
uint64_t getNumberOfChannels() const noexcept;
9191

9292
protected:
93-
GatewayGeneric(capro::Interfaces interface,
93+
GatewayGeneric(capro::Interfaces commInterface,
9494
units::Duration discoveryPeriod = 1000_ms,
9595
units::Duration forwardingPeriod = 50_ms) noexcept;
9696

iceoryx_posh/include/iceoryx_posh/internal/gateway/gateway_generic.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ inline uint64_t GatewayGeneric<channel_t, gateway_t>::getNumberOfChannels() cons
6464
// ================================================== Protected ================================================== //
6565

6666
template <typename channel_t, typename gateway_t>
67-
inline GatewayGeneric<channel_t, gateway_t>::GatewayGeneric(capro::Interfaces interface,
67+
inline GatewayGeneric<channel_t, gateway_t>::GatewayGeneric(capro::Interfaces commInterface,
6868
units::Duration discoveryPeriod,
6969
units::Duration forwardingPeriod) noexcept
70-
: gateway_t(interface)
70+
: gateway_t(commInterface)
7171
, m_discoveryPeriod(discoveryPeriod)
7272
, m_forwardingPeriod(forwardingPeriod)
7373
{

iceoryx_posh/include/iceoryx_posh/internal/popo/ports/interface_port_data.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct InterfacePortData : public BasePortData
3030
{
3131
InterfacePortData(const RuntimeName_t& runtimeName,
3232
const roudi::UniqueRouDiId uniqueRoudiId,
33-
const capro::Interfaces interface) noexcept;
33+
const capro::Interfaces commInterface) noexcept;
3434

3535
concurrent::SpscFifo<capro::CaproMessage, MAX_INTERFACE_CAPRO_FIFO_SIZE> m_caproMessageFiFo;
3636
bool m_doInitialOfferForward{true};

iceoryx_posh/include/iceoryx_posh/internal/roudi/port_manager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class PortManager
109109
mepoo::MemoryManager* const payloadDataSegmentMemoryManager,
110110
const PortConfigInfo& portConfigInfo) noexcept;
111111

112-
popo::InterfacePortData* acquireInterfacePortData(capro::Interfaces interface,
112+
popo::InterfacePortData* acquireInterfacePortData(capro::Interfaces commInterface,
113113
const RuntimeName_t& runtimeName) noexcept;
114114

115115
expected<popo::ConditionVariableData*, PortPoolError>

iceoryx_posh/include/iceoryx_posh/internal/roudi/process_manager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class ProcessManager : public ProcessManagerInterface
108108
/// @brief Tries to gracefully terminate all registered processes
109109
void requestShutdownOfAllProcesses() noexcept;
110110

111-
void addInterfaceForProcess(const RuntimeName_t& name, capro::Interfaces interface) noexcept;
111+
void addInterfaceForProcess(const RuntimeName_t& name, capro::Interfaces commInterface) noexcept;
112112

113113
void addSubscriberForProcess(const RuntimeName_t& name,
114114
const capro::ServiceDescription& service,

iceoryx_posh/include/iceoryx_posh/internal/runtime/posh_runtime_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class PoshRuntimeImpl : public PoshRuntime
7676
const PortConfigInfo& portConfigInfo = PortConfigInfo()) noexcept override;
7777

7878
/// @copydoc PoshRuntime::getMiddlewareInterface
79-
popo::InterfacePortData* getMiddlewareInterface(const capro::Interfaces interface,
79+
popo::InterfacePortData* getMiddlewareInterface(const capro::Interfaces commInterface,
8080
const NodeName_t& nodeName = {""}) noexcept override;
8181

8282
/// @copydoc PoshRuntime::getMiddlewareConditionVariable

iceoryx_posh/include/iceoryx_posh/roudi/port_pool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class PortPool
124124
const mepoo::MemoryInfo& memoryInfo = mepoo::MemoryInfo()) noexcept;
125125

126126
expected<popo::InterfacePortData*, PortPoolError> addInterfacePort(const RuntimeName_t& runtimeName,
127-
const capro::Interfaces interface) noexcept;
127+
const capro::Interfaces commInterface) noexcept;
128128

129129
expected<popo::ConditionVariableData*, PortPoolError>
130130
addConditionVariableData(const RuntimeName_t& runtimeName) noexcept;

iceoryx_posh/include/iceoryx_posh/runtime/posh_runtime.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ class PoshRuntime
132132
const PortConfigInfo& portConfigInfo = PortConfigInfo()) noexcept = 0;
133133

134134
/// @brief request the RouDi daemon to create an interface port
135-
/// @param[in] interface interface to create
135+
/// @param[in] commInterface of the interface to create
136136
/// @param[in] nodeName name of the node where the interface should belong to
137137
/// @return pointer to a created interface port data
138-
virtual popo::InterfacePortData* getMiddlewareInterface(const capro::Interfaces interface,
138+
virtual popo::InterfacePortData* getMiddlewareInterface(const capro::Interfaces commInterface,
139139
const NodeName_t& nodeName = {}) noexcept = 0;
140140

141141
/// @brief request the RouDi daemon to create a condition variable

0 commit comments

Comments
 (0)