Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/sbig/archive/xmccd-4.1/xmccd-4.1e/libapogee/src/ApnFilterWheel.i
Дата изменения: Sun Jan 13 21:58:27 2008
Дата индексирования: Thu Feb 27 22:45:21 2014
Кодировка:

Поисковые слова: рер р р р р р р р р р т т т т
// ApnFilterWheel.h: interface for the CApnFilterWheel class.
//
// Copyright (c) 2007 Apogee Instruments, Inc.
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_APNFILTERWHEEL_H__6B02FF9C_AB8E_4488_A166_04C6B378E35E__INCLUDED_)
#define AFX_APNFILTERWHEEL_H__6B02FF9C_AB8E_4488_A166_04C6B378E35E__INCLUDED_


#include "Apogee.h"


class CApnFilterWheel
{
public:
CApnFilterWheel();
virtual ~CApnFilterWheel();

bool Init( Apn_Filter FilterType, unsigned long DeviceNum );
bool Close();

bool GetVendorId( unsigned short *VendorId );
bool GetProductId( unsigned short *ProductId );
bool GetDeviceId( unsigned short *DeviceId );

bool GetUsbFirmwareRev( char *FirmwareRev, long *BufferLength );

bool GetWheelType( Apn_Filter *WheelType );

bool GetWheelModel( char *WheelDescr, long *BufferLength );

bool GetStatus( Apn_FilterStatus *FilterStatus );

bool GetMaxPositions( unsigned long *MaxPositions );

bool SetPosition( unsigned long Position );
bool GetPosition( unsigned long *Position );

private:
bool m_ConnectionOpen;

unsigned long m_DeviceNum;

unsigned short m_VendorId;
unsigned short m_ProductId;
unsigned short m_DeviceId;

Apn_Filter m_WheelType;

unsigned long m_MaxPositions;

TCHAR m_SysDeviceName[1024];


void InitMemberVars();

// message map functions
};

#endif // !defined(AFX_APNFILTERWHEEL_H__6B02FF9C_AB8E_4488_A166_04C6B378E35E__INCLUDED_)