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

 

         

orcaifaceimpl Namespace Reference

Basic implimentation of common interfaces. More...


Classes

class  BufferedConsumerImpl
class  ButtonImpl
class  CameraImpl
class  ConsumerSubscriber
class  ConsumerImpl
class  DriveBicycleImpl
class  EStopNonStandardImpl
 EStopImpl needs a pointer to a class implementing these. More...
class  EStopImpl
class  FeatureMap2dImpl
class  GpsImpl
class  ImageImpl
class  ImuImpl
class  InsImpl
class  LaserScanner2dImpl
class  Localise2dImpl
class  Localise3dImpl
class  NotifyingConsumerImpl
class  Odometry2dImpl
class  Odometry3dImpl
class  OgMapImpl
class  Particle2dImpl
class  PathFollower2dImpl
class  PixMapImpl
class  PolarFeature2dImpl
class  PowerImpl
class  PrintingConsumerImpl
 A convenience class for consumers with setData() operation. More...
class  PropertiesImpl
class  QGraphics2dImpl
class  RangeScanner2dImpl
class  StoringConsumerImpl
class  VelocityControl2dImpl
class  WifiImpl

Typedefs

typedef BufferedConsumerImpl<
orca::RangeScanner2dPrx,
orca::RangeScanner2dConsumer,
orca::RangeScanner2dConsumerPrx,
orca::RangeScanner2dDataPtr > 
BufferedRangeScanner2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::Localise2dPrx, orca::Localise2dConsumer,
orca::Localise2dConsumerPrx,
orca::Localise2dData
BufferedLocalise2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::Localise3dPrx, orca::Localise3dConsumer,
orca::Localise3dConsumerPrx,
orca::Localise3dData
BufferedLocalise3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::Odometry2dPrx, orca::Odometry2dConsumer,
orca::Odometry2dConsumerPrx,
orca::Odometry2dData
BufferedOdometry2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::Odometry3dPrx, orca::Odometry3dConsumer,
orca::Odometry3dConsumerPrx,
orca::Odometry3dData
BufferedOdometry3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::DriveBicyclePrx, orca::DriveBicycleConsumer,
orca::DriveBicycleConsumerPrx,
orca::DriveBicycleData
BufferedDriveBicycleConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::OgMapPrx, orca::OgMapConsumer,
orca::OgMapConsumerPrx, orca::OgMapData
BufferedOgMapConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::GpsPrx, orca::GpsConsumer,
orca::GpsConsumerPrx, orca::GpsData
BufferedGpsConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef BufferedConsumerImpl<
orca::CameraPrx, orca::CameraConsumer,
orca::CameraConsumerPrx,
orca::CameraDataSequence > 
BufferedCameraConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::RangeScanner2dPrx,
orca::RangeScanner2dConsumer,
orca::RangeScanner2dConsumerPrx,
orca::RangeScanner2dDataPtr > 
NotifyingRangeScanner2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::Localise2dPrx, orca::Localise2dConsumer,
orca::Localise2dConsumerPrx,
orca::Localise2dData
NotifyingLocalise2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::Localise3dPrx, orca::Localise3dConsumer,
orca::Localise3dConsumerPrx,
orca::Localise3dData
NotifyingLocalise3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::Odometry2dPrx, orca::Odometry2dConsumer,
orca::Odometry2dConsumerPrx,
orca::Odometry2dData
NotifyingOdometry2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::Odometry3dPrx, orca::Odometry3dConsumer,
orca::Odometry3dConsumerPrx,
orca::Odometry3dData
NotifyingOdometry3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::DriveBicyclePrx, orca::DriveBicycleConsumer,
orca::DriveBicycleConsumerPrx,
orca::DriveBicycleData
NotifyingDriveBicycleConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::OgMapPrx, orca::OgMapConsumer,
orca::OgMapConsumerPrx, orca::OgMapData
NotifyingOgMapConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::GpsPrx, orca::GpsConsumer,
orca::GpsConsumerPrx, orca::GpsData
NotifyingGpsConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::PolarFeature2dPrx,
orca::PolarFeature2dConsumer,
orca::PolarFeature2dConsumerPrx,
orca::PolarFeature2dData
NotifyingPolarFeature2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef NotifyingConsumerImpl<
orca::PropertiesPrx, orca::PropertiesConsumer,
orca::PropertiesConsumerPrx,
orca::PropertiesData
NotifyingPropertiesConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::RangeScanner2dPrx,
orca::RangeScanner2dConsumer,
orca::RangeScanner2dConsumerPrx,
orca::RangeScanner2dDataPtr > 
PrintingRangeScanner2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::Localise2dPrx, orca::Localise2dConsumer,
orca::Localise2dConsumerPrx,
orca::Localise2dData
PrintingLocalise2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::Localise3dPrx, orca::Localise3dConsumer,
orca::Localise3dConsumerPrx,
orca::Localise3dData
PrintingLocalise3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::Odometry2dPrx, orca::Odometry2dConsumer,
orca::Odometry2dConsumerPrx,
orca::Odometry2dData
PrintingOdometry2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::Odometry3dPrx, orca::Odometry3dConsumer,
orca::Odometry3dConsumerPrx,
orca::Odometry3dData
PrintingOdometry3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::DriveBicyclePrx, orca::DriveBicycleConsumer,
orca::DriveBicycleConsumerPrx,
orca::DriveBicycleData
PrintingDriveBicycleConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::OgMapPrx, orca::OgMapConsumer,
orca::OgMapConsumerPrx, orca::OgMapData
PrintingOgMapConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef PrintingConsumerImpl<
orca::GpsPrx, orca::GpsConsumer,
orca::GpsConsumerPrx, orca::GpsData
PrintingGpsConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::RangeScanner2dPrx,
orca::RangeScanner2dConsumer,
orca::RangeScanner2dConsumerPrx,
orca::RangeScanner2dDataPtr > 
StoringRangeScanner2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::Localise2dPrx, orca::Localise2dConsumer,
orca::Localise2dConsumerPrx,
orca::Localise2dData
StoringLocalise2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::Localise3dPrx, orca::Localise3dConsumer,
orca::Localise3dConsumerPrx,
orca::Localise3dData
StoringLocalise3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::Odometry2dPrx, orca::Odometry2dConsumer,
orca::Odometry2dConsumerPrx,
orca::Odometry2dData
StoringOdometry2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::Odometry3dPrx, orca::Odometry3dConsumer,
orca::Odometry3dConsumerPrx,
orca::Odometry3dData
StoringOdometry3dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::DriveBicyclePrx, orca::DriveBicycleConsumer,
orca::DriveBicycleConsumerPrx,
orca::DriveBicycleData
StoringDriveBicycleConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::OgMapPrx, orca::OgMapConsumer,
orca::OgMapConsumerPrx, orca::OgMapData
StoringOgMapConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::GpsPrx, orca::GpsConsumer,
orca::GpsConsumerPrx, orca::GpsData
StoringGpsConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::PathPlanner2dPrx, orca::PathPlanner2dConsumer,
orca::PathPlanner2dConsumerPrx,
orca::PathPlanner2dData
StoringPathPlanner2dConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.
typedef StoringConsumerImpl<
orca::PropertiesPrx, orca::PropertiesConsumer,
orca::PropertiesConsumerPrx,
orca::PropertiesData
StoringPropertiesConsumerImpl
 Typedef for a common interface type. There's also a corresponding Ptr.

Functions

void tryRemoveInterface (orcaice::Context &context, const std::string &interfaceName)
std::string getInterfaceNameFromTag (const orcaice::Context &context, const std::string &interfaceTag)
std::string getTopicNameFromInterfaceName (const orcaice::Context &context, const std::string &interfaceTag)
 Convenience function for interfaceName->topicName conversion.
template<class ConsumerPrxType, class DataType>
void tryPushToIceStormWithReconnect (orcaice::Context &context, ConsumerPrxType &consumerPrx, const DataType &data, IceStorm::TopicPrx &topicPrx, const std::string &interfaceName, const std::string &topicName)


Detailed Description

Basic implimentation of common interfaces.

This namespace is part of a library which provides basic implementations of common Orca interfaces.

See also:
libOrcaIfaceImpl


Function Documentation

std::string orcaifaceimpl::getInterfaceNameFromTag const orcaice::Context context,
const std::string &  interfaceTag
 

Convenience function for tag->name conversion (may throw ConfigFileException)

template<class ConsumerPrxType, class DataType>
void orcaifaceimpl::tryPushToIceStormWithReconnect orcaice::Context context,
ConsumerPrxType &  consumerPrx,
const DataType &  data,
IceStorm::TopicPrx &  topicPrx,
const std::string &  interfaceName,
const std::string &  topicName
 

Tries to push to IceStorm. If fails tries to reconnect to IceStorm once. If reconnects successfully, pushes the data, if not, ignores the problem until the next time. Catches all exceptions.

Works only for ConsumerPrxType which has a function setData( DataType ). For non-standard consumers, copy and modify this implementation. (In this case you probably do not need this function to be templated).

void orcaifaceimpl::tryRemoveInterface orcaice::Context context,
const std::string &  interfaceName
 

Remove the interface from the adapter if possible. If something goes wrong, fails silently.

 

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


Generated for Orca Robotics by  doxygen 1.4.5