dds::reader Namespace Reference


Functions

::dds::qosProfile_seq dds (xercesc::DOMDocument const *d)


Function Documentation

::dds::qosProfile_seq dds::reader::dds ( xercesc::DOMDocument const *  d  ) 

Definition at line 7132 of file dds_qos.cpp.

Referenced by dds::writer::dds(), and OpenDDS::DCPS::QOS_XML_File_Handler::init().

07133     {
07134       //Initiate our Singleton as an ACE_TSS object (ensures thread
07135       //specific storage
07136       ID_Map::TSS_ID_Map* TSS_ID_Map (ACE_Singleton<ID_Map::TSS_ID_Map, ACE_Null_Mutex>::instance());
07137 
07138 
07139       ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ());
07140       if (e.name () == ACE_TEXT("dds"))
07141       {
07142         ::dds::qosProfile_seq r (e);
07143 
07144         (*TSS_ID_Map)->resolve_idref();
07145 
07146         return r;
07147       }
07148 
07149       else
07150       {
07151         throw 1;
07152       }
07153     }


Generated on Fri Feb 12 20:06:09 2016 for OpenDDS by  doxygen 1.4.7