VR-Vantage 3.2 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rfxDriver.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <radarFxServer/export.h>
13 
15 
16 #include <vrvCore/DtDriver.h>
17 
18 #include <string>
19 #include <queue>
20 #include <chrono>
21 
22 namespace makVrv
23 {
24  class DtDebugLog;
25 }
26 
27 namespace makRadarFx
28 {
29  class DtBaseProcess;
30  class DtRadarFxServer;
31 
35  {
36  public:
39 
41  virtual ~DtRadarFxDriver();
42 
44  virtual const std::string& className() const;
45 
47  virtual bool onStart();
48  virtual bool onStop();
49  virtual bool onTick();
50 
52  virtual DtBaseProcess* currentProcess() {return myCurrentProcess;}
53 
55  virtual bool isReadyToProcess();
56 
58  virtual DtRadarFxServer* server() {return myServer;}
59 
61  virtual makVrv::DtDe& de() {return myDe;}
62 
63  protected:
64 
71  virtual void logMessageIfNecessary(DtBaseMessage* message, const std::vector<std::pair<std::string, std::string>>* additionalInfo = nullptr);
72 
73  protected:
77 
78  std::map<unsigned int, std::string> myRequestTypeToDisplayName;
79  std::map<unsigned int, makVrv::DtDebugLog*> myRequestTypeToLogStream;
80 
81  std::chrono::system_clock::time_point myRequestStartTime;
82 
84  typedef std::list<DtBaseProcess*> DtBaseProcessQueue;
86 
89 
90  std::string myClassName;
91  };
92 
93 }


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)