OpenRTM-aist  1.2.1
CORBA_IORUtil.h
[詳解]
1 // -*- C++ -*-
18 #ifndef CORBA_IORUTIL_H
19 #define CORBA_IORUTIL_H
20 
21 #include <rtm/RTC.h>
22 
38 namespace CORBA_IORUtil
39 {
49 #if !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
50  bool toIOR(const char* iorstr, IOP::IOR& ior);
51 #endif // !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
52 
61 #if !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
62  bool toString(IOP::IOR& ior, std::string& iorstr);
63 #endif // !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO)
64 
71  bool replaceEndpoint(std::string& iorstr, const std::string& endpoint);
72 
80  std::string formatIORinfo(const char* iorstr);
81 
82  std::vector<IIOP::Address> getEndpoints(IOP::IOR& ior);
83 
84  void extractAddrs(IOP::MultipleComponentProfile& components,
85  std::vector<IIOP::Address>& addr);
86 
87 
88 }; // namespace CORBA_IORUtil
89 #endif // CORBA_IORUTIL_H
bool toString(IOP::IOR &ior, std::string &iorstr)
IOR構造体をIOR文字列へ変換する
void extractAddrs(IOP::MultipleComponentProfile &components, std::vector< IIOP::Address > &addr)
bool replaceEndpoint(std::string &iorstr, const std::string &endpoint)
IOR内のエンドポイントを置換する
std::vector< IIOP::Address > getEndpoints(IOP::IOR &ior)
std::string formatIORinfo(const char *iorstr)
IOR文字列から情報を抽出しフォーマット済みの文字列として返す
CORBA IOR ヘルパー関数
bool toIOR(const char *iorstr, IOP::IOR &ior)
IOR 文字列をIOR構造体へ変換する
RTComponent header.