Program Listing for File QosProviderImpl.hpp

Return to documentation for file (/tmp/ws/src/fastrtps/include/dds/core/detail/QosProviderImpl.hpp)

/*
 * Copyright 2019, Proyectos y Sistemas de Mantenimiento SL (eProsima).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

#ifndef EPROSIMA_DDS_CORE_DETAIL_TQOSPROVIDERIMPL_HPP_
#define EPROSIMA_DDS_CORE_DETAIL_TQOSPROVIDERIMPL_HPP_

/*
 * OMG PSM class declaration
 */
#include <dds/core/QosProvider.hpp>

namespace dds {
namespace core {

template<typename DELEGATE>
TQosProvider<DELEGATE>::TQosProvider(
        const std::string& uri,
        const std::string& profile)
    : Reference<DELEGATE>(new DELEGATE(uri, profile))
{
}

template<typename DELEGATE>
TQosProvider<DELEGATE>::TQosProvider(
        const std::string& uri)
    : Reference<DELEGATE>(new DELEGATE(uri))
{
}

template<typename DELEGATE>
dds::domain::qos::DomainParticipantQos TQosProvider<DELEGATE>::participant_qos()
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->participant_qos(NULL);
}

template<typename DELEGATE>
dds::domain::qos::DomainParticipantQos TQosProvider<DELEGATE>::participant_qos(
        const std::string& id)
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->participant_qos(id.c_str());
}

template<typename DELEGATE>
dds::topic::qos::TopicQos TQosProvider<DELEGATE>::topic_qos()
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->topic_qos(NULL);
}

template<typename DELEGATE>
dds::topic::qos::TopicQos TQosProvider<DELEGATE>::topic_qos(
        const std::string& id)
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->topic_qos(id.c_str());
}

template<typename DELEGATE>
dds::sub::qos::SubscriberQos TQosProvider<DELEGATE>::subscriber_qos()
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->subscriber_qos(NULL);
}

template<typename DELEGATE>
dds::sub::qos::SubscriberQos TQosProvider<DELEGATE>::subscriber_qos(
        const std::string& id)
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->subscriber_qos(id.c_str());
}

template<typename DELEGATE>
dds::sub::qos::DataReaderQos TQosProvider<DELEGATE>::datareader_qos()
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->datareader_qos(NULL);
}

template<typename DELEGATE>
dds::sub::qos::DataReaderQos TQosProvider<DELEGATE>::datareader_qos(
        const std::string& id)
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->datareader_qos(id.c_str());
}

template<typename DELEGATE>
dds::pub::qos::PublisherQos TQosProvider<DELEGATE>::publisher_qos()
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->publisher_qos(NULL);
}

template<typename DELEGATE>
dds::pub::qos::PublisherQos TQosProvider<DELEGATE>::publisher_qos(
        const std::string& id)
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->publisher_qos(id.c_str());
}

template<typename DELEGATE>
dds::pub::qos::DataWriterQos TQosProvider<DELEGATE>::datawriter_qos()
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->datawriter_qos(NULL);
}

template<typename DELEGATE>
dds::pub::qos::DataWriterQos TQosProvider<DELEGATE>::datawriter_qos(
        const std::string& id)
{
    //To implement
    //    ISOCPP_REPORT_STACK_NC_BEGIN();
    //    return this->delegate()->datawriter_qos(id.c_str());
}

} //namespace core
} //namespace dds

#endif //EPROSIMA_DDS_CORE_DETAIL_TQOSPROVIDERIMPL_HPP_