//---------------------------------------------------------------------------- // 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::Push( TARGET(time, angle, range, type, dv, pText, nWidth ) ); }