|
Urbi SDK Remote for C++
2.7.5
|
#include <cstdarg>#include <typeinfo>#include <libport/cstdio>#include <libport/debug.hh>#include <boost/thread.hpp>#include <libport/containers.hh>#include <libport/foreach.hh>#include <libport/utime.hh>#include <urbi/uobject.hh>#include <urbi/ustarter.hh>#include <urbi/ucontext-factory.hh>
Go to the source code of this file.
Namespaces | |
| namespace | urbi |
Global definition of the starterlist. | |
| namespace | urbi::impl |
The interfaces UContextImpl, UVarImpl, UObjectImpl and UGenericCallbackImpl are what must be implemented to make an UObject backend. | |
Defines | |
| #define | GENERIC_TRY(Desc, Code) |
Functions | |
| GD_CATEGORY (Urbi.UObject) | |
| std::vector< std::string > | urbi::impl::listModules () |
| The list of modules that can be bound() into a UContext. | |
| static void | urbi::noop (impl::UContextImpl *) |
| impl::UContextImpl * | urbi::getCurrentContext () |
| Will be used if no context is explicitly passed. | |
| void | urbi::setCurrentContext (impl::UContextImpl *impl) |
| void | urbi::setThreadLimit (size_t nThreads) |
| Set maximum number of threads to use for threaded calls (0=unlimited). | |
| void | urbi::echo (const char *format,...) |
| echo method | |
| std::string | urbi::getFilteredHostname () |
| Return current hostname mangled to fit into an urbiscript variable name. | |
Variables | |
| static boost::thread_specific_ptr < impl::UContextImpl > current_context & | urbi::noop |
| static impl::UContextImpl * | urbi::default_context = 0 |
| #define GENERIC_TRY | ( | Desc, | |
| Code | |||
| ) |
do { \ std::string estr_; \ try \ { \ Code; \ } \ catch(const std::exception& e) \ { \ estr_ = e.what(); \ } \ catch(...) \ { \ estr_ = "unknown exception"; \ } \ if (!estr_.empty()) \ GD_SERROR("Exception " << Desc << ": " << estr_); \ } while(0)
Definition at line 292 of file uobject-common.cc.
Referenced by urbi::impl::UContextImpl::init().
| GD_CATEGORY | ( | Urbi. | UObject | ) |