|
orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
iceutils.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef ORCAICE_ICE_UTILITIES_H 00012 #define ORCAICE_ICE_UTILITIES_H 00013 00014 #include <Ice/Ice.h> 00015 00016 #include <orcaice/context.h> 00017 #include <gbxsickacfr/gbxiceutilacfr/thread.h> 00018 00019 namespace orcaice 00020 { 00025 00038 void createInterfaceWithString( const Context & context, 00039 Ice::ObjectPtr & object, 00040 const std::string & name ); 00041 00053 void createInterfaceWithTag( const Context & context, 00054 Ice::ObjectPtr & object, 00055 const std::string & interfaceTag ); 00056 00071 void createInterfaceWithString( const Context & context, 00072 Ice::ObjectPtr & object, 00073 const std::string & name, 00074 gbxiceutilacfr::Thread* thread, const std::string& subsysName="", 00075 int retryInterval=2, int retryNumber=-1 ); 00076 00099 void createInterfaceWithTag( const Context & context, 00100 Ice::ObjectPtr & object, 00101 const std::string & interfaceTag, 00102 gbxiceutilacfr::Thread* thread, const std::string& subsysName="", 00103 int retryInterval=2, int retryNumber=-1 ); 00104 00114 // note: Context::activate() is not a const function, that's why a ref to it is not const. 00115 void activate( Context& context, 00116 gbxiceutilacfr::Thread* thread, const std::string& subsysName="", 00117 int retryInterval=2, int retryNumber=-1 ); 00118 00121 void tryRemoveInterface( orcaice::Context& context, const std::string& interfaceName ); 00122 00123 void tryRemoveInterfaceWithIdentity( orcaice::Context& context, const Ice::Identity& interfaceId ); 00124 00125 00127 00128 } // namespace 00129 00130 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)
1.4.5