00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #ifndef DCPS_IR_FEDERATOR_ID_H 00009 #define DCPS_IR_FEDERATOR_ID_H 00010 00011 #include "inforepo_export.h" 00012 #include "tao/Basic_Types.h" 00013 #include "dds/Versioned_Namespace.h" 00014 00015 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00016 00017 class OpenDDS_InfoRepoLib_Export TAO_DDS_DCPSFederationId 00018 { 00019 public: 00020 typedef ::CORBA::Long RepoKey; 00021 TAO_DDS_DCPSFederationId(RepoKey initId); 00022 void id(RepoKey fedId); 00023 RepoKey id() const; 00024 bool overridden() const; 00025 private: 00026 RepoKey id_; 00027 bool overridden_; 00028 }; 00029 00030 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00031 00032 #endif /* DCPS_IR_FEDERATOR_ID_H */