Develop and Download Open Source Software

Browse CVS Repository

Contents of /satellite/neuromanager/NeuroManagerDoc.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.15 - (show annotations) (download) (as text)
Sat Feb 4 13:38:16 2006 UTC (18 years, 2 months ago) by orrisroot
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
File MIME type: text/x-chdr
FILE REMOVED
moved main application sources to neuromanager directory.

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: NeuroManagerDoc.h,v 1.14 2006/01/24 01:59:57 orrisroot Exp $ */
23
24 // NeuroManagerDoc.h : interface of the CNeuroManagerDoc class
25 //
26
27 // data class
28 #include "MultiChannelData.h"
29 #include "PCScanData.h"
30
31 #pragma once
32
33 class CNeuroManagerDoc : public CDocument
34 {
35 protected:
36 // create from serialization only
37 CNeuroManagerDoc();
38 DECLARE_DYNCREATE( CNeuroManagerDoc )
39
40 // Attributes
41 public:
42
43 // Operations
44 public:
45
46 // Overrides
47 public:
48 virtual BOOL OnNewDocument();
49 virtual void Serialize( CArchive& ar );
50
51 // Implementation
52 public:
53 virtual ~CNeuroManagerDoc();
54 #ifdef _DEBUG
55
56 virtual void AssertValid() const;
57 virtual void Dump( CDumpContext& dc ) const;
58 #endif
59
60 protected:
61
62 // Generated message map functions
63 protected:
64 DECLARE_MESSAGE_MAP()
65 private:
66 // Data file name
67 CString m_strFileName;
68 CMultiChannelData *m_pData;
69 public:
70 // get data name
71 CString getFileName() const;
72 virtual BOOL OnOpenDocument( LPCTSTR lpszPathName );
73 virtual BOOL OnSaveDocument( LPCTSTR lpszPathName );
74 BOOL IsMapped() const;
75 void AttachData( UINT ch ) const;
76 void DetachData() const;
77 double GetData( QWORD pos ) const;
78 double GetYAxisRange( UINT ch ) const;
79 double GetSamplingRate() const;
80 double GetPosTime( QWORD pos ) const;
81 UINT GetChannelNumber() const;
82 QWORD GetDataLength() const;
83 UINT GetBitLength() const;
84 BOOL GetByteSwap() const;
85 };

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26