VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtConcurrencyViewerMacros.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvUtil/vrvUtil.h>
14 
15 namespace Concurrency
16 {
17  namespace diagnostic {
18  class marker_series;
19  class span;
20  };
21 };
22 
23 using namespace Concurrency::diagnostic;
24 
28 {
29 public:
32 
34  DtCVMarkerSeries(const char * name, bool add_thread_id = true);
35 
37  void write_flag(const char * flag, ...);
38 
40  void write_message(const char * message, ...);
41 
43  void write_alert(const char * alert, ...);
44 
47  friend class DtCVSpan;
48  static bool theMarkersActive;
49 
50 private:
51  marker_series * myMarkerSeries;
52 
54  DtCVMarkerSeries(const DtCVMarkerSeries &other) { ; }
56  DtCVMarkerSeries &operator=(const DtCVMarkerSeries &other) {return *this; }
57 };
58 
62 {
63 public:
64  DtCVSpan(DtCVMarkerSeries & marker, int level, const char * name);
65  ~DtCVSpan();
66 
68  // but don't want to mess with the scopes of the file too extensively.
69  void resetSpan();
70 
71 private:
72  span * mySpan;
73 
75  DtCVSpan(const DtCVSpan &other) { ; }
77  DtCVSpan &operator=(const DtCVSpan &other) { return *this; }
78 };
79 
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Creates a span that demarcates a length of time in the CV tool.
Definition: DtConcurrencyViewerMacros.h:61
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
Creates a series/span line in the CV tool.
Definition: DtConcurrencyViewerMacros.h:27
marker_series * myMarkerSeries
Definition: DtConcurrencyViewerMacros.h:51
DtCVMarkerSeries & operator=(const DtCVMarkerSeries &other)
Assignment Operator Not implemented – Assignment Not Allowed.
Definition: DtConcurrencyViewerMacros.h:56
Contains DLL export macros.
DtCVSpan(const DtCVSpan &other)
Copy Constructor not implemented – Copy Not Allowed.
Definition: DtConcurrencyViewerMacros.h:75
span * mySpan
Definition: DtConcurrencyViewerMacros.h:72
DtCVMarkerSeries(const DtCVMarkerSeries &other)
Copy Constructor not implemented – Copy Not Allowed.
Definition: DtConcurrencyViewerMacros.h:54
DtCVSpan & operator=(const DtCVSpan &other)
Assignment Operator Not implemented – Assignment Not Allowed.
Definition: DtConcurrencyViewerMacros.h:77
static bool theMarkersActive
Definition: DtConcurrencyViewerMacros.h:48

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)