Skip to content

Commit

Permalink
iox-eclipse-iceoryx#65 Added copyright notice and some docs.
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 Jul 6, 2020
1 parent e5f5550 commit 514dd67
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions iceoryx_dds/include/iceoryx_dds/dds/cyclone_context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,17 @@ namespace iox
{
namespace dds
{

///
/// @brief The CycloneContext manages cyclone configurations and singleton artifacts shared throughout an application.
///
class CycloneContext
{
public:
///
/// @brief getParticipant Get the DDS Domain Participant for the current runtime.
/// @return The DDS Domain Participant.
///
static ::dds::domain::DomainParticipant& getParticipant() noexcept;
};

Expand Down
5 changes: 5 additions & 0 deletions iceoryx_dds/include/iceoryx_dds/dds/cyclone_data_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ class CycloneDataReader : public DataReader
CycloneDataReader(IdString serviceId, IdString instanceId, IdString eventId) noexcept;
virtual ~CycloneDataReader();

CycloneDataReader(const CycloneDataReader&) = delete;
CycloneDataReader& operator=(const CycloneDataReader&) = delete;
CycloneDataReader(CycloneDataReader&&) = delete;
CycloneDataReader& operator=(CycloneDataReader&&) = delete;

void connect() noexcept override;

iox::cxx::expected<uint64_t, DataReaderError>
Expand Down
1 change: 1 addition & 0 deletions iceoryx_dds/source/iceoryx2dds_app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ int main(int argc, char* argv[])
{
gw.loadConfiguration(result.get_value());
}

gw.runMultithreaded();

// Run until SIGINT or SIGTERM
Expand Down
3 changes: 1 addition & 2 deletions iceoryx_dds/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
# limitations under the License.

cmake_minimum_required(VERSION 3.5)
file (STRINGS "../../VERSION" test_iox_to_dds_VERSION)
project(test_iox_to_dds VERSION ${test_iox_to_dds_VERSION})
project(test_iox_to_dds VERSION 0)

find_package(iceoryx_utils_testing REQUIRED)
find_package(GTest CONFIG REQUIRED)
Expand Down

0 comments on commit 514dd67

Please sign in to comment.