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

 

         

utils/probe/component.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2006-2007 Alexei Makarenko
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 
00011 
00012 #ifndef COMPONENT_H
00013 #define COMPONENT_H
00014 
00015 #include <vector>
00016 #include <string>
00017 #include <orcaice/component.h>
00018 #include <hydrodll/dll.h>
00019 
00020 namespace orcaprobe
00021 {
00022     class Factory;
00023 }
00024 
00025 namespace probe
00026 {
00027 
00028 class Component : public orcaice::Component
00029 {
00030 public:
00031     Component();
00032     virtual ~Component();
00033 
00034     // component interface
00035     virtual void start();
00036     virtual void stop();
00037 
00038 private:
00039     std::vector<orcaprobe::Factory*>                  factories_;
00040     std::vector<hydrodll::DynamicallyLoadedLibrary*> libraries_;
00041 
00042     // loads all factory libs and returns a listing of unique supported interfaces
00043     std::vector<std::string> loadPluginLibraries( const std::string & factoryLibNames );
00044 };
00045 
00046 } // namespace
00047 
00048 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5