Develop and Download Open Source Software

Browse CVS Repository

Contents of /satellite/neuromanager/neuromanager/DataViewContext.h

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


Revision 1.1 - (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
File MIME type: text/x-chdr
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: DataViewContext.h,v 1.8 2006/01/24 01:59:57 orrisroot Exp $ */
23
24 // DataViewContext.h : interface of the CDataViewContext class
25
26 #pragma once
27
28 class CDataViewContext
29 {
30 private:
31 UINT m_uiDataChannelSize;
32 BOOL *m_pbDataChannelVisibles;
33 double *m_pdYrangeMin;
34 double *m_pdYrangeMax;
35 public:
36 CDataViewContext();
37 virtual ~CDataViewContext();
38 private:
39 BOOL CreateContext( UINT ch ); // ch must be not zero
40 BOOL DeleteContext();
41 protected:
42 void InitializeContext( UINT ch ); // ch must be not zero
43 BOOL SetVisibleDataChannelState( UINT ch, BOOL bState ); // ch = 0~n
44 void SetDataYAxisRange( UINT ch, double ymin, double ymax ); // ch = 0~n
45 public:
46 UINT GetVisibleDataChannelSize();
47 BOOL GetVisibleDataChannelState( UINT ch ); // ch = 0~n
48 void GetDataYAxisRange( UINT ch, double &ymin, double &ymax ); // ch = 0~n
49 };

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