Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

LOW_devDS2401.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                           LOW_devDS2401.cpp  -  description
00003                              -------------------
00004     begin                : Sat Nov 8 2003
00005     copyright            : (C) 2003 by Harald Roelle
00006     email                : roelle@informatik.uni-muenchen.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #include "LOW_devDS2401.h"
00019 #include "LOW_deviceFactory.h"
00020 
00021 
00022 
00023 //=====================================================================================
00024 //
00025 // static initializer
00026 //
00027 
00028 const std::string LOW_devDS2401::familyName = "DS2401";
00029 
00030 int LOW_devDS2401::initHelper = initialize();
00031 int LOW_devDS2401::initialize()
00032 {
00033   LOW_deviceFactory::registerSpecificCtor( familyCode, &LOW_devDS2401::new_Instance);
00034   return 0;
00035 }
00036 
00037 
00038 
00039 //=====================================================================================
00040 //
00041 // static methods
00042 //
00043 
00044 LOW_device* LOW_devDS2401::new_Instance( LOW_netSegment &inNetSegment, const LOW_deviceID &inDevID)
00045 {
00046   return new LOW_devDS2401( inNetSegment, inDevID);
00047 }
00048 
00049 
00050 
00051 //=====================================================================================
00052 //
00053 // public constructors
00054 //
00055 
00056 LOW_devDS2401::LOW_devDS2401( LOW_netSegment &inSegment, const LOW_deviceID &inDevID) :
00057   LOW_device( inSegment, inDevID, familyCode)
00058 {
00059 }
00060 
00061 
00062 LOW_devDS2401::~LOW_devDS2401()
00063 {
00064 }

Generated on Tue Feb 3 11:30:25 2004 for OneWireLibrary++ by doxygen 1.3.2