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

SourceForge.net Logo
Project
Download
Mailing lists

 

         

orcacm/utils.h

00001 /*
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 ORCACM_COMPONENT_MODEL_LOOKUP_UTILITIES_H
00012 #define ORCACM_COMPONENT_MODEL_LOOKUP_UTILITIES_H
00013 
00014 #include <orcaice/context.h>
00015 #include <orcacm/types.h>
00016 
00017 namespace orcacm
00018 {
00023 
00027 bool
00028 pingObject( const orcaice::Context& context, const std::string& objectId );
00029 
00031 bool 
00032 pingAdminObject( const orcaice::Context& context, const std::string& adminId, const std::string& facetName );
00033 
00046 RegistryHomeData
00047 getRegistryHomeData( const orcaice::Context& context, const std::string& locatorString, bool tryToPing=true );
00048 
00057 ComponentData
00058 getComponentData( const orcaice::Context& context, const orca::FQComponentName& component );
00059 
00060 ComponentData
00061 getComponentHomeData( const orcaice::Context& context, const Ice::ObjectPrx& home );
00062 
00066 ComponentData
00067 getComponentData( const orcaice::Context& context, const std::string& adapterId );
00068 
00073 ProvidesHeader
00074 getProvidesHeader( const orcaice::Context& context, const orca::FQInterfaceName& fqName );
00075 
00082 ProvidesHeader
00083 getAdminProvidesHeader( const Ice::ObjectPrx& homePrx, const orca::FQInterfaceName& fqName );
00084 
00085 
00090 RequiresHeader
00091 getRequiresHeader( const orcaice::Context& context, const orca::FQInterfaceName& fqName );
00092 
00093 RegistryHierarchicalData1
00094 home2hierarch1( const RegistryHomeData& registryHomeData );
00095 
00096 RegistryHierarchicalData2
00097 home2hierarch2( const RegistryHomeData& registryHomeData, const PlatformHeader& platform, 
00098                 bool tryToPing=true, int tracePing=0 );
00099 
00101 } // namespace
00102 
00103 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5