Ignore:
Timestamp:
Feb 24, 2012, 12:37:36 PM (12 years ago)
Author:
frichard
Message:

-Alignement des antennes
-Version 0.0.9 de libindi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/libindi/libindi/libs/indibase/baseclient.h

    r504 r642  
     1/*******************************************************************************
     2  Copyright(c) 2011 Jasem Mutlaq. All rights reserved.
     3
     4 This library is free software; you can redistribute it and/or
     5 modify it under the terms of the GNU Library General Public
     6 License version 2 as published by the Free Software Foundation.
     7
     8 This library is distributed in the hope that it will be useful,
     9 but WITHOUT ANY WARRANTY; without even the implied warranty of
     10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     11 Library General Public License for more details.
     12
     13 You should have received a copy of the GNU Library General Public License
     14 along with this library; see the file COPYING.LIB.  If not, write to
     15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
     16 Boston, MA 02110-1301, USA.
     17*******************************************************************************/
     18
    119#ifndef INDIBASECLIENT_H
    220#define INDIBASECLIENT_H
     
    422#include <vector>
    523#include <map>
    6 #include <boost/shared_ptr.hpp>
    724#include <string>
    825
     
    2643   \attention All notifications functions defined in INDI::BaseMediator must be implemented in the client class even if
    2744   they are not used because these are pure virtual functions.
     45
     46   \see <a href=http://indilib.org/index.php?title=Learn_how_to_write_INDI_clients>INDI Client Tutorial</a> for more details.
    2847   \author Jasem Mutlaq
    2948
     
    3352public:
    3453    enum { INDI_DEVICE_NOT_FOUND=-1, INDI_PROPERTY_INVALID=-2, INDI_PROPERTY_DUPLICATED = -3, INDI_DISPATCH_ERROR=-4 };
    35     typedef boost::shared_ptr<INDI::BaseDriver> devicePtr;
     54    //typedef boost::shared_ptr<INDI::BaseDriver> devicePtr;
    3655
    3756    BaseClient();
     
    82101    /** \returns Returns a vector of all devices created in the client.
    83102    */
    84     const vector<devicePtr> & getDrivers() const { return cDevices; }
     103    const vector<INDI::BaseDriver *> & getDrivers() const { return cDevices; }
    85104
    86105    /** \brief Set Binary Large Object policy mode
     
    152171    pthread_t listen_thread;
    153172
    154     vector<devicePtr> cDevices;
     173    vector<INDI::BaseDriver *> cDevices;
    155174    vector<string> cDeviceNames;
    156175
Note: See TracChangeset for help on using the changeset viewer.