/*引数にTreeObjectとIPアドレスを追加*/ int rtc_get_rtclist(RTC::CorbaNaming &naming,vector<OtherPort> &rtclist, TreeObject *to, std::string IP_adress){ CosNaming::NamingContext_ptr name_cxt = naming.getRootContext(); rtclist.clear(); vector<string> name; name.push_back(IP_adress); ListRecursive(name_cxt,rtclist,name,to); for(int i=0;i<(signed)rtclist.size();i++){ std::string buff = ""; for(int j=0;j < rtclist[i].buff.size();j++) { buff += rtclist[i].buff[j]; buff += "/"; } //System::String^ a = gcnew System::String(buff.c_str()); } return 0; }