VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
featuresDefines.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
14 #ifdef WIN32
15 #pragma warning(disable : 4584)
16 #endif
17 
19 //#if defined BOOST_MPL_LIMIT_LIST_SIZE && BOOST_MPL_LIMIT_LIST_SIZE < 40
20 //# error BOOST_MPL_LIMIT_LIST_SIZE too small
21 //#else
22 //# define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
23 //# define BOOST_MPL_LIMIT_LIST_SIZE 40
24 //# define BOOST_MPL_LIMIT_VECTOR_SIZE 40
25 //#endif
26 
28 #ifdef WIN32
29 # ifdef DT_DLL_BUILD
30 # ifdef features_EXPORTS
31 # pragma warning (disable:4251)
33 # define DT_DLL_features __declspec(dllexport)
34 # else
35 # define DT_DLL_features __declspec(dllimport)
36 # endif
37 # else
38 # define DT_DLL_features
39 # endif
40 #else
41 # define DT_DLL_features
42 #endif
43 
44 #include <geometry/point.h>
45 
46 #include <vlutil/vlExceptions.h>
47 #include <vlutil/vlPrint.h>
48 
49 #include <vrfutil/objectCounter.h>
50 
51 #include <boost/bind/bind.hpp>
52 #include <boost/cast.hpp>
53 #include <boost/exception/all.hpp>
54 #include <boost/format.hpp>
55 #include <boost/lexical_cast.hpp>
56 
57 #include <atomic>
58 
59 #include <iosfwd>
60 #include <list>
61 #include <map>
62 #include <memory>
63 #include <set>
64 #include <string>
65 #include <vector>
66 
67 
68 namespace MAKVRinTerra
69 {
74  template <typename Tag, typename Base = DtException>
75  class TaggedException : public Base, virtual public boost::exception
76  {
77  public:
79  const char *msg,
80  const char *func,
81  const char *file,
82  unsigned int line,
83  const DtException *prev = 0) throw() : Base(msg,func,file,line,prev) { }
84  };
85 }
86 
TaggedException(const char *msg, const char *func, const char *file, unsigned int line, const DtException *prev=0)
Definition: featuresDefines.h:78
Create a new MAK exception type that inherits from boost::exception. Tag is what differentiates this ...
Definition: featuresDefines.h:75

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)