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 00014 class OpenDDS_InfoRepoLib_Export TAO_DDS_DCPSFederationId 00015 { 00016 public: 00017 typedef ::CORBA::Long RepoKey; 00018 TAO_DDS_DCPSFederationId(RepoKey initId); 00019 void id(RepoKey fedId); 00020 RepoKey id() const; 00021 // void overridden(bool overrideId); 00022 bool overridden() const; 00023 private: 00024 RepoKey id_; 00025 bool overridden_; 00026 }; 00027 00028 #endif /* DCPS_IR_FEDERATOR_ID_H */