00001 /** 00002 * @author Marcel Smit (msmit@remedy.nl) 00003 * 00004 * 00005 */ 00006 #ifndef DATAREADER_QOS_HANDLER_H 00007 #define DATAREADER_QOS_HANDLER_H 00008 00009 #include /**/ "ace/pre.h" 00010 00011 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00012 # pragma once 00013 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00014 00015 #include "dds_qos.hpp" 00016 #include "dds/DdsDcpsInfrastructureC.h" 00017 00018 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00019 00020 class DataReaderQos_Handler 00021 { 00022 public: 00023 /** 00024 * Find the correct datareaderQos within the given profile, 00025 * based on the given name. 00026 */ 00027 static bool get_datareader_qos (::DDS::DataReaderQos& dr_qos, 00028 ::dds::qosProfile * profile, 00029 const ACE_TCHAR * name = 0); 00030 private: 00031 /** 00032 * Start parsing the QOS XML, using the template classes. 00033 */ 00034 static bool get_datareader_qos (DDS::DataReaderQos& dr_qos, 00035 dds::datareaderQos * dr); 00036 }; 00037 00038 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00039 00040 #include /**/ "ace/post.h" 00041 #endif /* DATAREADER_QOS_HANDLER_H */