| 1 |
/* --------------------------------------------------------------------- */ |
| 2 |
/* NeuroManager - A spike train analysis tool */ |
| 3 |
/* Copyright (c) 2005-2006 RIKEN, Japan. All rights reserved. */ |
| 4 |
/* http://satellite.sourceforge.jp/ */ |
| 5 |
/* --------------------------------------------------------------------- */ |
| 6 |
/* This program is free software; you can redistribute it and/or */ |
| 7 |
/* modify it under the terms of the GNU General Public License */ |
| 8 |
/* as published by the Free Software Foundation; either version 2 */ |
| 9 |
/* of the License, or (at your option) any later version. */ |
| 10 |
/* */ |
| 11 |
/* This program is distributed in the hope that it will be useful, */ |
| 12 |
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */ |
| 13 |
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ |
| 14 |
/* GNU General Public License for more details. */ |
| 15 |
/* */ |
| 16 |
/* You should have received a copy of the GNU General Public License */ |
| 17 |
/* along with this program; see the file COPYING.txt. If not, write */ |
| 18 |
/* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth */ |
| 19 |
/* Floor, Boston, MA 02110-1301, USA. */ |
| 20 |
/* --------------------------------------------------------------------- */ |
| 21 |
|
| 22 |
/* $Id: PCScanData.h,v 1.7 2006/02/04 13:11:21 orrisroot Exp $ */ |
| 23 |
|
| 24 |
// PCScanData.h : interface of the CPCScanData class |
| 25 |
// |
| 26 |
|
| 27 |
#pragma once |
| 28 |
|
| 29 |
class CPCScanData : public CMultiChannelData |
| 30 |
{ |
| 31 |
private: |
| 32 |
typedef struct _channel_info |
| 33 |
{ |
| 34 |
CString m_strChannel; |
| 35 |
DWORD m_dwIndex; |
| 36 |
CString m_strLabel; |
| 37 |
CString m_strUnit; |
| 38 |
double m_dOffset; |
| 39 |
} |
| 40 |
channel_info; |
| 41 |
// log file information |
| 42 |
CString m_strLogFile; |
| 43 |
CString m_strVersion; |
| 44 |
CString m_strFormat; |
| 45 |
CString m_strVolumeCh; |
| 46 |
CString m_strFileIntvlCh; |
| 47 |
CString m_strRemarks; |
| 48 |
CArray<CPCScanData::channel_info, CPCScanData::channel_info&> m_aryChannel; |
| 49 |
CString m_strTapeBcMode; |
| 50 |
CString m_strTapeSrateCh; |
| 51 |
CString m_strDecimation; |
| 52 |
CString m_strTapeSpeed; |
| 53 |
CString m_strID; |
| 54 |
CString m_strDateTime; |
| 55 |
CString m_strCntAddress; |
| 56 |
CString m_strMemo; |
| 57 |
CString m_strTrigMode; |
| 58 |
CStringArray m_straInputRange; |
| 59 |
void InitValues(); |
| 60 |
BOOL ParseLogFileInfo( const char *fname ); |
| 61 |
virtual sl4_string_t *FormatDataInfo(); |
| 62 |
public: |
| 63 |
CPCScanData(); |
| 64 |
virtual ~CPCScanData(); |
| 65 |
virtual BOOL LoadDataFile( const char *fname ); |
| 66 |
}; |