|
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
|
|
|
orcacm Namespace ReferenceUtilities for navigating the Orca Component Model (OCM).
More...
Detailed Description
Utilities for navigating the Orca Component Model (OCM).
This namespace is part of a library which helps navigate the Orca Component Model (OCM).
- See also:
- libOrcaCompModel
Function Documentation
|
Connects to Home interface of the specified component and gets its deployment and interface information. If connection fails for some reason, isReachable field of ComponentData is set to FALSE.
If you already have an instance of RegistryData, do this: getComponentData( context, registryData.adapters[i].name ) |
|
Convenience function, behaves like the one above. |
|
Tries to connect to the specified interface and, if successful, gets its ID. If connection fails for some reason, the Object ID is set to "unknown". |
|
Connects to IceGrid/Query interface of the specified registry and gets the list of objects of type orca::Home. If connection fails for some reason, isReachable field of RegistryData is set to FALSE.
When using the default registry, you can obtain the locatorString like this: communicator()->getDefaultLocator()->ice_toString()
If tryToPing is TRUE (default), the function attempts to ping each Home object. Otherwise it doesn't and the isReachable field for each Home is set to TRUE; |
|
Tries to connect to the specified interface and, if successful, gets its ID. If connection fails for some reason, the Object ID is set to "unknown". |
bool orcacm::pingObject |
( |
const orcaice::Context & |
context, |
|
|
const std::string & |
objectId |
|
) |
|
|
|
Attempts to ping the well-known object with specified identity. Returns TRUE if successful. |
std::string orcacm::stringToIceGridInstanceName |
( |
const std::string & |
s |
) |
|
|
|
Parses the stringified proxy of an IceGrid well-known object, e.g. MyGrid/Locator and extracts just the IceGrid Instance Name, e.g. MyGrid. |
|
|