RTC Toolkit  1.0.0
Namespaces | Macros | Typedefs | Functions
ddsCommon.hpp File Reference

Declares common DDS types. More...

#include "rtctk/fastdds/agnostictopicifPubSubTypes.h"
#include <fastdds/dds/publisher/DataWriter.hpp>
#include <fastdds/dds/publisher/Publisher.hpp>
#include <fastdds/dds/publisher/PublisherListener.hpp>
#include <fastdds/dds/subscriber/DataReader.hpp>
#include <fastdds/dds/subscriber/DataReaderListener.hpp>
#include <fastdds/dds/subscriber/Subscriber.hpp>
#include <fastdds/dds/subscriber/SubscriberListener.hpp>
#include <fastdds/dds/core/LoanableSequence.hpp>
#include <fastdds/dds/domain/DomainParticipant.hpp>
#include <fastdds/dds/domain/DomainParticipantFactory.hpp>
#include <fastrtps/types/TypesBase.h>
#include <fastdds/dds/core/condition/WaitSet.hpp>
#include <fastdds/dds/core/status/StatusMask.hpp>
#include <fastdds/dds/domain/qos/DomainParticipantFactoryQos.hpp>
#include <fastdds/rtps/transport/UDPv4TransportDescriptor.h>

Go to the source code of this file.

Namespaces

 rtctk
 
 rtctk::componentFramework
 

Macros

#define STATUS_MASK_NONE   StatusMask::none()
 
#define STATUS_MASK_ALL   StatusMask::all()
 
#define DATA_AVAILABLE_STATUS   StatusMask::data_available()
 
#define RETCODE_OK   ReturnCode_t::RETCODE_OK
 
#define DDS_HANDLE_NIL   eprosima::fastrtps::rtps::c_InstanceHandle_Unknown
 
#define DDS_RETCODE_TIMEOUT   ReturnCode_t::RETCODE_TIMEOUT
 
#define RETCODE_NO_DATA   ReturnCode_t::RETCODE_NO_DATA
 
#define DDS_RETCODE_OK   ReturnCode_t::RETCODE_OK
 

Typedefs

using rtctk::componentFramework::TypedDataWriter = eprosima::fastdds::dds::DataWriter
 
using rtctk::componentFramework::TypedDataReader = eprosima::fastdds::dds::DataReader
 
using DDS_Long = long
 
using DDS_UnsignedLong = unsigned long
 

Functions

 rtctk::FASTDDS_SEQUENCE (AgnosticTopicSeq, AgnosticTopic)
 
 FASTDDS_SEQUENCE (SampleInfoSeq, SampleInfo)
 
std::string rtctk::componentFramework::RetcodeToString (ReturnCode_t retcode)
 
const char * rtctk::componentFramework::GetTopicName (DataWriter *writer)
 
const char * rtctk::componentFramework::GetTopicName (DataReader *reader)
 

Detailed Description

Declares common DDS types.

Macro Definition Documentation

◆ DATA_AVAILABLE_STATUS

#define DATA_AVAILABLE_STATUS   StatusMask::data_available()

◆ DDS_HANDLE_NIL

#define DDS_HANDLE_NIL   eprosima::fastrtps::rtps::c_InstanceHandle_Unknown

◆ DDS_RETCODE_OK

#define DDS_RETCODE_OK   ReturnCode_t::RETCODE_OK

◆ DDS_RETCODE_TIMEOUT

#define DDS_RETCODE_TIMEOUT   ReturnCode_t::RETCODE_TIMEOUT

◆ RETCODE_NO_DATA

#define RETCODE_NO_DATA   ReturnCode_t::RETCODE_NO_DATA

◆ RETCODE_OK

#define RETCODE_OK   ReturnCode_t::RETCODE_OK

◆ STATUS_MASK_ALL

#define STATUS_MASK_ALL   StatusMask::all()

◆ STATUS_MASK_NONE

#define STATUS_MASK_NONE   StatusMask::none()

Typedef Documentation

◆ DDS_Long

using DDS_Long = long

◆ DDS_UnsignedLong

using DDS_UnsignedLong = unsigned long

Function Documentation

◆ FASTDDS_SEQUENCE()

FASTDDS_SEQUENCE ( SampleInfoSeq  ,
SampleInfo   
)