VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
concurrencyViewerMacros.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
9 #include <memory>
10 
11 namespace makVrf
12 {
13  namespace Concurrency
14  {
15  namespace diagnostic {
16  class marker_series;
17  class span;
18  };
19  };
20 
21  using namespace Concurrency::diagnostic;
22 
26  {
27  public:
30 
32  DtCVMarkerSeries(const char * name, bool add_thread_id = true);
33 
35  void write_flag(const char * flag, ...);
36 
38  void write_message(const char * message, ...);
39 
41  void write_alert(const char * alert, ...);
42 
45  friend class DtCVSpan;
46  static bool theVRFCVMarkersActive;
47 
48  static void initializeConsoleCommands();
49  static void setCVMarkersActive(bool);
50  static bool cvMarkersActive();
51 
52  private:
53  marker_series * myMarkerSeries;
54 
56  DtCVMarkerSeries(const DtCVMarkerSeries &other) { ; }
58  DtCVMarkerSeries &operator=(const DtCVMarkerSeries &other) {return *this; }
59  };
60 
64  {
65  public:
66  DtCVSpan(DtCVMarkerSeries & marker, int level, const char * name);
67  ~DtCVSpan();
68 
71  void resetSpan();
72 
73  private:
74  span * mySpan;
75 
77  DtCVSpan(const DtCVSpan &other) { ; }
79  DtCVSpan &operator=(const DtCVSpan &other) { return *this; }
80  };
81 }
82 
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DtCVSpan(const DtCVSpan &other)
Copy Constructor not implemented – Copy Not Allowed.
Definition: concurrencyViewerMacros.h:77
marker_series * myMarkerSeries
Definition: concurrencyViewerMacros.h:53
Creates a series/span line in the CV tool.
Definition: concurrencyViewerMacros.h:25
span * mySpan
Definition: concurrencyViewerMacros.h:74
DtCVMarkerSeries & operator=(const DtCVMarkerSeries &other)
Assignment Operator Not implemented – Assignment Not Allowed.
Definition: concurrencyViewerMacros.h:58
DtCVSpan & operator=(const DtCVSpan &other)
Assignment Operator Not implemented – Assignment Not Allowed.
Definition: concurrencyViewerMacros.h:79
DtCVMarkerSeries(const DtCVMarkerSeries &other)
Copy Constructor not implemented – Copy Not Allowed.
Definition: concurrencyViewerMacros.h:56
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
Creates a span that demarcates a length of time in the CV tool.
Definition: concurrencyViewerMacros.h:63
static bool theVRFCVMarkersActive
Definition: concurrencyViewerMacros.h:46

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)