MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scopedNotifyLevelChange.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: scopedNotifyLevelChange.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef scopedNotifyLevelChange_H_
13 #define scopedNotifyLevelChange_H_
14 
15 #include "rtiUtil.h"
16 #include <vlutil/vlPrint.h>
17 #include <vlutil/vlMutex.h>
18 
19 
24 {
25 public:
26 
29  DtScopedNotifyLevelChange( int newNotifyLevel = MAKRti::DtNotifyLevel );
30 
33 
35  void changeNotifyLevel( int newNotifyLevel );
36 
39  void restoreNotifyLevel();
40 
41 private:
42 
45 
47  static MAKRti::DtMutex theMutex;
48 };
49 
50 #endif
Changes the notify level and locks out other temporary notify level changes while the object is in sc...
Definition: scopedNotifyLevelChange.h:23
static MAKRti::DtMutex theMutex
The mutex to prevent simultaneous notify level changes.
Definition: scopedNotifyLevelChange.h:47
int myOrigNotifyLevel
The notify level prior to changing it.
Definition: scopedNotifyLevelChange.h:44
#define DT_DLL_RTIUTIL
Definition: rtiMsConfig.h:160

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)