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: DirectOutputSet.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of DirectOutputSet.h
//----------------------------------------------------------------------------
#ifndef __DIRECT__OUTPUT__SET__H__INCLUDED__
#define __DIRECT__OUTPUT__SET__H__INCLUDED__
#include "DirectOutput.h"
class CDirectOutputSet {public: CDirectOutputSet(); virtual ~CDirectOutputSet();
public: BOOL ConnectToDevice( CDeviceDO *pDeviceDO, int nDeviceBit, int nSensorBit );
public: int GetOutputCount() { return m_nOutput; } CDirectOutput *GetOutput( int nIndex ) { return (nIndex < m_nOutput) ? m_ppOutput[nIndex] : NULL; }
private: CDirectOutput **m_ppOutput; int m_nOutput;};
#endif
|