Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: VideoMatrix.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of VideoMatrix.h
//----------------------------------------------------------------------------
#ifndef __VIDEO__MATRIX__H__INCLUDED__
#define __VIDEO__MATRIX__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include "DeviceVM.h"
#include "VideoDevice.h"
#include "..\..\LgLib\Templ.h"
class CVideoMatrix : public CVideoDevice {public: CVideoMatrix(); virtual ~CVideoMatrix();
public: friend class CDeviceVM; void ConnectToDevice( CDeviceVM *pDevice );
public: void CmdConnect( int nOutput, int nInput ); BOOL CmdGetInput( int nOutput, int *pInput );
protected: friend class CDeviceVideoMatrix; BOOL PostConnect( int nInput, int nOutput );
protected: virtual BOOL ForceConnection( int nInput, int nOutput );
private: int *m_pOutput;
private: CDeviceVM *m_pDevice;
private: void CheckQueue();
private: enum{ VMC_CONNECTION }; struct VMEVENT { BYTE id; union { struct { int nInput; int nOutput; }; }; }; CLgQueueP<VMEVENT,100> m_Queue;};
#endif
|