/home/jpf/code/cc/project/cmil/src/InputData.cpp

Go to the documentation of this file.
00001 // =====================================================================================
00002 //       Filename:  InputData.cpp 
00003 //    Description:  
00004 //        Created:  02/15/2007 08:47:46 PM EST
00005 //       Revision:  none
00006 //       Compiler:  gcc 3.4.6
00007 // 
00008 //         Author:  John P. Feltz 
00009 //          Email:  jfeltz@gmail.com
00010 //        License:  Copyright (c) 2006-2007, John P. Feltz 
00011 //                  This program is free software; you can redistribute it and/or 
00012 //                  modify it under the terms of the GNU General Public License as
00013 //                  published by the Free Software Foundation, version 2 of the
00014 //                  License.
00015 //                  This program is distributed in the hope that it will be
00016 //                  useful, but WITHOUT ANY WARRANTY; without even the implied
00017 //                  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018 //                  PURPOSE.
00019 //                  See the GNU General Public License version 2 for more details.
00020 // 
00021 // =====================================================================================
00022 
00023 #include <iostream>
00024 #include <vector>
00025 
00026 #include <util/Singleton.h>
00027 #include <util/Logger.h>
00028 
00029 #include <InputAction.h>
00030 #include <InputData.h>
00031 #include <InputEv.h>
00032 
00033 namespace cmil {
00034   std::string InputData::getName() const {
00035     return m_name;
00036   } 
00037 
00038   Ev InputData::createEv() const {
00040     return Ev(m_num_device, m_device, m_name);
00041   } 
00042 }

(c) 2006-2007 John P. Feltz
Generated on Wed Jul 25 16:08:02 2007 for Common Media Input Layer by doxygen 1.4.7

SourceForge.net Logo