moss-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Moss-devel] CVS: moss/colpatik/include DeviceInterrupt.h,NONE,1.1 Devic


From: Manfred Morgner <address@hidden>
Subject: [Moss-devel] CVS: moss/colpatik/include DeviceInterrupt.h,NONE,1.1 DevicePoll.h,NONE,1.1 DeviceQuery.h,NONE,1.1 Device.h,1.1,1.2
Date: Fri, 03 May 2002 18:49:37 -0400

Update of /cvsroot/moss//moss/colpatik/include
In directory subversions:/tmp/cvs-serv1020/include

Modified Files:
        Device.h 
Added Files:
        DeviceInterrupt.h DevicePoll.h DeviceQuery.h 
Log Message:
added some device handler classes (frames only)


--- NEW FILE ---
/***************************************************************************
                                                                DevicePoll.h
                                                         -------------------
    begin                : Fri Mar 3 2000
    copyright            : (C) 1993..2000 by Manfred Morgner
    email                : address@hidden
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *                                                                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place Suite 330,                                            *
 *   Boston, MA  02111-1307, USA.                                          *
 *                                                                         *
 ***************************************************************************/

#ifndef __DEVICE_INTERRUPT_H
#define __DEVICE_INTERRUPT_H

#if __GNUG__ >= 2
#  pragma interface
#endif

#include <string>

#include "Device.h"

namespace dsia
  {

  class CDeviceInterrupt : public CDevice
        {
        protected:
          time_t m_dTime; // system time
        
        public:
                           CDeviceInterrupt(std::string sURI = "");
          virtual ~CDeviceInterrupt();
          
        protected:

        } // class CDeviceInterrupt

  } // namespace dsia
  
#endif //  __DEVICE_INTERRUPT_H

--- NEW FILE ---
/***************************************************************************
                                                                DevicePoll.h
                                                         -------------------
    begin                : Fri Mar 3 2000
    copyright            : (C) 1993..2000 by Manfred Morgner
    email                : address@hidden
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *                                                                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place Suite 330,                                            *
 *   Boston, MA  02111-1307, USA.                                          *
 *                                                                         *
 ***************************************************************************/

#ifndef __DEVICE_POLL_H
#define __DEVICE_POLL_H

#if __GNUG__ >= 2
#  pragma interface
#endif

#include <string>

#include "Device.h"

namespace dsia
  {

  class CDevicePoll : public CDevice
        {
        protected:
          double m_dIntervall; // in ms
        
        public:
                           CDevicePoll(std::string sURI = "");
          virtual ~CDevicePoll();
          
        protected:

        } // class CDevicePoll

  } // namespace dsia
  
#endif //  __DEVICE_POLL_H

--- NEW FILE ---
/***************************************************************************
                                                                DevicePoll.h
                                                         -------------------
    begin                : Fri Mar 3 2000
    copyright            : (C) 1993..2000 by Manfred Morgner
    email                : address@hidden
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *                                                                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place Suite 330,                                            *
 *   Boston, MA  02111-1307, USA.                                          *
 *                                                                         *
 ***************************************************************************/

#ifndef __DEVICE_QUERY_H
#define __DEVICE_QUERY_H

#if __GNUG__ >= 2
#  pragma interface
#endif

#include <string>

#include "Device.h"

namespace dsia
  {

  class CDeviceQuery : public CDevice
        {
        protected:
          double m_dTimeout; // in ms
        
        public:
                           CDeviceQuery(std::sURI = "");
          virtual ~CDeviceQuery();
          
        protected:

        } // class CDeviceQuery

  } // namespace dsia
  
#endif //  __DEVICE_QUERY_H

Index: Device.h
===================================================================
RCS file: /cvsroot/moss//moss/colpatik/include/Device.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Device.h    3 May 2002 22:13:02 -0000       1.1
--- Device.h    3 May 2002 22:49:34 -0000       1.2
***************
*** 1,4 ****
  /***************************************************************************
!                                                                 device.h
                                                         -------------------
      begin                : Fri Mar 3 2000
--- 1,4 ----
  /***************************************************************************
!                                                                 Device.h
                                                         -------------------
      begin                : Fri Mar 3 2000
***************
*** 46,50 ****
        
        public:
!                          CDevice(std::sURI = "");
          virtual ~CDevice();
          
--- 46,50 ----
        
        public:
!                          CDevice(std::string sURI = "");
          virtual ~CDevice();
          




reply via email to

[Prev in Thread] Current Thread [Next in Thread]