-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
603 additions
and
420 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
FastRTPSBridge.xcodeproj/xcshareddata/IDETemplateMacros.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>FILEHEADER</key> | ||
<string><![CDATA[/// | ||
//// ___FILENAME___ | ||
/// Copyright © ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved. | ||
// | ||
]]></string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 7 additions & 11 deletions
18
FastRTPSBridge/CustomParticipantListener.h → FastRTPSBridge/BridgedParticipantListener.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
// | ||
// CustomParticipantListener.h | ||
// TestFastRTPS | ||
// | ||
// Created by Dmitriy Borovikov on 29/07/2019. | ||
// Copyright © 2019 Dmitriy Borovikov. All rights reserved. | ||
///// | ||
//// BridgedParticipantListener.h | ||
/// Copyright © 2019 Dmitriy Borovikov. All rights reserved. | ||
// | ||
|
||
#ifndef CustomParticipantListener_h | ||
#define CustomParticipantListener_h | ||
#pragma once | ||
|
||
#include <fastrtps/fastrtps_fwd.h> | ||
#include <fastrtps/subscriber/SampleInfo.h> | ||
#include <fastrtps/rtps/participant/RTPSParticipantListener.h> | ||
#import "FastRTPSBridge.h" | ||
|
||
using namespace eprosima::fastrtps; | ||
using namespace eprosima::fastrtps::rtps; | ||
|
||
class CustomParticipantListener: public eprosima::fastrtps::rtps::RTPSParticipantListener | ||
class BridgedParticipantListener: public eprosima::fastrtps::rtps::RTPSParticipantListener | ||
{ | ||
void onParticipantDiscovery(RTPSParticipant *participant, ParticipantDiscoveryInfo &&info) override; | ||
void onReaderDiscovery(RTPSParticipant *participant, ReaderDiscoveryInfo &&info) override; | ||
void onWriterDiscovery(RTPSParticipant *participant, WriterDiscoveryInfo &&info) override; | ||
NSSet* dumpLocators(ResourceLimitedVector<eprosima::fastrtps::rtps::Locator_t> locators); | ||
}; | ||
|
||
#endif /* CustomParticipantListener_h */ |
Oops, something went wrong.