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

 

         

pingerI.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2009 Alex Brooks
00005  *
00006  * This copy of Orca is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010 #ifndef __pingerI_h__
00011 #define __pingerI_h__
00012 
00013 // include provided interfaces
00014 #include <orca/pinger.h>
00015 #include <orcaice/context.h>
00016 
00017 namespace hydroping {
00018     class Pinger;
00019 }
00020 
00021 namespace pingserver {
00022 
00023 class PingerI : public orca::Pinger
00024 {
00025 public:
00026 
00027     PingerI( const std::string      &ifaceTag,
00028              const orcaice::Context &context );
00029     ~PingerI();
00030 
00031     // Remote calls, defined in orca::Pinger
00032     virtual double ping( const std::string &host, const Ice::Current& );
00033 
00034     // local calls
00035     void initInterface();
00036 
00037 private:
00038 
00039     // Does the work
00040     hydroping::Pinger *pinger_;
00041 
00042     std::string ifaceTag_;
00043     orcaice::Context context_;
00044 };
00045 
00046 typedef IceUtil::Handle<PingerI> PingerIPtr;
00047 
00048 }
00049 
00050 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5