OpenRTM-aist 2.0.2
読み取り中…
検索中…
一致する文字列を見つけられません
CORBA_IORUtil.h
[詳解]
1// -*- C++ -*-
18#ifndef CORBA_IORUTIL_H
19#define CORBA_IORUTIL_H
20
21#include <rtm/RTC.h>
22#ifdef ORB_IS_ORBEXPRESS
23#include <IOP.h>
24#endif
25
26#include <string>
27
44namespace CORBA_IORUtil
45{
55#if !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO) && !defined(ORB_IS_RTORB)
56 bool toIOR(const char* iorstr, IOP::IOR& ior);
57#endif
58
68#if !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO) && !defined(ORB_IS_RTORB)
69 bool toString(IOP::IOR& ior, std::string& iorstr);
70#endif
71
79 bool replaceEndpoint(std::string& iorstr, const std::string& endpoint);
80
88 std::string formatIORinfo(const char* iorstr);
89#if !defined(ORB_IS_ORBEXPRESS) && !defined(ORB_IS_TAO) && !defined(ORB_IS_RTORB)
90 std::vector<IIOP::Address> getEndpoints(IOP::IOR& ior);
91
92
93 void extractAddrs(IOP::MultipleComponentProfile& comp,
94 std::vector<IIOP::Address>& addr);
95#endif
96
97} // namespace CORBA_IORUtil
98#endif // CORBA_IORUTIL_H
RTComponent header
CORBA IOR ヘルパー関数
bool replaceEndpoint(std::string &iorstr, const std::string &endpoint)
IOR内のエンドポイントを置換する
std::vector< IIOP::Address > getEndpoints(IOP::IOR &ior)
bool toString(IOP::IOR &ior, std::string &iorstr)
IOR構造体をIOR文字列へ変換する
bool toIOR(const char *iorstr, IOP::IOR &ior)
IOR 文字列をIOR構造体へ変換する
std::string formatIORinfo(const char *iorstr)
IOR文字列から情報を抽出しフォーマット済みの文字列として返す
void extractAddrs(IOP::MultipleComponentProfile &comp, std::vector< IIOP::Address > &addr)