├── .github ├── dco.yml ├── pull_request_template.md └── workflows │ ├── config │ ├── build.meta │ ├── ubuntu_test.meta │ └── windows_test.meta │ ├── mirror.yml │ ├── nightly-ubuntu-ci.yml │ ├── nightly-windows-ci.yml │ ├── reusable-ubuntu-ci.yml │ ├── reusable-windows-ci.yml │ ├── ubuntu-ci.yml │ ├── weekly-ubuntu-ci.yml │ ├── weekly-windows-ci.yml │ └── windows-ci.yml ├── .gitignore ├── CONTRIBUTING ├── LICENSE ├── README.md ├── RELEASE_SUPPORT.md ├── fastdds_python.repos ├── fastdds_python ├── CMakeLists.txt ├── cmake │ └── packaging │ │ └── Config.cmake.in ├── colcon.pkg ├── src │ └── swig │ │ ├── CMakeLists.txt │ │ ├── fastcdr │ │ ├── cdr │ │ │ └── fixed_size_string.i │ │ └── xcdr │ │ │ └── optional.i │ │ ├── fastdds.i │ │ └── fastdds │ │ ├── LibrarySettings.i │ │ ├── dds │ │ ├── builtin │ │ │ ├── common │ │ │ │ ├── ReplyHeader.i │ │ │ │ ├── RequestHeader.i │ │ │ │ └── Types.i │ │ │ └── topic │ │ │ │ ├── BuiltinTopicKey.i │ │ │ │ ├── ParticipantBuiltinTopicData.i │ │ │ │ ├── PublicationBuiltinTopicData.i │ │ │ │ ├── SubscriptionBuiltinTopicData.i │ │ │ │ └── TopicBuiltinTopicData.i │ │ ├── common │ │ │ └── InstanceHandle.i │ │ ├── core │ │ │ ├── Entity.i │ │ │ ├── LoanableArray.i │ │ │ ├── LoanableCollection.i │ │ │ ├── LoanableSequence.i │ │ │ ├── LoanableTypedCollection.i │ │ │ ├── ReturnCode.i │ │ │ ├── StackAllocatedSequence.i │ │ │ ├── Time_t.i │ │ │ ├── Types.i │ │ │ ├── UserAllocatedSequence.i │ │ │ ├── condition │ │ │ │ ├── Condition.i │ │ │ │ └── WaitSet.i │ │ │ ├── policy │ │ │ │ ├── ParameterTypes.i │ │ │ │ ├── QosPolicies.i │ │ │ │ ├── RTPSReliableReaderQos.i │ │ │ │ ├── RTPSReliableWriterQos.i │ │ │ │ ├── ReaderDataLifecycleQosPolicy.i │ │ │ │ ├── ReaderResourceLimitsQos.i │ │ │ │ └── WriterDataLifecycleQosPolicy.i │ │ │ └── status │ │ │ │ ├── BaseStatus.i │ │ │ │ ├── DeadlineMissedStatus.i │ │ │ │ ├── IncompatibleQosStatus.i │ │ │ │ ├── LivelinessChangedStatus.i │ │ │ │ ├── MatchedStatus.i │ │ │ │ ├── PublicationMatchedStatus.i │ │ │ │ ├── SampleRejectedStatus.i │ │ │ │ ├── StatusMask.i │ │ │ │ └── SubscriptionMatchedStatus.i │ │ ├── domain │ │ │ ├── DomainParticipant.i │ │ │ ├── DomainParticipantFactory.i │ │ │ ├── DomainParticipantListener.i │ │ │ └── qos │ │ │ │ ├── DomainParticipantExtendedQos.i │ │ │ │ ├── DomainParticipantFactoryQos.i │ │ │ │ ├── DomainParticipantQos.i │ │ │ │ ├── ReplierQos.i │ │ │ │ └── RequesterQos.i │ │ ├── publisher │ │ │ ├── DataWriter.i │ │ │ ├── DataWriterListener.i │ │ │ ├── Publisher.i │ │ │ ├── PublisherListener.i │ │ │ └── qos │ │ │ │ ├── DataWriterQos.i │ │ │ │ ├── PublisherQos.i │ │ │ │ └── WriterQos.i │ │ ├── rpc │ │ │ ├── exceptions.i │ │ │ └── interfaces.i │ │ ├── subscriber │ │ │ ├── DataReader.i │ │ │ ├── DataReaderListener.i │ │ │ ├── InstanceState.i │ │ │ ├── SampleInfo.i │ │ │ ├── SampleState.i │ │ │ ├── Subscriber.i │ │ │ ├── SubscriberListener.i │ │ │ ├── ViewState.i │ │ │ └── qos │ │ │ │ ├── DataReaderQos.i │ │ │ │ ├── ReaderQos.i │ │ │ │ └── SubscriberQos.i │ │ ├── topic │ │ │ ├── ContentFilteredTopic.i │ │ │ ├── IContentFilter.i │ │ │ ├── IContentFilterFactory.i │ │ │ ├── Topic.i │ │ │ ├── TopicDataType.i │ │ │ ├── TopicDescription.i │ │ │ ├── TopicListener.i │ │ │ ├── TypeSupport.i │ │ │ └── qos │ │ │ │ └── TopicQos.i │ │ └── xtypes │ │ │ └── type_representation │ │ │ └── TypeObject.i │ │ ├── rtps │ │ ├── Endpoint.i │ │ ├── RTPSDomain.i │ │ ├── attributes │ │ │ ├── EndpointAttributes.i │ │ │ ├── HistoryAttributes.i │ │ │ ├── PropertyPolicy.i │ │ │ ├── RTPSParticipantAllocationAttributes.i │ │ │ ├── RTPSParticipantAttributes.i │ │ │ ├── ReaderAttributes.i │ │ │ ├── ResourceManagement.i │ │ │ ├── ThreadSettings.i │ │ │ └── WriterAttributes.i │ │ ├── builtin │ │ │ ├── BuiltinProtocols.i │ │ │ ├── data │ │ │ │ └── ContentFilterProperty.i │ │ │ ├── discovery │ │ │ │ ├── endpoint │ │ │ │ │ ├── EDP.i │ │ │ │ │ ├── EDPSimple.i │ │ │ │ │ └── EDPStatic.i │ │ │ │ └── participant │ │ │ │ │ ├── PDP.i │ │ │ │ │ ├── PDPListener.i │ │ │ │ │ └── PDPSimple.i │ │ │ └── liveliness │ │ │ │ ├── WLP.i │ │ │ │ └── WLPListener.i │ │ ├── common │ │ │ ├── BinaryProperty.i │ │ │ ├── CDRMessage_t.i │ │ │ ├── CacheChange.i │ │ │ ├── ChangeKind_t.i │ │ │ ├── EntityId_t.i │ │ │ ├── FragmentNumber.i │ │ │ ├── Guid.i │ │ │ ├── GuidPrefix_t.i │ │ │ ├── InstanceHandle.i │ │ │ ├── Locator.i │ │ │ ├── LocatorList.i │ │ │ ├── LocatorListComparisons.i │ │ │ ├── LocatorSelector.i │ │ │ ├── LocatorSelectorEntry.i │ │ │ ├── LocatorsIterator.i │ │ │ ├── MatchingInfo.i │ │ │ ├── PortParameters.i │ │ │ ├── Property.i │ │ │ ├── RemoteLocators.i │ │ │ ├── SampleIdentity.i │ │ │ ├── SequenceNumber.i │ │ │ ├── SerializedPayload.i │ │ │ ├── Time_t.i │ │ │ ├── Token.i │ │ │ ├── Types.i │ │ │ ├── VendorId_t.i │ │ │ ├── WriteParams.i │ │ │ └── all_common.i │ │ ├── exceptions │ │ │ └── Exception.i │ │ ├── flowcontrol │ │ │ ├── FlowControllerConsts.i │ │ │ ├── FlowControllerDescriptor.i │ │ │ ├── FlowControllerSchedulerPolicy.i │ │ │ └── ThroughputControllerDescriptor.i │ │ ├── history │ │ │ ├── History.i │ │ │ ├── IChangePool.i │ │ │ ├── IPayloadPool.i │ │ │ ├── ReaderHistory.i │ │ │ └── WriterHistory.i │ │ ├── messages │ │ │ ├── MessageReceiver.i │ │ │ ├── RTPSMessageSenderInterface.i │ │ │ └── RTPS_messages.i │ │ ├── network │ │ │ ├── NetworkFactory.i │ │ │ ├── ReceiverResource.i │ │ │ └── SenderResource.i │ │ ├── participant │ │ │ ├── ParticipantDiscoveryInfo.i │ │ │ ├── RTPSParticipant.i │ │ │ └── RTPSParticipantListener.i │ │ ├── reader │ │ │ ├── RTPSReader.i │ │ │ ├── ReaderDiscoveryInfo.i │ │ │ └── ReaderListener.i │ │ ├── resources │ │ │ ├── ResourceEvent.i │ │ │ └── TimedEvent.i │ │ ├── rtps_all.i │ │ ├── rtps_fwd.i │ │ ├── security │ │ │ ├── accesscontrol │ │ │ │ ├── AccessControl.i │ │ │ │ ├── EndpointSecurityAttributes.i │ │ │ │ ├── ParticipantSecurityAttributes.i │ │ │ │ └── SecurityMaskUtilities.i │ │ │ ├── authentication │ │ │ │ ├── Authentication.i │ │ │ │ └── Handshake.i │ │ │ ├── common │ │ │ │ ├── Handle.i │ │ │ │ ├── ParticipantGenericMessage.i │ │ │ │ └── SharedSecretHandle.i │ │ │ ├── cryptography │ │ │ │ ├── CryptoKeyExchange.i │ │ │ │ ├── CryptoKeyFactory.i │ │ │ │ ├── CryptoTransform.i │ │ │ │ ├── CryptoTypes.i │ │ │ │ └── Cryptography.i │ │ │ ├── exceptions │ │ │ │ └── SecurityException.i │ │ │ └── logging │ │ │ │ ├── BuiltinLoggingType.i │ │ │ │ ├── LogOptions.i │ │ │ │ ├── Logging.i │ │ │ │ ├── LoggingLevel.i │ │ │ │ └── NameValuePair.i │ │ ├── transport │ │ │ ├── SocketTransportDescriptor.i │ │ │ ├── TCPTransportDescriptor.i │ │ │ ├── TCPv4TransportDescriptor.i │ │ │ ├── TCPv6TransportDescriptor.i │ │ │ ├── TransportDescriptorInterface.i │ │ │ ├── TransportInterface.i │ │ │ ├── TransportReceiverInterface.i │ │ │ ├── UDPTransportDescriptor.i │ │ │ ├── UDPv4TransportDescriptor.i │ │ │ ├── UDPv6TransportDescriptor.i │ │ │ ├── shared_mem │ │ │ │ └── SharedMemTransportDescriptor.i │ │ │ └── test_UDPv4TransportDescriptor.i │ │ └── writer │ │ │ ├── ChangeForReader.i │ │ │ ├── DeliveryRetCode.i │ │ │ ├── IReaderDataFilter.i │ │ │ ├── LivelinessData.i │ │ │ ├── LivelinessManager.i │ │ │ ├── LocatorSelectorSender.i │ │ │ ├── PersistentWriter.i │ │ │ ├── RTPSWriter.i │ │ │ ├── ReaderLocator.i │ │ │ ├── ReaderProxy.i │ │ │ ├── StatefulPersistentWriter.i │ │ │ ├── StatefulWriter.i │ │ │ ├── StatelessPersistentWriter.i │ │ │ ├── StatelessWriter.i │ │ │ ├── WriterDiscoveryInfo.i │ │ │ └── WriterListener.i │ │ ├── statistics │ │ ├── IListeners.i │ │ ├── dds │ │ │ ├── domain │ │ │ │ └── DomainParticipant.i │ │ │ ├── publisher │ │ │ │ └── qos │ │ │ │ │ └── DataWriterQos.i │ │ │ └── subscriber │ │ │ │ └── qos │ │ │ │ └── DataReaderQos.i │ │ ├── rtps │ │ │ └── StatisticsCommon.i │ │ └── topic_names.i │ │ └── utils │ │ └── collections │ │ ├── ResourceLimitedContainerConfig.i │ │ └── ResourceLimitedVector.i └── test │ ├── CMakeLists.txt │ ├── README.md │ ├── api │ ├── DEFAULT_FASTDDS_PROFILES.xml │ ├── test_datareader.py │ ├── test_datawriter.py │ ├── test_domainparticipant.py │ ├── test_domainparticipantfactory.py │ ├── test_publisher.py │ ├── test_qos.py │ ├── test_subscriber.py │ ├── test_waitset.py │ └── test_xml_profile.xml │ └── types │ ├── CMakeLists.txt │ ├── test_complete.hpp │ ├── test_complete.i │ ├── test_complete.idl │ ├── test_completeCdrAux.hpp │ ├── test_completeCdrAux.ipp │ ├── test_completePubSubTypes.cxx │ ├── test_completePubSubTypes.hpp │ ├── test_completePubSubTypes.i │ ├── test_completeTypeObjectSupport.cxx │ ├── test_completeTypeObjectSupport.hpp │ ├── test_included_modules.hpp │ ├── test_included_modules.i │ ├── test_included_modules.idl │ ├── test_included_modulesCdrAux.hpp │ ├── test_included_modulesCdrAux.ipp │ ├── test_included_modulesPubSubTypes.cxx │ ├── test_included_modulesPubSubTypes.hpp │ ├── test_included_modulesPubSubTypes.i │ ├── test_included_modulesTypeObjectSupport.cxx │ ├── test_included_modulesTypeObjectSupport.hpp │ ├── test_modules.hpp │ ├── test_modules.i │ ├── test_modules.idl │ ├── test_modulesCdrAux.hpp │ ├── test_modulesCdrAux.ipp │ ├── test_modulesPubSubTypes.cxx │ ├── test_modulesPubSubTypes.hpp │ ├── test_modulesPubSubTypes.i │ ├── test_modulesTypeObjectSupport.cxx │ └── test_modulesTypeObjectSupport.hpp ├── fastdds_python_examples ├── CMakeLists.txt ├── HelloWorldExample │ ├── HelloWorld.idl │ ├── HelloWorldExample.py │ ├── README.md │ └── generated_code │ │ ├── CMakeLists.txt │ │ ├── HelloWorld.hpp │ │ ├── HelloWorld.i │ │ ├── HelloWorldCdrAux.hpp │ │ ├── HelloWorldCdrAux.ipp │ │ ├── HelloWorldPubSubTypes.cxx │ │ ├── HelloWorldPubSubTypes.hpp │ │ ├── HelloWorldPubSubTypes.i │ │ ├── HelloWorldTypeObjectSupport.cxx │ │ └── HelloWorldTypeObjectSupport.hpp ├── README.md ├── RPCExample │ ├── CalculatorExample.py │ ├── README.md │ ├── calculator.idl │ └── generated_code │ │ ├── CMakeLists.txt │ │ ├── calculator.hpp │ │ ├── calculator.i │ │ ├── calculatorCdrAux.hpp │ │ ├── calculatorCdrAux.ipp │ │ ├── calculatorClient.cxx │ │ ├── calculatorClient.hpp │ │ ├── calculatorPubSubTypes.cxx │ │ ├── calculatorPubSubTypes.hpp │ │ ├── calculatorPubSubTypes.i │ │ ├── calculatorServer.cxx │ │ ├── calculatorServer.hpp │ │ ├── calculatorServerImpl.hpp │ │ ├── calculatorTypeObjectSupport.cxx │ │ ├── calculatorTypeObjectSupport.hpp │ │ └── calculator_details.hpp └── colcon.pkg └── utils └── scripts └── update_generated_code_from_idl.sh /.github/dco.yml: -------------------------------------------------------------------------------- 1 | require: 2 | members: false 3 | -------------------------------------------------------------------------------- /.github/workflows/config/build.meta: -------------------------------------------------------------------------------- 1 | names: 2 | fastdds: 3 | cmake-args: 4 | - "-DSECURITY=ON" 5 | - "-DLOG_CONSUMER_DEFAULT=STDOUT" 6 | -------------------------------------------------------------------------------- /.github/workflows/config/ubuntu_test.meta: -------------------------------------------------------------------------------- 1 | names: 2 | fastdds_python: 3 | cmake-args: 4 | - "-DBUILD_TESTING=ON" 5 | - "-DBUILD_DOCUMENTATION=ON" 6 | ctest-args: [ 7 | "--repeat", "until-pass:3", 8 | "--timeout", "300", 9 | "--label-exclude", "xfail" 10 | ] 11 | -------------------------------------------------------------------------------- /.github/workflows/config/windows_test.meta: -------------------------------------------------------------------------------- 1 | names: 2 | fastdds_python: 3 | cmake-args: 4 | - "-DBUILD_TESTING=ON" 5 | ctest-args: [ 6 | "--repeat", "until-pass:3", 7 | "--timeout", "300", 8 | "--label-exclude", "xfail" 9 | ] 10 | -------------------------------------------------------------------------------- /.github/workflows/mirror.yml: -------------------------------------------------------------------------------- 1 | # .github/workflows/mirror.yml 2 | name: Mirror 3 | on: 4 | push: 5 | branches: 6 | - 'main' 7 | jobs: 8 | mirror_job: 9 | runs-on: ubuntu-latest 10 | name: Mirror main branch to compatible minor version branches 11 | strategy: 12 | fail-fast: false 13 | matrix: 14 | dest_branch: 15 | - '2.2.x' 16 | - '2.x' 17 | steps: 18 | - name: Mirror action step 19 | id: mirror 20 | uses: eProsima/eProsima-CI/external/mirror-branch-action@v0 21 | with: 22 | github-token: ${{ secrets.GITHUB_TOKEN }} 23 | source: 'main' 24 | dest: ${{ matrix.dest_branch }} 25 | -------------------------------------------------------------------------------- /.github/workflows/weekly-ubuntu-ci.yml: -------------------------------------------------------------------------------- 1 | name: Fast DDS Python Ubuntu CI (weekly) 2 | 3 | on: 4 | workflow_dispatch: 5 | schedule: 6 | - cron: '0 0 * * 1' # Run at minute 0 on Monday 7 | 8 | jobs: 9 | weekly-ubuntu-ci-1_0_x: 10 | uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-ubuntu-ci.yml@1.0.x 11 | with: 12 | # It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket: 13 | # https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job. 14 | os-version: 'ubuntu-20.04' 15 | label: 'weekly-ubuntu-ci-1.0.x-2.6.x' 16 | fastdds-python-branch: '1.0.x' 17 | fastdds-branch: '2.6.x' 18 | run-build: true 19 | run-tests: false 20 | use-ccache: false 21 | -------------------------------------------------------------------------------- /.github/workflows/weekly-windows-ci.yml: -------------------------------------------------------------------------------- 1 | name: Fast DDS Python Windows CI (weekly) 2 | 3 | on: 4 | workflow_dispatch: 5 | schedule: 6 | - cron: '0 0 * * 1' # Run at minute 0 on Monday 7 | 8 | jobs: 9 | weekly-windows-ci-1_0_x: 10 | strategy: 11 | fail-fast: false 12 | matrix: 13 | vs-toolset: 14 | - 'v141' 15 | - 'v142' 16 | uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-windows-ci.yml@1.0.x 17 | with: 18 | os-version: 'windows-2019' 19 | vs-toolset: ${{ matrix.vs-toolset }} 20 | label: 'weekly-windows-${{ matrix.vs-toolset }}-ci-1.0.x-2.6.x' 21 | fastdds-python-branch: '1.0.x' 22 | fastdds-branch: '2.6.x' 23 | run-build: false 24 | run-tests: false 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # ignore colcon workspace 3 | build 4 | install 5 | log 6 | 7 | # ignore python folders 8 | __pycache__ 9 | 10 | # ignore vscode folder 11 | .vscode 12 | -------------------------------------------------------------------------------- /fastdds_python.repos: -------------------------------------------------------------------------------- 1 | repositories: 2 | foonathan_memory_vendor: 3 | type: git 4 | url: https://github.com/eProsima/foonathan_memory_vendor.git 5 | version: master 6 | fastcdr: 7 | type: git 8 | url: https://github.com/eProsima/Fast-CDR.git 9 | version: master 10 | fastdds: 11 | type: git 12 | url: https://github.com/eProsima/Fast-DDS.git 13 | version: master 14 | fastdds_python: 15 | type: git 16 | url: https://github.com/eProsima/Fast-DDS-python.git 17 | version: main 18 | fastddsgen: 19 | type: git 20 | url: https://github.com/eProsima/Fast-DDS-Gen.git 21 | version: master 22 | -------------------------------------------------------------------------------- /fastdds_python/cmake/packaging/Config.cmake.in: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | set(@PROJECT_NAME@_VERSION @PROJECT_VERSION@) 16 | 17 | @PACKAGE_INIT@ 18 | 19 | set_and_check(@PROJECT_NAME@_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@") 20 | 21 | include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake) 22 | -------------------------------------------------------------------------------- /fastdds_python/colcon.pkg: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fastdds_python", 3 | "type": "cmake", 4 | "build-dependencies": ["fastdds"] 5 | } 6 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastcdr/cdr/fixed_size_string.i: -------------------------------------------------------------------------------- 1 | // Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastcdr/cdr/fixed_size_string.hpp" 17 | %} 18 | 19 | // Ignore method that causes warnings on SWIG 20 | %ignore eprosima::fastcdr::fixed_string::operator const char*() const; 21 | 22 | %include "fastcdr/cdr/fixed_size_string.hpp" 23 | 24 | // Define string_255 as a fixed_string<255> 25 | %template(string_255) eprosima::fastcdr::fixed_string<255>; 26 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastcdr/xcdr/optional.i: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastcdr/xcdr/optional.hpp" 17 | %} 18 | 19 | %include "fastcdr/xcdr/optional.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/LibrarySettings.i: -------------------------------------------------------------------------------- 1 | // Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/LibrarySettings.hpp" 17 | %} 18 | 19 | %include "fastdds/LibrarySettings.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/common/ReplyHeader.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/common/ReplyHeader.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/builtin/common/ReplyHeader.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/common/RequestHeader.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/common/RequestHeader.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/builtin/common/RequestHeader.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/common/Types.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/common/Types.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/builtin/common/Types.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/topic/BuiltinTopicKey.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/topic/BuiltinTopicKey.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/data/BuiltinTopicKey.hpp" 20 | %include "fastdds/dds/builtin/topic/BuiltinTopicKey.hpp" 21 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/topic/ParticipantBuiltinTopicData.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/topic/ParticipantBuiltinTopicData.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/builtin/topic/ParticipantBuiltinTopicData.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/topic/PublicationBuiltinTopicData.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/topic/PublicationBuiltinTopicData.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/data/PublicationBuiltinTopicData.hpp" 20 | %include "fastdds/dds/builtin/topic/PublicationBuiltinTopicData.hpp" 21 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/topic/SubscriptionBuiltinTopicData.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/topic/SubscriptionBuiltinTopicData.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/data/SubscriptionBuiltinTopicData.hpp" 20 | %include "fastdds/dds/builtin/topic/SubscriptionBuiltinTopicData.hpp" 21 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/builtin/topic/TopicBuiltinTopicData.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/builtin/topic/TopicBuiltinTopicData.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/builtin/topic/TopicBuiltinTopicData.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/common/InstanceHandle.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/common/InstanceHandle.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/common/InstanceHandle.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/Entity.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/Entity.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::dds::Entity::Entity; 20 | %ignore eprosima::fastdds::dds::Entity::~Entity; 21 | %ignore eprosima::fastdds::dds::DomainEntity::DomainEntity; 22 | %ignore eprosima::fastdds::dds::DomainEntity::~DomainEntity; 23 | 24 | %include "fastdds/dds/core/Entity.hpp" 25 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/LoanableArray.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/LoanableArray.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/LoanableArray.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/LoanableCollection.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/LoanableCollection.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/LoanableCollection.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/LoanableSequence.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/LoanableSequence.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/LoanableSequence.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/LoanableTypedCollection.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/LoanableTypedCollection.hpp" 17 | %} 18 | 19 | // Operator[] is ignored by SWIG because it does not map correctly to target languages 20 | // mostly because of its dual getter/setter nature 21 | // We can ignore them and extend to make the getter and setter methods explicit and break the overload 22 | %ignore eprosima::fastdds::dds::LoanableTypedCollection::operator[]; 23 | 24 | %include "fastdds/dds/core/LoanableTypedCollection.hpp" 25 | 26 | %extend eprosima::fastdds::dds::LoanableTypedCollection { 27 | T getitem(size_type n) { 28 | return $self->operator[](n); 29 | } 30 | 31 | void setitem(size_type n, const T& v) { 32 | $self->operator[](n) = v; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/ReturnCode.i: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/ReturnCode.hpp" 17 | %} 18 | 19 | 20 | %include "fastdds/dds/core/detail/DDSReturnCode.hpp" 21 | %include "fastdds/dds/core/detail/DDSSecurityReturnCode.hpp" 22 | %include "fastdds/dds/core/ReturnCode.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/StackAllocatedSequence.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/StackAllocatedSequence.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/StackAllocatedSequence.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/Types.i: -------------------------------------------------------------------------------- 1 | // Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/Types.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/Types.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/UserAllocatedSequence.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/UserAllocatedSequence.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/UserAllocatedSequence.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/condition/WaitSet.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/condition/WaitSet.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/condition/WaitSet.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/policy/RTPSReliableReaderQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/policy/RTPSReliableReaderQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/policy/RTPSReliableReaderQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/policy/RTPSReliableWriterQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/policy/RTPSReliableWriterQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/policy/RTPSReliableWriterQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/policy/ReaderDataLifecycleQosPolicy.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/policy/ReaderDataLifecycleQosPolicy.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/policy/ReaderDataLifecycleQosPolicy.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/policy/ReaderResourceLimitsQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/policy/ReaderResourceLimitsQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/policy/ReaderResourceLimitsQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/policy/WriterDataLifecycleQosPolicy.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/policy/WriterDataLifecycleQosPolicy.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/policy/WriterDataLifecycleQosPolicy.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/BaseStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/BaseStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/status/BaseStatus.hpp" 20 | 21 | namespace eprosima { 22 | namespace fastdds { 23 | namespace dds { 24 | struct SampleLostStatus : public BaseStatus {}; 25 | struct LivelinessLostStatus : public BaseStatus {}; 26 | struct InconsistentTopicStatus : public BaseStatus {}; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/DeadlineMissedStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/DeadlineMissedStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/status/DeadlineMissedStatus.hpp" 20 | 21 | namespace eprosima { 22 | namespace fastdds { 23 | namespace dds { 24 | struct OfferedDeadlineMissedStatus : public eprosima::fastdds::dds::DeadlineMissedStatus {}; 25 | struct RequestedDeadlineMissedStatus : public eprosima::fastdds::dds::DeadlineMissedStatus {}; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/IncompatibleQosStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/IncompatibleQosStatus.hpp" 17 | %} 18 | 19 | %template(QosPolicyCountSeq) std::vector; 20 | 21 | %include "fastdds/dds/core/status/IncompatibleQosStatus.hpp" 22 | 23 | namespace eprosima { 24 | namespace fastdds { 25 | namespace dds { 26 | struct RequestedIncompatibleQosStatus : public IncompatibleQosStatus {}; 27 | struct OfferedIncompatibleQosStatus : public IncompatibleQosStatus {}; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/LivelinessChangedStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/LivelinessChangedStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/status/LivelinessChangedStatus.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/MatchedStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/MatchedStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/status/MatchedStatus.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/PublicationMatchedStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/PublicationMatchedStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/status/PublicationMatchedStatus.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/SampleRejectedStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/SampleRejectedStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/status/SampleRejectedStatus.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/core/status/SubscriptionMatchedStatus.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/core/status/SubscriptionMatchedStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/core/status/SubscriptionMatchedStatus.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/domain/DomainParticipantListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/domain/DomainParticipantListener.hpp" 17 | %} 18 | 19 | // generate directors for the virtual methods in the listener 20 | %feature("director") eprosima::fastdds::dds::DomainParticipantListener; 21 | 22 | %include "fastdds/dds/domain/DomainParticipantListener.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/domain/qos/DomainParticipantExtendedQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/domain/qos/DomainParticipantExtendedQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/domain/qos/DomainParticipantExtendedQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/domain/qos/DomainParticipantFactoryQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/domain/qos/DomainParticipantFactoryQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/domain/qos/DomainParticipantFactoryQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/domain/qos/DomainParticipantQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/domain/qos/DomainParticipantQos.hpp" 17 | %} 18 | 19 | 20 | %template(FlowControllerDescriptorList) std::vector>; 21 | 22 | %extend eprosima::fastdds::dds::DomainParticipantQos { 23 | 24 | /** 25 | * Getter for the Participant name 26 | * 27 | * @return name 28 | */ 29 | const std::string name() const 30 | { 31 | return self->name().to_string(); 32 | } 33 | 34 | /** 35 | * Setter for the Participant name 36 | * 37 | * @param value New name to be set. 38 | */ 39 | void name( 40 | const std::string& value) 41 | { 42 | self->name(value); 43 | } 44 | }; 45 | 46 | %ignore eprosima::fastdds::dds::DomainParticipantQos::name; 47 | 48 | %include "fastdds/dds/domain/qos/DomainParticipantQos.hpp" 49 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/domain/qos/ReplierQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/domain/qos/ReplierQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/domain/qos/ReplierQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/domain/qos/RequesterQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/domain/qos/RequesterQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/domain/qos/RequesterQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/publisher/DataWriterListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/publisher/DataWriterListener.hpp" 17 | %} 18 | 19 | // generate directors for the virtual methods in the listener 20 | %feature("director") eprosima::fastdds::dds::DataWriterListener; 21 | 22 | %include "fastdds/dds/publisher/DataWriterListener.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/publisher/PublisherListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/publisher/PublisherListener.hpp" 17 | %} 18 | 19 | // generate directors for the virtual methods in the listener 20 | %feature("director") eprosima::fastdds::dds::PublisherListener; 21 | 22 | %include "fastdds/dds/publisher/PublisherListener.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/publisher/qos/DataWriterQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/publisher/qos/DataWriterQos.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::dds::DataWriterQos::representation; 20 | %ignore eprosima::fastdds::dds::DataWriterQos::throughput_controller; 21 | 22 | %include "fastdds/dds/publisher/qos/DataWriterQos.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/publisher/qos/PublisherQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/publisher/qos/PublisherQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/publisher/qos/PublisherQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/publisher/qos/WriterQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/publisher/qos/WriterQos.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::dds::WriterQos::clear; 20 | 21 | %include "fastdds/dds/publisher/qos/WriterQos.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/rpc/exceptions.i: -------------------------------------------------------------------------------- 1 | // Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/rpc/exceptions.hpp" 17 | %} 18 | 19 | // Base class should be included first 20 | %include "fastdds/dds/rpc/exceptions/RpcException.hpp" 21 | // Include first level inheritance 22 | %include "fastdds/dds/rpc/exceptions/RpcBrokenPipeException.hpp" 23 | %include "fastdds/dds/rpc/exceptions/RpcFeedCancelledException.hpp" 24 | %include "fastdds/dds/rpc/exceptions/RpcOperationError.hpp" 25 | %include "fastdds/dds/rpc/exceptions/RpcTimeoutException.hpp" 26 | // This is the base class for second level inheritance 27 | %include "fastdds/dds/rpc/RemoteExceptionCode_t.hpp" 28 | %include "fastdds/dds/rpc/exceptions/RpcRemoteException.hpp" 29 | // Include second level inheritance 30 | %include "fastdds/dds/rpc/exceptions/RemoteInvalidArgumentError.hpp" 31 | %include "fastdds/dds/rpc/exceptions/RemoteOutOfResourcesError.hpp" 32 | %include "fastdds/dds/rpc/exceptions/RemoteUnknownExceptionError.hpp" 33 | %include "fastdds/dds/rpc/exceptions/RemoteUnknownOperationError.hpp" 34 | %include "fastdds/dds/rpc/exceptions/RemoteUnsupportedError.hpp" 35 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/rpc/interfaces.i: -------------------------------------------------------------------------------- 1 | // Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/rpc/interfaces.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/rpc/interfaces/RpcStatusCode.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/DataReaderListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/DataReaderListener.hpp" 17 | %} 18 | 19 | // generate directors for the virtual methods in the listener 20 | %feature("director") eprosima::fastdds::dds::DataReaderListener; 21 | 22 | %include "fastdds/dds/subscriber/DataReaderListener.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/InstanceState.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/InstanceState.hpp" 17 | %} 18 | 19 | %template(InstanceStateKindVector) std::vector; 20 | 21 | %include "fastdds/dds/subscriber/InstanceState.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/SampleInfo.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/SampleInfo.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::dds::READ; 20 | %ignore eprosima::fastdds::dds::NOT_READ; 21 | %ignore eprosima::fastdds::dds::NEW; 22 | %ignore eprosima::fastdds::dds::NOT_NEW; 23 | %ignore eprosima::fastdds::dds::ALIVE; 24 | %ignore eprosima::fastdds::dds::NOT_ALIVE_DISPOSED; 25 | %ignore eprosima::fastdds::dds::NOT_ALIVE_NO_WRITERS; 26 | 27 | %include "fastdds/dds/subscriber/SampleInfo.hpp" 28 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/SampleState.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/SampleState.hpp" 17 | %} 18 | 19 | %template(SampleStateKindVector) std::vector; 20 | 21 | %include "fastdds/dds/subscriber/SampleState.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/SubscriberListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/SubscriberListener.hpp" 17 | %} 18 | 19 | // generate directors for the virtual methods in the listener 20 | %feature("director") eprosima::fastdds::dds::SubscriberListener; 21 | 22 | %include "fastdds/dds/subscriber/SubscriberListener.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/ViewState.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/ViewState.hpp" 17 | %} 18 | 19 | %template(ViewStateKindVector) std::vector; 20 | 21 | %include "fastdds/dds/subscriber/ViewState.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/qos/DataReaderQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/qos/DataReaderQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/subscriber/qos/DataReaderQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/qos/ReaderQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/qos/ReaderQos.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::dds::ReaderQos::clear; 20 | 21 | %include "fastdds/dds/subscriber/qos/ReaderQos.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/subscriber/qos/SubscriberQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/subscriber/qos/SubscriberQos.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/subscriber/qos/SubscriberQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/ContentFilteredTopic.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/ContentFilteredTopic.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/topic/ContentFilteredTopic.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/IContentFilter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/IContentFilter.hpp" 17 | %} 18 | 19 | // Flatten nested classes 20 | %feature("flatnested", "1"); 21 | 22 | %include "fastdds/dds/topic/IContentFilter.hpp" 23 | 24 | // Deactivate class flattening 25 | %feature("flatnested", "0"); 26 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/IContentFilterFactory.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/IContentFilterFactory.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/topic/IContentFilterFactory.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/Topic.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/Topic.hpp" 17 | %} 18 | 19 | // Ignore get_inconsistent_topic_status which is not exported 20 | %ignore eprosima::fastdds::dds::Topic::get_inconsistent_topic_status; 21 | %ignore eprosima::fastdds::dds::Topic::Topic; 22 | %ignore eprosima::fastdds::dds::Topic::~Topic; 23 | 24 | %include "fastdds/dds/topic/Topic.hpp" 25 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/TopicDataType.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/TopicDataType.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/topic/TopicDataType.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/TopicDescription.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/TopicDescription.hpp" 17 | %} 18 | 19 | %include "fastdds/dds/topic/TopicDescription.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/TopicListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/TopicListener.hpp" 17 | %} 18 | 19 | // generate directors for the virtual methods in the listener 20 | %feature("director") eprosima::fastdds::dds::TopicListener; 21 | 22 | %include "fastdds/dds/topic/TopicListener.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/dds/topic/qos/TopicQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/dds/topic/qos/TopicQos.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::dds::TopicQos::representation; 20 | 21 | %include "fastdds/dds/topic/qos/TopicQos.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/Endpoint.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/Endpoint.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/Endpoint.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/RTPSDomain.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/RTPSDomain.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/RTPSDomain.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/EndpointAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/EndpointAttributes.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/attributes/EndpointAttributes.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/HistoryAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/HistoryAttributes.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/attributes/HistoryAttributes.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/PropertyPolicy.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/PropertyPolicy.hpp" 17 | %} 18 | 19 | // Ignore overloaded constructor that have no effect on target language 20 | %ignore eprosima::fastdds::rtps::PropertyPolicy::PropertyPolicy(PropertyPolicy &&); 21 | %ignore eprosima::fastdds::rtps::PropertyPolicyHelper; 22 | 23 | %include "fastdds/rtps/attributes/PropertyPolicy.hpp" 24 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/RTPSParticipantAllocationAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/RTPSParticipantAllocationAttributes.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/attributes/RTPSParticipantAllocationAttributes.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/RTPSParticipantAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/RTPSParticipantAttributes.hpp" 17 | %} 18 | 19 | // Ignore deprecated methods 20 | %ignore eprosima::fastdds::rtps::DiscoverySettings::setStaticEndpointXMLFilename; 21 | %ignore eprosima::fastdds::rtps::DiscoverySettings::getStaticEndpointXMLFilename; 22 | %ignore eprosima::fastdds::rtps::RTPSParticipantAttributes; 23 | %ignore eprosima::fastdds::rtps::operator <<(std::ostream&, const DiscoveryProtocol&);; 24 | 25 | %include "fastdds/rtps/attributes/RTPSParticipantAttributes.hpp" 26 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/ReaderAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/ReaderAttributes.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::rtps::ReaderAttributes; 20 | 21 | %include "fastdds/rtps/attributes/ReaderAttributes.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/ResourceManagement.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/ResourceManagement.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/attributes/ResourceManagement.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/ThreadSettings.i: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/ThreadSettings.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/attributes/ThreadSettings.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/attributes/WriterAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/attributes/WriterAttributes.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::rtps::WriterAttributes; 20 | 21 | %include "fastdds/rtps/attributes/WriterAttributes.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/BuiltinProtocols.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/BuiltinProtocols.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/BuiltinProtocols.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/data/ContentFilterProperty.i: -------------------------------------------------------------------------------- 1 | // Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/data/ContentFilterProperty.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/data/ContentFilterProperty.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/discovery/endpoint/EDP.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/discovery/endpoint/EDP.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/discovery/endpoint/EDP.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/discovery/endpoint/EDPSimple.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/discovery/endpoint/EDPSimple.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/discovery/endpoint/EDPSimple.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/discovery/endpoint/EDPStatic.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/discovery/endpoint/EDPStatic.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/discovery/endpoint/EDPStatic.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/discovery/participant/PDP.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/discovery/participant/PDP.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/discovery/participant/PDP.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/discovery/participant/PDPListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/discovery/participant/PDPListener.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/discovery/participant/PDPListener.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/discovery/participant/PDPSimple.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/discovery/participant/PDPSimple.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/discovery/participant/PDPSimple.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/liveliness/WLP.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/liveliness/WLP.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/liveliness/WLP.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/builtin/liveliness/WLPListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/builtin/liveliness/WLPListener.h" 17 | %} 18 | 19 | %include "fastdds/rtps/builtin/liveliness/WLPListener.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/BinaryProperty.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/BinaryProperty.hpp" 17 | %} 18 | 19 | // Ignore overloaded constructor and methods that have no effect on target language 20 | %ignore eprosima::fastdds::rtps::BinaryProperty::BinaryProperty(BinaryProperty &&); 21 | %ignore eprosima::fastdds::rtps::BinaryProperty::name(std::string &&); 22 | %ignore eprosima::fastdds::rtps::BinaryProperty::value(std::vector &&); 23 | %ignore eprosima::fastdds::rtps::BinaryProperty::propagate() const; 24 | %ignore eprosima::fastdds::rtps::BinaryProperty::name() const; 25 | %ignore eprosima::fastdds::rtps::BinaryProperty::value() const; 26 | 27 | // SWIG does not support templates in the generated binding, 28 | // because not all output languages support them 29 | // We must explicitly declare the specializations of the templates 30 | %template(BinaryPropertySeq) std::vector; 31 | 32 | %include "fastdds/rtps/common/BinaryProperty.hpp" 33 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/CDRMessage_t.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/CDRMessage_t.hpp" 17 | %} 18 | 19 | // Overloaded constructor ignored 20 | %ignore eprosima::fastdds::rtps::CDRMessage_t::CDRMessage_t(CDRMessage_t &&); 21 | 22 | %include "fastdds/rtps/common/CDRMessage_t.hpp" 23 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/CacheChange.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/CacheChange.hpp" 17 | %} 18 | 19 | // Ignore problematic classes that are not part of the user API 20 | %ignore eprosima::fastdds::rtps::CacheChangeWriterInfo_t; 21 | %ignore eprosima::fastdds::rtps::CacheChangeReaderInfo_t; 22 | 23 | %include "fastdds/rtps/common/CacheChange.hpp" 24 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/ChangeKind_t.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/ChangeKind_t.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/ChangeKind_t.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/FragmentNumber.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/FragmentNumber.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/FragmentNumber.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/LocatorListComparisons.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/LocatorListComparisons.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/LocatorListComparisons.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/LocatorSelectorEntry.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/LocatorSelectorEntry.hpp" 17 | %} 18 | 19 | // Flatten nested classes 20 | %feature("flatnested", "1"); 21 | 22 | // Need to create a custom name for the flattened classes 23 | // since other classes also define the same inner class 24 | %rename (LocatorSelectorEntry_EntryState) eprosima::fastdds::rtps::LocatorSelectorEntry::EntryState; 25 | 26 | %include "fastdds/rtps/common/LocatorSelectorEntry.hpp" 27 | 28 | // Deactivate class flattening 29 | %feature("flatnested", "0"); 30 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/LocatorsIterator.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/LocatorsIterator.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/LocatorsIterator.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/MatchingInfo.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/MatchingInfo.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/MatchingInfo.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/PortParameters.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/PortParameters.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/PortParameters.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/Property.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/Property.hpp" 17 | %} 18 | 19 | // Ignore overloaded constructor and methods that have no effect on target language 20 | %ignore eprosima::fastdds::rtps::Property::Property(Property &&); 21 | %ignore eprosima::fastdds::rtps::Property::name(std::string &&); 22 | %ignore eprosima::fastdds::rtps::Property::value(std::string &&); 23 | %ignore eprosima::fastdds::rtps::Property::propagate() const; 24 | %ignore eprosima::fastdds::rtps::Property::name() const; 25 | %ignore eprosima::fastdds::rtps::Property::value() const; 26 | 27 | // SWIG does not support templates in the generated binding, 28 | // because not all output languages support them 29 | // We must explicitly declare the specializations of the templates 30 | %template(PropertySeq) std::vector; 31 | 32 | %include "fastdds/rtps/common/Property.hpp" 33 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/RemoteLocators.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/RemoteLocators.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/RemoteLocators.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/SampleIdentity.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/SampleIdentity.hpp" 17 | %} 18 | 19 | // Ignore overloaded constructor and methods that have no effect on target language 20 | %ignore eprosima::fastdds::rtps::SampleIdentity::SampleIdentity(SampleIdentity &&); 21 | %ignore eprosima::fastdds::rtps::SampleIdentity::writer_guid(GUID_t &&); 22 | %ignore eprosima::fastdds::rtps::SampleIdentity::writer_guid() const; 23 | %ignore eprosima::fastdds::rtps::SampleIdentity::sequence_number(SequenceNumber_t &&); 24 | %ignore eprosima::fastdds::rtps::SampleIdentity::sequence_number(SequenceNumber_t) const; 25 | 26 | // Ignore private methods that cannot be wrapped 27 | %ignore operator >>(std::istream& input, SampleIdentity& sid); 28 | %ignore operator <<(std::ostream& output, const SampleIdentity& sid); 29 | 30 | %include "fastdds/rtps/common/SampleIdentity.hpp" 31 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/SequenceNumber.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/SequenceNumber.hpp" 17 | %} 18 | 19 | 20 | %ignore eprosima::fastdds::rtps::operator <<(std::ostream&, const SequenceNumber_t&); 21 | %ignore eprosima::fastdds::rtps::operator <<(std::ostream&, const std::vector&); 22 | %ignore eprosima::fastdds::rtps::operator <<(std::ostream&, const SequenceNumberSet_t&); 23 | %ignore eprosima::fastdds::rtps::operator >>(std::istream&, SequenceNumber_t&); 24 | 25 | %include "fastdds/rtps/common/SequenceNumber.hpp" 26 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/SerializedPayload.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/SerializedPayload.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/SerializedPayload.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/Token.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/Token.hpp" 17 | %} 18 | 19 | // Ignore overloaded constructor and methods that have no effect on target language 20 | %ignore eprosima::fastdds::rtps::DataHolder::DataHolder(DataHolder &&); 21 | %ignore eprosima::fastdds::rtps::DataHolderHelper::DataHolderHelper(DataHolderHelper &&); 22 | %ignore eprosima::fastdds::rtps::DataHolderHelper::find_property_value(const DataHolder& data_holder, const std::string& name); 23 | %ignore eprosima::fastdds::rtps::DataHolderHelper::find_property(const DataHolder& data_holder, const std::string& name); 24 | %ignore eprosima::fastdds::rtps::DataHolderHelper::find_binary_property_value(const DataHolder& data_holder, const std::string& name); 25 | %ignore eprosima::fastdds::rtps::DataHolderHelper::find_binary_property(const DataHolder& data_holder, const std::string& name); 26 | 27 | %include "fastdds/rtps/common/Token.hpp" 28 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/Types.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/Types.hpp" 17 | %} 18 | 19 | %ignore eprosima::fastdds::rtps::operator <<(std::ostream&, const ProtocolVersion_t&); 20 | 21 | %include "fastdds/rtps/common/Types.hpp" 22 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/VendorId_t.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/VendorId_t.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/common/VendorId_t.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/WriteParams.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/WriteParams.hpp" 17 | %} 18 | 19 | // Ignore overloaded constructor and methods that have no effect on target language 20 | %ignore eprosima::fastdds::rtps::WriteParams::WriteParams(WriteParams &&); 21 | %ignore eprosima::fastdds::rtps::WriteParams::sample_identity(SampleIdentity &&); 22 | %ignore eprosima::fastdds::rtps::WriteParams::related_sample_identity(SampleIdentity &&); 23 | 24 | %include "fastdds/rtps/common/WriteParams.hpp" 25 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/common/all_common.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/common/all_common.h" 17 | %} 18 | 19 | %include "fastdds/rtps/common/all_common.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/exceptions/Exception.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/exceptions/Exception.h" 17 | %} 18 | 19 | %include "fastdds/rtps/exceptions/Exception.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/flowcontrol/FlowControllerConsts.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/flowcontrol/FlowControllerConsts.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/flowcontrol/FlowControllerConsts.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/flowcontrol/FlowControllerSchedulerPolicy.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/flowcontrol/FlowControllerSchedulerPolicy.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/flowcontrol/FlowControllerSchedulerPolicy.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/flowcontrol/ThroughputControllerDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/flowcontrol/ThroughputControllerDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/flowcontrol/ThroughputControllerDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/history/History.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/history/History.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/history/History.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/history/IChangePool.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/history/IChangePool.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/history/IChangePool.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/history/IPayloadPool.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/history/IPayloadPool.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/history/IPayloadPool.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/history/ReaderHistory.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/history/ReaderHistory.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/history/ReaderHistory.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/history/WriterHistory.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/history/WriterHistory.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/history/WriterHistory.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/messages/MessageReceiver.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/messages/MessageReceiver.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/messages/MessageReceiver.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/messages/RTPSMessageSenderInterface.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/messages/RTPSMessageSenderInterface.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/messages/RTPSMessageSenderInterface.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/messages/RTPS_messages.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/messages/RTPS_messages.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/messages/RTPS_messages.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/network/NetworkFactory.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/network/NetworkFactory.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/network/NetworkFactory.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/network/ReceiverResource.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/network/ReceiverResource.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/network/ReceiverResource.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/network/SenderResource.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/network/SenderResource.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/network/SenderResource.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/participant/ParticipantDiscoveryInfo.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/participant/ParticipantDiscoveryInfo.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/participant/ParticipantDiscoveryInfo.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/participant/RTPSParticipant.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/participant/RTPSParticipant.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/participant/RTPSParticipant.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/participant/RTPSParticipantListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/participant/RTPSParticipantListener.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/participant/RTPSParticipantListener.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/reader/RTPSReader.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/reader/RTPSReader.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/reader/RTPSReader.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/reader/ReaderDiscoveryInfo.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/reader/ReaderDiscoveryStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/reader/ReaderDiscoveryStatus.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/reader/ReaderListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/reader/ReaderListener.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/reader/ReaderListener.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/resources/ResourceEvent.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/resources/ResourceEvent.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/resources/ResourceEvent.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/resources/TimedEvent.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/resources/TimedEvent.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/resources/TimedEvent.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/rtps_all.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/rtps_all.h" 17 | %} 18 | 19 | %include "fastdds/rtps/rtps_all.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/rtps_fwd.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/rtps_fwd.h" 17 | %} 18 | 19 | %include "fastdds/rtps/rtps_fwd.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/accesscontrol/AccessControl.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/accesscontrol/AccessControl.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/accesscontrol/AccessControl.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/accesscontrol/EndpointSecurityAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/accesscontrol/EndpointSecurityAttributes.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/accesscontrol/EndpointSecurityAttributes.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/accesscontrol/ParticipantSecurityAttributes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/accesscontrol/ParticipantSecurityAttributes.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/accesscontrol/ParticipantSecurityAttributes.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/accesscontrol/SecurityMaskUtilities.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/accesscontrol/SecurityMaskUtilities.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/accesscontrol/SecurityMaskUtilities.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/authentication/Authentication.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/authentication/Authentication.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/authentication/Authentication.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/authentication/Handshake.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/authentication/Handshake.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/authentication/Handshake.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/common/Handle.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/common/Handle.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/common/Handle.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/common/ParticipantGenericMessage.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/common/ParticipantGenericMessage.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/common/ParticipantGenericMessage.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/common/SharedSecretHandle.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/common/SharedSecretHandle.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/common/SharedSecretHandle.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/cryptography/CryptoKeyExchange.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/cryptography/CryptoKeyExchange.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/cryptography/CryptoKeyExchange.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/cryptography/CryptoKeyFactory.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/cryptography/CryptoKeyFactory.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/cryptography/CryptoKeyFactory.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/cryptography/CryptoTransform.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/cryptography/CryptoTransform.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/cryptography/CryptoTransform.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/cryptography/CryptoTypes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/cryptography/CryptoTypes.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/cryptography/CryptoTypes.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/cryptography/Cryptography.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/cryptography/Cryptography.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/cryptography/Cryptography.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/exceptions/SecurityException.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/exceptions/SecurityException.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/exceptions/SecurityException.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/logging/BuiltinLoggingType.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/logging/BuiltinLoggingType.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/logging/BuiltinLoggingType.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/logging/LogOptions.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/logging/LogOptions.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/logging/LogOptions.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/logging/Logging.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/logging/Logging.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/logging/Logging.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/logging/LoggingLevel.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/logging/LoggingLevel.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/security/logging/LoggingLevel.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/security/logging/NameValuePair.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/security/logging/NameValuePair.h" 17 | %} 18 | 19 | %include "fastdds/rtps/security/logging/NameValuePair.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/SocketTransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/SocketTransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/SocketTransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/TCPTransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/TCPTransportDescriptor.hpp" 17 | %} 18 | 19 | // Flatten nested classes 20 | %feature("flatnested", "1"); 21 | 22 | // Need to create a custom name for the flattened classes 23 | // since other classes also define the same inner class 24 | %rename (TCPTransportDescriptor_TLSConfig) eprosima::fastdds::rtps::TCPTransportDescriptor::TLSConfig; 25 | %rename (TCPTransportDescriptor_TLSConfig_TLSOptions) eprosima::fastdds::rtps::TCPTransportDescriptor::TLSConfig::TLSOptions; 26 | %rename (TCPTransportDescriptor_TLSConfig_TLSVerifyMode) eprosima::fastdds::rtps::TCPTransportDescriptor::TLSConfig::TLSVerifyMode; 27 | %rename (TCPTransportDescriptor_TLSConfig_TLSHandShakeRole) eprosima::fastdds::rtps::TCPTransportDescriptor::TLSConfig::TLSHandShakeRole; 28 | 29 | %include "fastdds/rtps/transport/TCPTransportDescriptor.hpp" 30 | 31 | // Deactivate class flattening 32 | %feature("flatnested", "0"); 33 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/TCPv4TransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/TCPv4TransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/TCPv4TransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/TCPv6TransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/TCPv6TransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/TCPv6TransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/TransportDescriptorInterface.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/TransportDescriptorInterface.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/TransportDescriptorInterface.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/TransportInterface.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/TransportInterface.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/TransportInterface.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/TransportReceiverInterface.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/TransportReceiverInterface.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/TransportReceiverInterface.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/UDPTransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/UDPTransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/UDPTransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/UDPv4TransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/UDPv4TransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/UDPv4TransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/UDPv6TransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/UDPv6TransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/UDPv6TransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/transport/test_UDPv4TransportDescriptor.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/transport/test_UDPv4TransportDescriptor.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/transport/test_UDPv4TransportDescriptor.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/ChangeForReader.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/ChangeForReader.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/ChangeForReader.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/DeliveryRetCode.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/DeliveryRetCode.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/DeliveryRetCode.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/IReaderDataFilter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/IReaderDataFilter.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/IReaderDataFilter.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/LivelinessData.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/LivelinessData.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/LivelinessData.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/LivelinessManager.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/LivelinessManager.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/LivelinessManager.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/LocatorSelectorSender.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/LocatorSelectorSender.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/LocatorSelectorSender.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/PersistentWriter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/PersistentWriter.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/PersistentWriter.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/RTPSWriter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/RTPSWriter.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/RTPSWriter.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/ReaderLocator.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/ReaderLocator.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/ReaderLocator.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/ReaderProxy.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/ReaderProxy.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/ReaderProxy.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/StatefulPersistentWriter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/StatefulPersistentWriter.h" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/StatefulPersistentWriter.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/StatefulWriter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/StatefulWriter.h" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/StatefulWriter.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/StatelessPersistentWriter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/StatelessPersistentWriter.h" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/StatelessPersistentWriter.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/StatelessWriter.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/StatelessWriter.h" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/StatelessWriter.h" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/WriterDiscoveryInfo.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/WriterDiscoveryStatus.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/WriterDiscoveryStatus.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/rtps/writer/WriterListener.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/rtps/writer/WriterListener.hpp" 17 | %} 18 | 19 | %include "fastdds/rtps/writer/WriterListener.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/statistics/IListeners.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/statistics/IListeners.hpp" 17 | %} 18 | 19 | %include "fastdds/statistics/IListeners.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/statistics/dds/domain/DomainParticipant.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/statistics/dds/domain/DomainParticipant.hpp" 17 | %} 18 | 19 | %include "fastdds/statistics/dds/domain/DomainParticipant.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/statistics/dds/publisher/qos/DataWriterQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/statistics/dds/publisher/qos/DataWriterQos.hpp" 17 | %} 18 | 19 | %include "fastdds/statistics/dds/publisher/qos/DataWriterQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/statistics/dds/subscriber/qos/DataReaderQos.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/statistics/dds/subscriber/qos/DataReaderQos.hpp" 17 | %} 18 | 19 | %include "fastdds/statistics/dds/subscriber/qos/DataReaderQos.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/statistics/rtps/StatisticsCommon.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/statistics/rtps/StatisticsCommon.hpp" 17 | %} 18 | 19 | %include "fastdds/statistics/rtps/StatisticsCommon.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/statistics/topic_names.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/statistics/topic_names.hpp" 17 | %} 18 | 19 | %include "fastdds/statistics/topic_names.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/src/swig/fastdds/utils/collections/ResourceLimitedContainerConfig.i: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | %{ 16 | #include "fastdds/utils/collections/ResourceLimitedContainerConfig.hpp" 17 | %} 18 | 19 | %include "fastdds/utils/collections/ResourceLimitedContainerConfig.hpp" 20 | -------------------------------------------------------------------------------- /fastdds_python/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | # Compile types 16 | add_subdirectory(types) 17 | 18 | add_test(NAME api_tests 19 | COMMAND 20 | ${Python3_EXECUTABLE} 21 | -m pytest 22 | -vrP 23 | WORKING_DIRECTORY 24 | ${CMAKE_CURRENT_SOURCE_DIR}/api 25 | ) 26 | -------------------------------------------------------------------------------- /fastdds_python/test/README.md: -------------------------------------------------------------------------------- 1 | # How to re-generate data types for python 2 | 3 | 1. Navigate to `fastdds_python/test/types` 4 | 2. Run Fast DDS Gen script 5 | 6 | ```bash 7 | fastddsgen -python -replace test_complete.idl test_modules.idl 8 | ``` 9 | -------------------------------------------------------------------------------- /fastdds_python/test/api/DEFAULT_FASTDDS_PROFILES.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 3 6 | 7 | test_name 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | partition_name_c 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | partition_name_b 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | VOLATILE 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | RELIABLE 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /fastdds_python/test/types/test_completePubSubTypes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file test_completePubSubTypes.i 17 | * This header file contains the SWIG interface of the serialization functions. 18 | * 19 | * This file was generated by the tool fastddsgen. 20 | */ 21 | 22 | %import(module="fastdds") "fastdds/dds/topic/TopicDataType.hpp"; 23 | 24 | %{ 25 | #include "test_completePubSubTypes.hpp" 26 | %} 27 | 28 | #define FASTDDS_GEN_API_VER 3 29 | 30 | %include "test_completePubSubTypes.hpp" 31 | -------------------------------------------------------------------------------- /fastdds_python/test/types/test_included_modules.idl: -------------------------------------------------------------------------------- 1 | module eprosima 2 | { 3 | module test2 4 | { 5 | enum Color2 6 | { 7 | RED2, 8 | GREEN2, 9 | BLUE2, 10 | YELLOW2, 11 | MAGENTA2 12 | }; 13 | 14 | enum Material2 15 | { 16 | WOOD2, 17 | PLASTIC2, 18 | METAL2, 19 | CONCRETE2, 20 | STONE2 21 | }; 22 | 23 | struct StructType2 24 | { 25 | char char_field; 26 | octet uint8_field; 27 | short int16_field; 28 | unsigned short uint16_field; 29 | long int32_field; 30 | unsigned long uint32_field; 31 | long long int64_field; 32 | unsigned long long uint64_field; 33 | float float_field; 34 | double double_field; 35 | //long double long_double_field; 36 | boolean bool_field; 37 | string string_field; 38 | Color2 enum_field; 39 | Material2 enum2_field; 40 | }; 41 | }; 42 | }; 43 | -------------------------------------------------------------------------------- /fastdds_python/test/types/test_included_modulesCdrAux.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file test_included_modulesCdrAux.hpp 17 | * This source file contains some definitions of CDR related functions. 18 | * 19 | * This file was generated by the tool fastddsgen. 20 | */ 21 | 22 | #ifndef FAST_DDS_GENERATED__EPROSIMA_TEST2_TEST_INCLUDED_MODULESCDRAUX_HPP 23 | #define FAST_DDS_GENERATED__EPROSIMA_TEST2_TEST_INCLUDED_MODULESCDRAUX_HPP 24 | 25 | #include "test_included_modules.hpp" 26 | 27 | constexpr uint32_t eprosima_test2_StructType2_max_cdr_typesize {328UL}; 28 | constexpr uint32_t eprosima_test2_StructType2_max_key_cdr_typesize {0UL}; 29 | 30 | 31 | 32 | namespace eprosima { 33 | namespace fastcdr { 34 | 35 | class Cdr; 36 | class CdrSizeCalculator; 37 | 38 | eProsima_user_DllExport void serialize_key( 39 | eprosima::fastcdr::Cdr& scdr, 40 | const eprosima::test2::StructType2& data); 41 | 42 | 43 | } // namespace fastcdr 44 | } // namespace eprosima 45 | 46 | #endif // FAST_DDS_GENERATED__EPROSIMA_TEST2_TEST_INCLUDED_MODULESCDRAUX_HPP 47 | 48 | -------------------------------------------------------------------------------- /fastdds_python/test/types/test_included_modulesPubSubTypes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file test_included_modulesPubSubTypes.i 17 | * This header file contains the SWIG interface of the serialization functions. 18 | * 19 | * This file was generated by the tool fastddsgen. 20 | */ 21 | 22 | %import(module="fastdds") "fastdds/dds/topic/TopicDataType.hpp"; 23 | 24 | %{ 25 | #include "test_included_modulesPubSubTypes.hpp" 26 | %} 27 | 28 | #define FASTDDS_GEN_API_VER 3 29 | 30 | %include "test_included_modulesPubSubTypes.hpp" 31 | -------------------------------------------------------------------------------- /fastdds_python/test/types/test_modulesPubSubTypes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file test_modulesPubSubTypes.i 17 | * This header file contains the SWIG interface of the serialization functions. 18 | * 19 | * This file was generated by the tool fastddsgen. 20 | */ 21 | 22 | %import(module="fastdds") "fastdds/dds/topic/TopicDataType.hpp"; 23 | 24 | %{ 25 | #include "test_modulesPubSubTypes.hpp" 26 | %} 27 | 28 | #define FASTDDS_GEN_API_VER 3 29 | 30 | %include "test_modulesPubSubTypes.hpp" 31 | -------------------------------------------------------------------------------- /fastdds_python_examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | cmake_minimum_required(VERSION 3.22) 16 | 17 | project(FastDdsPythonExamples) 18 | 19 | ############################################################################### 20 | # Examples subdirectory 21 | ############################################################################### 22 | 23 | add_subdirectory(HelloWorldExample/generated_code) 24 | add_subdirectory(RPCExample/generated_code) 25 | -------------------------------------------------------------------------------- /fastdds_python_examples/HelloWorldExample/HelloWorld.idl: -------------------------------------------------------------------------------- 1 | // Copyright 2022 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | struct HelloWorld 16 | { 17 | unsigned long index; 18 | string message; 19 | }; 20 | -------------------------------------------------------------------------------- /fastdds_python_examples/HelloWorldExample/README.md: -------------------------------------------------------------------------------- 1 | # Python binding HelloWorldExample 2 | 3 | This example implements a basic publication/subscription application. 4 | In order to launch the example it is required to indicate if the application is run as publisher or subcriber. 5 | Therefore, open two terminals and move to the folder where the Python script is located. 6 | On the first terminal run the publisher executing the following command: 7 | 8 | ```bash 9 | python3 HelloWorldExample.py -p publisher 10 | ``` 11 | 12 | On the second terminal run the subscriber as follows: 13 | 14 | ```bash 15 | python3 HelloWorldExample.py -p subscriber 16 | ``` 17 | 18 | After launching the publisher application, the publisher will wait until discovering a subscriber, before sending the samples. 19 | Once the subscriber is discovered the samples are sent. 20 | The QoS settings are by default: BEST_EFFORT and VOLATILE. 21 | Consequently, some samples may be lost if the publisher discovers the subscriber earlier. 22 | Also, when the publisher sends the last sample, it is destroyed and the samples are removed from the history. 23 | Therefore, sometimes the last samples are also not received depending on the network performance. 24 | 25 | ## Parameters 26 | 27 | This example allows the following parameters: 28 | 29 | * `--parameter`/`-p`: whether the application is run as publisher or subscriber. This parameter is required always. 30 | * `--domain`/`-d`: domain ID where the application is run. This parameter is optional. In case that it is not provided by the user, domain ID will be 0. 31 | * `--machine`/`-m`: distinguish between different publishing applications. This parameter only applies if the application is run as publisher. 32 | -------------------------------------------------------------------------------- /fastdds_python_examples/HelloWorldExample/generated_code/HelloWorldCdrAux.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file HelloWorldCdrAux.hpp 17 | * This source file contains some definitions of CDR related functions. 18 | * 19 | * This file was generated by the tool fastddsgen (version: 4.1.0). 20 | */ 21 | 22 | #ifndef FAST_DDS_GENERATED__HELLOWORLDCDRAUX_HPP 23 | #define FAST_DDS_GENERATED__HELLOWORLDCDRAUX_HPP 24 | 25 | #include "HelloWorld.hpp" 26 | constexpr uint32_t HelloWorld_max_cdr_typesize {268UL}; 27 | constexpr uint32_t HelloWorld_max_key_cdr_typesize {0UL}; 28 | 29 | 30 | namespace eprosima { 31 | namespace fastcdr { 32 | 33 | class Cdr; 34 | class CdrSizeCalculator; 35 | 36 | eProsima_user_DllExport void serialize_key( 37 | eprosima::fastcdr::Cdr& scdr, 38 | const HelloWorld& data); 39 | 40 | 41 | } // namespace fastcdr 42 | } // namespace eprosima 43 | 44 | #endif // FAST_DDS_GENERATED__HELLOWORLDCDRAUX_HPP 45 | 46 | -------------------------------------------------------------------------------- /fastdds_python_examples/HelloWorldExample/generated_code/HelloWorldPubSubTypes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file HelloWorldPubSubTypes.i 17 | * This header file contains the SWIG interface of the serialization functions. 18 | * 19 | * This file was generated by the tool fastddsgen (version: 4.1.0). 20 | */ 21 | 22 | %import(module="fastdds") "fastdds/dds/topic/TopicDataType.hpp"; 23 | 24 | %{ 25 | #include "HelloWorldPubSubTypes.hpp" 26 | %} 27 | 28 | #define FASTDDS_GEN_API_VER 3 29 | 30 | %include "HelloWorldPubSubTypes.hpp" 31 | -------------------------------------------------------------------------------- /fastdds_python_examples/README.md: -------------------------------------------------------------------------------- 1 | # Fast DDS Python binding examples 2 | 3 | ## Prerequisites 4 | 5 | `fastdds_python_examples` has the following dependencies: 6 | 7 | * `fastcdr`: Fast CDR library. 8 | * `fasrtps`: Fast DDS library. 9 | * `fastdds_python`: Fast DDS Python binding. 10 | 11 | ## Compile and install 12 | 13 | The examples can be built either using [colcon](https://colcon.readthedocs.io/en/released/index.html) or CMake. 14 | Remember to source the installation environment afterwards before launching the Python script so the required Python modules are found. 15 | -------------------------------------------------------------------------------- /fastdds_python_examples/RPCExample/README.md: -------------------------------------------------------------------------------- 1 | # Python binding CalculatorExample 2 | 3 | This example implements a basic client/server RPC application. 4 | In order to launch the example it is required to indicate if the application is run as client or server. 5 | Therefore, open two terminals and move to the folder where the Python script is located. 6 | On the first terminal run the server executing the following command: 7 | 8 | ```bash 9 | python3 CalculatorExample.py -p server 10 | ``` 11 | 12 | On the second terminal run the client as follows: 13 | 14 | ```bash 15 | python3 CalculatorExample.py -p client 16 | ``` 17 | 18 | The client application waits for two seconds for the server to be discovered, and then performs several RPC calls. 19 | For each call, the operation result is shown. 20 | On the server application, the GUID of the client and the requested operation is shown for each processed request. 21 | 22 | ## Parameters 23 | 24 | This example allows the following parameters: 25 | 26 | * `--parameter`/`-p`: whether the application is run as client or server. This parameter is required. 27 | * `--domain`/`-d`: domain ID where the application is run. This parameter is optional. In case that it is not provided by the user, domain ID will be 0. 28 | * `--server_threads`/`-t`: the number of threads for processing requests (defaults to 1). This parameter only applies if the application is run as server. 29 | -------------------------------------------------------------------------------- /fastdds_python_examples/RPCExample/generated_code/calculatorCdrAux.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file calculatorCdrAux.hpp 17 | * This source file contains some definitions of CDR related functions. 18 | * 19 | * This file was generated by the tool fastddsgen (version: 4.1.0). 20 | */ 21 | 22 | #ifndef FAST_DDS_GENERATED__CALCULATORCDRAUX_HPP 23 | #define FAST_DDS_GENERATED__CALCULATORCDRAUX_HPP 24 | 25 | #include "calculator.hpp" 26 | #include "calculator_details.hpp" 27 | 28 | 29 | namespace eprosima { 30 | namespace fastcdr { 31 | 32 | class Cdr; 33 | class CdrSizeCalculator; 34 | 35 | 36 | } // namespace fastcdr 37 | } // namespace eprosima 38 | 39 | #endif // FAST_DDS_GENERATED__CALCULATORCDRAUX_HPP 40 | 41 | -------------------------------------------------------------------------------- /fastdds_python_examples/RPCExample/generated_code/calculatorPubSubTypes.i: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file calculatorPubSubTypes.i 17 | * This header file contains the SWIG interface of the serialization functions. 18 | * 19 | * This file was generated by the tool fastddsgen (version: 4.1.0). 20 | */ 21 | 22 | %import(module="fastdds") "fastdds/dds/topic/TopicDataType.hpp"; 23 | 24 | %{ 25 | #include "calculatorPubSubTypes.hpp" 26 | %} 27 | 28 | #define FASTDDS_GEN_API_VER 3 29 | 30 | %include "calculatorPubSubTypes.hpp" 31 | -------------------------------------------------------------------------------- /fastdds_python_examples/RPCExample/generated_code/calculatorTypeObjectSupport.cxx: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /*! 16 | * @file calculatorTypeObjectSupport.cxx 17 | * Source file containing the implementation to register the TypeObject representation of the described types in the IDL file 18 | * 19 | * This file was generated by the tool fastddsgen (version: 4.1.0). 20 | */ 21 | 22 | #include "calculatorTypeObjectSupport.hpp" 23 | 24 | #include 25 | #include 26 | 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | 36 | #include "calculator.hpp" 37 | 38 | 39 | using namespace eprosima::fastdds::dds::xtypes; 40 | 41 | namespace calculator_base { 42 | } // namespace calculator_base 43 | 44 | -------------------------------------------------------------------------------- /fastdds_python_examples/colcon.pkg: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fastdds_python_examples", 3 | "type": "cmake", 4 | "build-dependencies": [ 5 | "fastdds_python", 6 | "fastcdr", 7 | "fastdds" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /utils/scripts/update_generated_code_from_idl.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | red='\E[1;31m' 4 | yellow='\E[1;33m' 5 | textreset='\E[1;0m' 6 | 7 | current_dir=$(git rev-parse --show-toplevel) 8 | 9 | if [[ ! "$(pwd -P)" -ef "${current_dir}" ]]; then 10 | echo -e "${red}This script must be executed in the repository root directory.${textreset}" 11 | exit -1 12 | fi 13 | 14 | if [[ -z "$(which fastddsgen)" ]]; then 15 | echo "Cannot find fastddsgen. Please, include it in PATH environment variable" 16 | exit -1 17 | fi 18 | 19 | ret_value=0 20 | 21 | cd ./fastdds_python/test/types 22 | echo -e "Processing ${yellow}test_complete.idl test_modules.idl${textreset}" 23 | echo "Running: fastddsgen -replace -python test_complete.idl test_modules.idl" 24 | fastddsgen -replace -python test_complete.idl test_modules.idl 25 | if [[ $? != 0 ]]; then 26 | ret_value=-1 27 | fi 28 | cd - 29 | 30 | if [[ $ret_value != -1 ]]; then 31 | cd "./fastdds_python_examples/HelloWorldExample" 32 | 33 | echo -e "Processing ${yellow}HelloWorld.idl${textreset}" 34 | echo "Running: fastddsgen -replace -python HelloWorld.idl" 35 | fastddsgen -replace -python -d generated_code HelloWorld.idl 36 | fi 37 | 38 | if [[ $? != 0 ]]; then 39 | ret_value=-1 40 | fi 41 | cd - 42 | 43 | if [[ $ret_value != -1 ]]; then 44 | cd "./fastdds_python_examples/RPCExample" 45 | 46 | echo -e "Processing ${yellow}calculator.idl${textreset}" 47 | echo "Running: fastddsgen -replace -python calculator.idl" 48 | fastddsgen -replace -python -d generated_code calculator.idl 49 | fi 50 | 51 | if [[ $? != 0 ]]; then 52 | ret_value=-1 53 | fi 54 | cd - 55 | 56 | exit ${ret_value} 57 | --------------------------------------------------------------------------------