MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
waitForAssistantShutdown.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #ifdef _WIN32
13 
14 #include <QDialog>
15 #include <vlutil/vlThread.h>
16 #include <vlutil/vlRunnable.h>
17 #include <vlThreadSafeQueue.h>
18 #include <vlutil/vlThreadSafe.h>
19 
20 class waitForAssistantShutdown : public MAKRti::DtRunnable
21 {
22 public:
23  waitForAssistantShutdown( void * hProcess, void * hThread );
24  virtual ~waitForAssistantShutdown();
25  virtual void run();
26  virtual bool hasFinishedShuttingDown();
27  virtual bool hasTimedOut();
28 
29 protected:
30  void * myHProcess;
31  void * myHThread;
32 
33  int myTimeOutCounter;
34 
35  bool myHasFinished;
36  bool myHasTimedOut;
37 };
38 
39 inline bool waitForAssistantShutdown::hasFinishedShuttingDown()
40 {
41  return myHasFinished;
42 }
43 
44 inline bool waitForAssistantShutdown::hasTimedOut()
45 {
46  return myHasTimedOut;
47 }
48 
49 #endif // _WIN32

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)