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 24/04/2000
// Last modification: 08/10/2003
// Project Intruder Position Indicator
// SUBSYSTEM: Queue for target
// FILE: EventQueue.cpp
// AUTHOR: Chizhevskiy Sergey
// OVERVIEW
// ~~~~~~~~
// Source file of class CTargetQueue
//----------------------------------------------------------------------------
#include "stdafx.h"
#include "..\LgLib\Version.h"
#include "EventQueue.h"
BOOL CTargetQueue::PostEvent(__int32 type, const double& angle, const double& range, __int32 dv, LPCTSTR pText, LONG nWidth ){ LARGE_INTEGER time; SYSTEMTIME st;
::GetLocalTime(&st); ::SystemTimeToFileTime(&st, (LPFILETIME)&time);
return CLgQueueP<TARGET,100>::Push( TARGET(time, angle, range, type, dv, pText, nWidth ) );}
|