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: VideoCaptureSource.cpp
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Source file of VideoCaptureSource.cpp
//----------------------------------------------------------------------------
#include "stdafx.h"
#include "VideoCamera.h"
#include "VideoCaptureSource.h"
#include "..\..\LgLib\Version.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;#define new DEBUG_NEW
#endif
CVideoCaptureSource::CVideoCaptureSource(){ m_pVideoCamera = NULL; m_nPreviewMaxImageCount = 0;
LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, _T("CVideoCaptureSource::CVideoCaptureSource") );}
CVideoCaptureSource::~CVideoCaptureSource(){ LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, _T("CVideoCaptureSource::~CVideoCaptureSource") );}
BOOL CVideoCaptureSource::AssignVideoCamera( CVideoCamera *pVideoCamera ){ if( pVideoCamera != m_pVideoCamera ) { if( m_pVideoCamera ) m_pVideoCamera->AssignCaptureSource( NULL );
m_pVideoCamera = pVideoCamera;
if( m_pVideoCamera ) m_pVideoCamera->AssignCaptureSource( this ); } return TRUE;}
|