Skip to content

Commit

Permalink
iox-eclipse-iceoryx#218 Rename experimental api to modern api.
Browse files Browse the repository at this point in the history
Signed-off-by: Ithier Jeff (CC-AD/EYF1) <[email protected]>
  • Loading branch information
orecham committed Sep 24, 2020
1 parent f359f7e commit d40cddd
Show file tree
Hide file tree
Showing 28 changed files with 40 additions and 37 deletions.
12 changes: 6 additions & 6 deletions iceoryx_examples/icedelivery/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,21 @@ set_target_properties(iox-ex-subscriber-simple PROPERTIES
)


add_executable(iox-ex-publisher-typed-experimental ./iox_publisher_typed_experimental.cpp)
target_link_libraries(iox-ex-publisher-typed-experimental
add_executable(iox-ex-publisher-typed-modern ./iox_publisher_typed_modern.cpp)
target_link_libraries(iox-ex-publisher-typed-modern
iceoryx_posh::iceoryx_posh
)
set_target_properties(iox-ex-publisher-typed-experimental PROPERTIES
set_target_properties(iox-ex-publisher-typed-modern PROPERTIES
CXX_STANDARD_REQUIRED ON
CXX_STANDARD ${ICEORYX_CXX_STANDARD}
POSITION_INDEPENDENT_CODE ON
)

add_executable(iox-ex-publisher-untyped-experimental ./iox_publisher_untyped_experimental.cpp)
target_link_libraries(iox-ex-publisher-untyped-experimental
add_executable(iox-ex-publisher-untyped-modern ./iox_publisher_untyped_modern.cpp)
target_link_libraries(iox-ex-publisher-untyped-modern
iceoryx_posh::iceoryx_posh
)
set_target_properties(iox-ex-publisher-untyped-experimental PROPERTIES
set_target_properties(iox-ex-publisher-untyped-modern PROPERTIES
CXX_STANDARD_REQUIRED ON
CXX_STANDARD ${ICEORYX_CXX_STANDARD}
POSITION_INDEPENDENT_CODE ON
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "topic_data.hpp"

#include "iceoryx_posh/experimental/popo/publisher.hpp"
#include "iceoryx_posh/popo/modern_api/publisher.hpp"
#include "iceoryx_posh/runtime/posh_runtime.hpp"

#include <chrono>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include "topic_data.hpp"

#include "iceoryx_posh/experimental/popo/publisher.hpp"
#include "iceoryx_posh/popo/modern_api/publisher.hpp"
#include "iceoryx_posh/runtime/posh_runtime.hpp"

#include <chrono>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#ifndef IOX_EXPERIMENTAL_POSH_POPO_BASE_PUBLISHER_HPP
#define IOX_EXPERIMENTAL_POSH_POPO_BASE_PUBLISHER_HPP

#include "iceoryx_posh/experimental/popo/sample.hpp"
#include "iceoryx_posh/popo/modern_api/sample.hpp"
#include "iceoryx_posh/internal/popo/ports/publisher_port_user.hpp"
#include "iceoryx_utils/cxx/expected.hpp"
#include "iceoryx_utils/cxx/optional.hpp"

namespace iox
{
Expand Down Expand Up @@ -120,6 +122,6 @@ class BasePublisher : public PublisherInterface<T>
} // namespace popo
} // namespace iox

#include "iceoryx_posh/experimental/internal/popo/base_publisher.inl"
#include "iceoryx_posh/internal/popo/modern_api/base_publisher.inl"

#endif // IOX_EXPERIMENTAL_POSH_POPO_BASE_PUBLISHER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef IOX_EXPERIMENTAL_POSH_POPO_BASE_SUBSCRIBER_HPP
#define IOX_EXPERIMENTAL_POSH_POPO_BASE_SUBSCRIBER_HPP

#include "iceoryx_posh/experimental/popo/sample.hpp"
#include "iceoryx_posh/popo/modern_api/sample.hpp"
#include "iceoryx_posh/internal/popo/ports/subscriber_port_user.hpp"
#include "iceoryx_posh/popo/condition.hpp"
#include "iceoryx_utils/cxx/expected.hpp"
Expand Down Expand Up @@ -102,6 +102,6 @@ class BaseSubscriber : public Condition
} // namespace popo
} // namespace iox

#include "iceoryx_posh/experimental/internal/popo/base_subscriber.inl"
#include "iceoryx_posh/internal/popo/modern_api/base_subscriber.inl"

#endif // IOX_EXPERIMENTAL_POSH_POPO_BASE_SUBSCRIBER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef IOX_EXPERIMENTAL_POSH_POPO_PUBLISHER_HPP
#define IOX_EXPERIMENTAL_POSH_POPO_PUBLISHER_HPP

#include "iceoryx_posh/experimental/popo/typed_publisher.hpp"
#include "iceoryx_posh/experimental/popo/untyped_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/typed_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/untyped_publisher.hpp"

#endif // IOX_EXPERIMENTAL_POSH_POPO_PUBLISHER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ class Sample<const T>
} // namespace popo
} // namespace iox

#include "iceoryx_posh/experimental/internal/popo/sample.inl"
#include "iceoryx_posh/internal/popo/modern_api/sample.inl"

#endif // IOX_EXPERIMENTAL_POSH_POPO_SAMPLE_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef IOX_EXPERIMENTAL_POSH_POPO_SUBSCRIBER_HPP
#define IOX_EXPERIMENTAL_POSH_POPO_SUBSCRIBER_HPP

#include "iceoryx_posh/experimental/popo/typed_subscriber.hpp"
#include "iceoryx_posh/experimental/popo/untyped_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/typed_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/untyped_subscriber.hpp"

#endif // IOX_EXPERIMENTAL_POSH_POPO_SUBSCRIBER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#ifndef IOX_EXPERIMENTAL_POSH_POPO_TYPED_PUBLISHER_HPP
#define IOX_EXPERIMENTAL_POSH_POPO_TYPED_PUBLISHER_HPP

#include "iceoryx_posh/experimental/popo/base_publisher.hpp"
#include "iceoryx_posh/experimental/popo/sample.hpp"
#include "iceoryx_posh/popo/modern_api/base_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/sample.hpp"
#include "iceoryx_utils/cxx/type_traits.hpp"

namespace iox
Expand Down Expand Up @@ -67,6 +67,6 @@ class TypedPublisher : public base_publisher_t
} // namespace popo
} // namespace iox

#include "iceoryx_posh/experimental/internal/popo/typed_publisher.inl"
#include "iceoryx_posh/internal/popo/modern_api/typed_publisher.inl"

#endif // IOX_EXPERIMENTAL_POSH_POPO_TYPED_PUBLISHER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef IOX_EXPERIMENTAL_POSH_POPO_TYPED_SUBSCRIBER_HPP
#define IOX_EXPERIMENTAL_POSH_POPO_TYPED_SUBSCRIBER_HPP

#include "iceoryx_posh/experimental/popo/base_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/base_subscriber.hpp"

namespace iox
{
Expand Down Expand Up @@ -49,6 +49,6 @@ class TypedSubscriber : public base_subscriber_t
} // namespace popo
} // namespace iox

#include "iceoryx_posh/experimental/internal/popo/typed_subscriber.inl"
#include "iceoryx_posh/internal/popo/modern_api/typed_subscriber.inl"

#endif // IOX_EXPERIMENTAL_POSH_POPO_TYPED_SUBSCRIBER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#ifndef IOX_EXPERIMENTAL_POSH_POPO_UNTYPED_PUBLISHER_HPP
#define IOX_EXPERIMENTAL_POSH_POPO_UNTYPED_PUBLISHER_HPP

#include "iceoryx_posh/experimental/popo/base_publisher.hpp"
#include "iceoryx_posh/experimental/popo/sample.hpp"
#include "iceoryx_posh/popo/modern_api/base_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/sample.hpp"

namespace iox
{
Expand Down Expand Up @@ -56,6 +56,6 @@ using UntypedPublisher = UntypedPublisherImpl<>;
} // namespace popo
} // namespace iox

#include "iceoryx_posh/experimental/internal/popo/untyped_publisher.inl"
#include "iceoryx_posh/internal/popo/modern_api/untyped_publisher.inl"

#endif // IOX_EXPERIMENTAL_POSH_POPO_UNTYPED_PUBLISHER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define IOX_EXPERIMENTAL_POSH_POPO_UNTYPED_SUBSCRIBER_HPP

#include "iceoryx_posh/capro/service_description.hpp"
#include "iceoryx_posh/experimental/popo/base_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/base_subscriber.hpp"
#include "iceoryx_utils/cxx/expected.hpp"
#include "iceoryx_utils/cxx/unique_ptr.hpp"

Expand Down Expand Up @@ -53,6 +53,6 @@ using UntypedSubscriber = UntypedSubscriberImpl<>;
} // namespace popo
} // namespace iox

#include "iceoryx_posh/experimental/internal/popo/untyped_subscriber.inl"
#include "iceoryx_posh/internal/popo/modern_api/untyped_subscriber.inl"

#endif // IOX_EXPERIMENTAL_POSH_POPO_UNTYPED_SUBSCRIBER_HPP
4 changes: 2 additions & 2 deletions iceoryx_posh/test/mocks/publisher_mock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/base_publisher.hpp"
#include "iceoryx_posh/experimental/popo/sample.hpp"
#include "iceoryx_posh/popo/modern_api/base_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/sample.hpp"
#include "iceoryx_utils/cxx/expected.hpp"

#include "test.hpp"
Expand Down
3 changes: 2 additions & 1 deletion iceoryx_posh/test/mocks/subscriber_mock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/base_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/base_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/sample.hpp"
#include "iceoryx_posh/mepoo/chunk_header.hpp"
#include "iceoryx_utils/cxx/expected.hpp"
#include "iceoryx_utils/cxx/optional.hpp"
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/test/moduletests/test_popo_base_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/base_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/base_publisher.hpp"
#include "mocks/publisher_mock.hpp"

#include "test.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/base_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/base_subscriber.hpp"
#include "iceoryx_posh/iceoryx_posh_types.hpp"
#include "iceoryx_utils/cxx/expected.hpp"
#include "iceoryx_utils/cxx/optional.hpp"
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/test/moduletests/test_popo_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/sample.hpp"
#include "iceoryx_posh/popo/modern_api/sample.hpp"
#include "test.hpp"

using namespace ::testing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/typed_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/typed_publisher.hpp"
#include "mocks/publisher_mock.hpp"

#include "test.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/typed_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/typed_subscriber.hpp"
#include "mocks/subscriber_mock.hpp"

#include "test.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/untyped_publisher.hpp"
#include "iceoryx_posh/popo/modern_api/untyped_publisher.hpp"
#include "mocks/publisher_mock.hpp"

#include "test.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "iceoryx_posh/experimental/popo/untyped_subscriber.hpp"
#include "iceoryx_posh/popo/modern_api/untyped_subscriber.hpp"
#include "mocks/subscriber_mock.hpp"

#include "test.hpp"
Expand Down

0 comments on commit d40cddd

Please sign in to comment.