MAK RTIspy API Documentation for HLA Evolved
scopedNotifyLevelChange.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: scopedNotifyLevelChange.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef scopedNotifyLevelChange_H_
00013 #define scopedNotifyLevelChange_H_
00014 
00015 #include "rtiUtil.h"
00016 #include <vlutil/vlPrint.h>
00017 #include <vlutil/vlMutex.h>
00018 
00019 
00023 class DT_DLL_RTIUTIL DtScopedNotifyLevelChange
00024 {
00025 public:
00026 
00029    DtScopedNotifyLevelChange( int newNotifyLevel = MAKRti::DtNotifyLevel );
00030 
00032    ~DtScopedNotifyLevelChange();
00033 
00035    void changeNotifyLevel( int newNotifyLevel );
00036 
00039    void restoreNotifyLevel();
00040 
00041 private:
00042    
00044    int myOrigNotifyLevel;
00045 
00047    static MAKRti::DtMutex theMutex;
00048 };
00049 
00050 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)