INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

orcaifaceimpl::BinarySwitchImpl Class Reference

#include <binaryswitchImpl.h>

List of all members.

Public Member Functions

 BinarySwitchImpl (AbstractBinarySwitchCallback &callback, const std::string &interfaceTag, const orcaice::Context &context)
 Constructor using interfaceTag (may throw ConfigFileException).
 BinarySwitchImpl (AbstractBinarySwitchCallback &callback, const orcaice::Context &context, const std::string &interfaceName)
 constructor using interfaceName
void initInterface ()
 may throw gbxutilacfr::Exceptions
void initInterface (gbxutilacfr::Stoppable *activity, const std::string &subsysName="", int retryInterval=2)
void localSet (const orca::BinarySwitchData &data)
 A local call which sets the data reported by the interface.
void localSetAndSend (const orca::BinarySwitchData &data)

Detailed Description

Implements the BinarySwitchIface interface: Handles remote calls.


Member Function Documentation

void orcaifaceimpl::BinarySwitchImpl::initInterface ( gbxutilacfr::Stoppable *  activity,
const std::string &  subsysName = "",
int  retryInterval = 2 
)

Sets up interface and connects to IceStorm. Catches all exceptions and retries until sucessful. At every iteration, checks if the activity (e.g. thread) was stopped.

References orcaice::createInterfaceWithString().

void orcaifaceimpl::BinarySwitchImpl::localSetAndSend ( const orca::BinarySwitchData &  data  ) 

A local call which sets the data reported by the interface, and sends it through IceStorm


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

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


Generated for Orca Robotics by  doxygen 1.4.5