![]() |
MAK RTIspy API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: assistantLicServerInfo.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *********************************************************************/ 00008 00009 #ifndef assistantLicServerInfo_H_ 00010 #define assistantLicServerInfo_H_ 00011 00014 00015 #include <rtiUtil.h> 00016 #include <vlutil/vlString.h> 00017 00019 class DT_DLL_ASSISTANT DtLicServerInfo 00020 { 00021 public: 00023 DtLicServerInfo(); 00024 00026 DtLicServerInfo( const MAKRti::DtString& name, int port ); 00027 00029 DtLicServerInfo( const MAKRti::DtString& server ); 00030 00032 ~DtLicServerInfo(); 00033 00036 MAKRti::DtString string() const; 00037 00039 bool operator<(const DtLicServerInfo& other) const; 00040 00042 int serverPort() const; 00043 00045 void setServerPort( int port ); 00046 00048 MAKRti::DtString serverName() const; 00049 00051 void setServerName( const MAKRti::DtString& name ); 00052 00053 private: 00054 00056 int myServerPort; 00057 00059 MAKRti::DtString myServerName; 00060 }; 00061 00062 typedef std::set<DtLicServerInfo> DtLicServerSet; 00063 00064 #endif