TOBI SignalServer  0.1
/home/breidi/Dropbox/signalserver/src/filereading/data_file_handler.cpp
Go to the documentation of this file.
00001 /*
00002     This file is part of the TOBI SignalServer.
00003 
00004     Commercial Usage
00005     Licensees holding valid Graz University of Technology Commercial
00006     licenses may use this file in accordance with the Graz University
00007     of Technology Commercial License Agreement provided with the
00008     Software or, alternatively, in accordance with the terms contained in
00009     a written agreement between you and Graz University of Technology.
00010 
00011     --------------------------------------------------
00012 
00013     GNU General Public License Usage
00014     Alternatively, this file may be used under the terms of the GNU
00015     General Public License version 3.0 as published by the Free Software
00016     Foundation and appearing in the file gpl.txt included in the
00017     packaging of this file.  Please review the following information to
00018     ensure the GNU General Public License version 3.0 requirements will be
00019     met: http://www.gnu.org/copyleft/gpl.html.
00020 
00021     In case of GNU General Public License Usage ,the TOBI SignalServer
00022     is distributed in the hope that it will be useful,
00023     but WITHOUT ANY WARRANTY; without even the implied warranty of
00024     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00025     GNU General Public License for more details.
00026 
00027     You should have received a copy of the GNU General Public License
00028     along with the TOBI SignalServer. If not, see <http://www.gnu.org/licenses/>.
00029 
00030     Copyright 2010 Graz University of Technology
00031     Contact: SignalServer@tobi-project.org
00032 */
00033 
00038 #include "filereading/data_file_handler.h"
00039 
00040 namespace tobiss
00041 {
00042 using std::cout;
00043 using std::endl;
00044 
00045 //using boost::uint8_t;
00046 //using boost::uint16_t;
00047 //using boost::uint32_t;
00048 //
00049 //using boost::lexical_cast;
00050 //using boost::bad_lexical_cast;
00051 
00052 //-----------------------------------------------------------------------------
00053 
00054 //DataFileHandler::DataFileHandler(boost::asio::io_service& io, std::map<std::string, std::string> config)
00055 //  :io_service_(io), config_(config), td_(0)
00056 //{
00057 //
00058 //  // check config (file present)
00059 //
00060 //  // get Object from FileFactory
00061 //  // set configuration
00062 //
00063 //}
00064 
00065 //-----------------------------------------------------------------------------
00066 
00067 void DataFileHandler::run()
00068 {
00069   #ifdef DEBUG
00070     cout << "FileReader: run" << endl;
00071   #endif
00072 
00073 }
00074 
00075 
00076 //-----------------------------------------------------------------------------
00077 
00078 void DataFileHandler::stop()
00079 {
00080   #ifdef DEBUG
00081     cout << "FileReader: stop" << endl;
00082   #endif
00083 
00084 }
00085 
00086 //-----------------------------------------------------------------------------
00087 
00088 DataPacket DataFileHandler::getDataPacket()
00089 {
00090   #ifdef DEBUG
00091     cout << "FileReader: getSyncData" << endl;
00092   #endif
00093 
00094   DataPacket packet;
00095 
00096   return(packet);
00097 }
00098 
00099 
00100 
00101 //-----------------------------------------------------------------------------
00102 
00103 void DataFileHandler::readSamples()
00104 {
00105   #ifdef DEBUG
00106     cout << "FileReader: readSamples" << endl;
00107   #endif
00108 
00109 }
00110 
00111 //-----------------------------------------------------------------------------
00112 
00113 } // Namespace tobiss
 All Data Structures Files Functions Variables