![]() |
MAK RTIspy API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: popupHelper.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtPopupHelper_H_ 00013 #define DtPopupHelper_H_ 00014 00015 #include <rtiMsConfig.h> 00016 #include <vlutil/vlString.h> 00017 #include <vlutil/vlPrint.h> 00018 00019 class DtPopupHelper; 00021 typedef void (*DtPopupHelperCreator)(const MAKRti::DtString& text, 00022 MAKRti::DtOutputStream& stream, 00023 const MAKRti::DtString& advancedText ); 00024 00031 class DT_DLL_RTIUTIL DtPopupHelper 00032 { 00033 00034 protected: 00035 00037 DtPopupHelper( const MAKRti::DtString& text, 00038 const MAKRti::DtString& advancedText ); 00039 00040 public: 00041 00043 virtual ~DtPopupHelper(); 00044 00045 public: 00046 00047 00051 static void popupAssistantMessage( const MAKRti::DtString& text, 00052 MAKRti::DtOutputStream& stream = MAKRti::DtWarn, 00053 const MAKRti::DtString& advancedText = MAKRti::DtString("") ); 00054 00058 static void setCreatorFunction(DtPopupHelperCreator creator); 00059 00061 DtPopupHelper(); 00062 00064 DtPopupHelper(const DtPopupHelper& orig); 00065 DtPopupHelper& operator=(DtPopupHelper const& orig); 00066 00067 protected: 00068 static DtPopupHelperCreator theCreator; 00069 00070 }; 00071 00072 00073 00074 #endif //! DtPopupHelper_H_ 00075