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

 

         

orcaice::Service Class Reference

Base class to use when putting Orca components into an IceBox. More...

#include <service.h>

Inherited by TestService, and TestService.

List of all members.

Public Member Functions

 Service ()
virtual void start (const ::std::string &name, const Ice::CommunicatorPtr &communicator, const Ice::StringSeq &args)
virtual void stop ()
 Implements virtual function called by IceBox on shut-down.


Detailed Description

Base class to use when putting Orca components into an IceBox.

This is a thin wrapper for the IceBox::Service class. It specializes it by adding a few small Orca conventions, such as starting a single adapter for the component.

It runs the single orcaice::Component. The pointer to it must be set from the derived class before start is called. The destructor deletes the component, so the derived classes don't have to.

Author:
Alex Brooks
See also:
Application, Component


Constructor & Destructor Documentation

orcaice::Service::Service  ) 
 

Unlike in Application, the communicator is created before the service is started.


Member Function Documentation

void orcaice::Service::start const ::std::string &  name,
const Ice::CommunicatorPtr &  communicator,
const Ice::StringSeq &  args
[virtual]
 

Implements virtual function called by IceBox on start-up. Input parameters name and args come from the service configuration line of the IceBox config file (the line which specifies create entry point ).


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