summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tools/QOS_XML_Handler/SubscriberQos_Handler.h
blob: e3b6319e37499ab635590cdeb884adc1fbb09bde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//==============================================================
/**
 *  @file  SubscriberQos_Handler.h
 *
 *  $Id$
 *
 *  @author Marcel Smit <msmit@remedy.nl>
 */
//================================================================

#ifndef SUBSCRIBER_QOS_HANDLER_H
#define SUBSCRIBER_QOS_HANDLER_H

#include /**/ "ace/pre.h"

#include "dds4ccm/tools/QOS_XML_Handler/XML_QOS_Handler_Export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "dds_qos.hpp"

namespace DDS
{
  struct SubscriberQos;
}

class XML_QOS_Handler_Export SubscriberQos_Handler
{
public:
  static bool get_subscriber_qos (::DDS::SubscriberQos& sub_qos,
                                  ::dds::qosProfile * profile,
                                  const ACE_TCHAR * name = 0);
private:
  static bool get_subscriber_qos (DDS::SubscriberQos& sub_qos,
                                  dds::subscriberQos * sub);
};

#include /**/ "ace/post.h"
#endif /* SUBSCRIBER_QOS_HANDLER_H */