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::ConsumerSubscriber Class Reference

#include <consumerImpl.h>

Inherited by orcaifaceimpl::ConsumerImpl< ProviderPrxType, ConsumerType, ConsumerPrxType, ObjectType >.

Inheritance diagram for orcaifaceimpl::ConsumerSubscriber:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void subscribeWithString (const std::string &proxyString)=0
virtual void unsubscribeWithString (const std::string &proxyString)=0
virtual void subscribeWithTag (const std::string &interfaceTag)=0
 Same as subscribeWithString() but the interface is looked up using the config file and tag interfaceTag.
virtual void unsubscribeWithTag (const std::string &interfaceTag)=0
 Same as unsubscribeWithString() but the interface is looked up using the config file and tag interfaceTag.
virtual void subscribeWithString (const std::string &proxyString, gbxsickacfr::gbxiceutilacfr::Thread *thread, const std::string &subsysName="", int retryInterval=2, int retryNumber=-1)=0
virtual void subscribeWithTag (const std::string &interfaceTag, gbxsickacfr::gbxiceutilacfr::Thread *thread, const std::string &subsysName="", int retryInterval=2, int retryNumber=-1)=0

Detailed Description

Functionality which end users needs to know about when telling the ConsumerImpl class class to subscribe to data provider. Because this class is not templated it is possible to have a generic pointer to ConsumerImpl regardless of template parameters.


Member Function Documentation

virtual void orcaifaceimpl::ConsumerSubscriber::subscribeWithString const std::string &  proxyString,
gbxsickacfr::gbxiceutilacfr::Thread *  thread,
const std::string &  subsysName = "",
int  retryInterval = 2,
int  retryNumber = -1
[pure virtual]
 

Tries to connect to remote interface with stringified proxy proxyString. Will try to connect retryNumber number of times (-1 means infinite), waiting for retryInterval [s] after each attempt. If succesful, tries to subscribe for data using the internal consumer interface. Catches appropriate exceptions. DOCUMENT!

Implemented in orcaifaceimpl::ConsumerImpl< ProviderPrxType, ConsumerType, ConsumerPrxType, ObjectType >.

virtual void orcaifaceimpl::ConsumerSubscriber::subscribeWithString const std::string &  proxyString  )  [pure virtual]
 

Tries to connect to remote interface with stringified proxy proxyString. If succesful, tries to subscribe for data using the internal consumer interface. Does not catch any exceptions.

Implemented in orcaifaceimpl::ConsumerImpl< ProviderPrxType, ConsumerType, ConsumerPrxType, ObjectType >.

virtual void orcaifaceimpl::ConsumerSubscriber::subscribeWithTag const std::string &  interfaceTag,
gbxsickacfr::gbxiceutilacfr::Thread *  thread,
const std::string &  subsysName = "",
int  retryInterval = 2,
int  retryNumber = -1
[pure virtual]
 

Same as the threaded version of subscribeWithString() but the interface is looked up using the config file and tag interfaceTag.

Implemented in orcaifaceimpl::ConsumerImpl< ProviderPrxType, ConsumerType, ConsumerPrxType, ObjectType >.

virtual void orcaifaceimpl::ConsumerSubscriber::unsubscribeWithString const std::string &  proxyString  )  [pure virtual]
 

Tries to connect to remote interface with stringified proxy proxyString. If succesful, tries to unsubscribe the internal consumer interface. Does not catch any exceptions.

Implemented in orcaifaceimpl::ConsumerImpl< ProviderPrxType, ConsumerType, ConsumerPrxType, ObjectType >.


The documentation for this class was generated from the following file:
 

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


Generated for Orca Robotics by  doxygen 1.4.5