OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
CORBA_IORUtil.h
Go to the documentation of this file.
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
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.
Definition CORBA_IORUtil.h:45
bool replaceEndpoint(std::string &iorstr, const std::string &endpoint)
Replace endpoint address in IOR entry .
std::vector< IIOP::Address > getEndpoints(IOP::IOR &ior)
bool toString(IOP::IOR &ior, std::string &iorstr)
Convert from IOR structure to IOR string.
bool toIOR(const char *iorstr, IOP::IOR &ior)
Convert from IOR string to IOR structure.
std::string formatIORinfo(const char *iorstr)
Extracts information from IOR string and returns formatted string .
void extractAddrs(IOP::MultipleComponentProfile &comp, std::vector< IIOP::Address > &addr)