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

 

         

types.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_TYPES_H
00012 #define ORCACM_TYPES_H
00013 
00014 #include <vector>
00015 #include <string>
00016 #include <Ice/BuiltinSequences.h>
00017 #include <orca/orca.h>
00018 
00019 namespace orcacm
00020 {
00021 
00023 struct ResultHeader
00024 {
00026     std::string name;
00028     std::string text;
00029 };
00030 
00033 struct OperationHeader
00034 {
00036     std::string name;
00038     std::string signature;
00039 };
00040 
00043 struct OperationData
00044 {
00046     std::string locatorString;
00048     orca::FQInterfaceName parent;
00050     std::string parentId;
00052     std::string name;
00055     std::vector<ResultHeader> results;
00056 };
00057 
00060 struct ProvidesHeader
00061 {
00063     std::string name;
00065     std::string id;
00067     bool isReachable;
00068 };
00069 
00072 struct RequiresHeader
00073 {
00075     orca::FQInterfaceName name;
00077     std::string id;
00079     bool isReachable;
00080 };
00081 
00084 struct InterfaceData
00085 {
00087     std::string locatorString;
00089     orca::FQInterfaceName name;
00091     std::string id;
00093     std::vector<OperationHeader> operations;
00094 };
00095 
00098 struct ComponentHeader
00099 {
00101     orca::FQComponentName name;
00103     bool isReachable;
00105     std::string address;
00106 };
00107 
00110 struct ComponentData
00111 {
00113     std::string locatorString;
00115     std::string adminAddress;
00117     orca::FQComponentName name;
00119     bool isReachable;
00121     std::string address;
00123     int timeUp;
00125     std::vector<ProvidesHeader> provides;
00127     std::vector<RequiresHeader> requires;
00128 };
00129 
00132 struct PlatformHeader
00133 {
00135     std::string name;
00136 };
00137 
00140 struct PlatformData
00141 {
00143     std::string locatorString;
00145     std::string adminAddress;
00147     std::string name;
00149     std::vector<ComponentHeader> components;
00150 };
00151 
00153 struct HomeHeader
00154 {
00156     Ice::ObjectPrx proxy;
00158     bool isReachable;
00160     std::string address;
00161 };
00162 
00164 struct RegistryFlatData
00165 {
00167     std::string locatorString;
00169     std::string address;
00171     bool isReachable;
00173     std::vector<ComponentHeader> adapters;
00174 };
00175 
00177 struct RegistryHierarchicalData1
00178 {
00180     std::string locatorString;
00182     std::string address;
00184     bool isReachable;
00186     std::vector<PlatformHeader> platforms;
00187 };
00188 
00190 struct RegistryHierarchicalData2
00191 {
00193     std::string locatorString;
00195     std::string address;
00197     bool isReachable;
00199     PlatformHeader platform;
00201     std::vector<HomeHeader> homes;
00202 };
00203 
00205 struct RegistryHomeData
00206 {
00208     std::string locatorString;
00210     std::string address;
00212     bool isReachable;
00214     std::vector<HomeHeader> homes;
00215 };
00216 
00217 } // namespace
00218 
00219 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5