From: <sv...@ww...> - 2004-11-19 12:39:37
|
Author: delta Date: 2004-11-19 04:39:28 -0800 (Fri, 19 Nov 2004) New Revision: 1325 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/BaseType.h trunk/CSP/SimData/Include/SimData/Properties.h trunk/CSP/SimData/Include/SimData/Quat.h trunk/CSP/SimData/Include/SimData/ThreadBase.h trunk/CSP/SimData/Include/SimData/ThreadUtil.h trunk/CSP/SimData/Include/SimData/Timing.h trunk/CSP/SimData/VisualStudio2003/SimData.sln trunk/CSP/SimData/VisualStudio2003/SimData.vcproj Log: * Added a few more SIMDATA_EXPORT to export symbols. * Updated vcproj. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1325 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/CHANGES.current 2004-11-19 12:39:28 UTC (rev 1325) @@ -1,6 +1,21 @@ Version 0.4.0 (in progress) =========================== +2004-11-19: delta +* Added a few more SIMDATA_EXPORT to export symbols. + +* Updated vcproj. + +2004-11-15: delta +* Replaced every WIN32 by _WIN32 (windows native). Removed WIN32 + definition in the preprocessor (vcproj). + +* Added a function object nohash64 (hashing function) for the + vc7.x compilers' STL std/stdext::hash_map non standard container (must + inheritate from std/stdext::hash_compare). + +* Updated vcproj. + 2004-11-14: onsight * Added a method to Timer to both return and reset the elapsed time. Modified: trunk/CSP/SimData/Include/SimData/BaseType.h =================================================================== --- trunk/CSP/SimData/Include/SimData/BaseType.h 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/Include/SimData/BaseType.h 2004-11-19 12:39:28 UTC (rev 1325) @@ -93,7 +93,7 @@ /** Convenience function for printing BaseTypes to ostreams. */ -std::ostream &operator <<(std::ostream &o, BaseType const &t); +SIMDATA_EXPORT std::ostream &operator <<(std::ostream &o, BaseType const &t); NAMESPACE_SIMDATA_END Modified: trunk/CSP/SimData/Include/SimData/Properties.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Properties.h 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/Include/SimData/Properties.h 2004-11-19 12:39:28 UTC (rev 1325) @@ -40,7 +40,7 @@ * * @author Mark Rose <mk...@us...> */ -class NonCopyable { +class SIMDATA_EXPORT NonCopyable { protected: NonCopyable() { } private: Modified: trunk/CSP/SimData/Include/SimData/Quat.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Quat.h 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/Include/SimData/Quat.h 2004-11-19 12:39:28 UTC (rev 1325) @@ -404,7 +404,7 @@ #ifndef SWIG /** Format to an output stream. */ - friend std::ostream& operator << (std::ostream& output, const Quat& q); + SIMDATA_EXPORT friend std::ostream& operator << (std::ostream& output, const Quat& q); /** Multiply a Quat by a scalar value on the left. */ friend inline Quat operator * (double lhs, const Quat& rhs) { return rhs*lhs; } @@ -462,7 +462,6 @@ }; // end of class prototype - NAMESPACE_SIMDATA_END #endif // __SIMDATA_QUAT_H__ Modified: trunk/CSP/SimData/Include/SimData/ThreadBase.h =================================================================== --- trunk/CSP/SimData/Include/SimData/ThreadBase.h 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/Include/SimData/ThreadBase.h 2004-11-19 12:39:28 UTC (rev 1325) @@ -245,7 +245,7 @@ * signals the condition variable, one (or all) of the threads waiting * on that variable will be activated. */ -class ThreadCondition: public NonCopyable { +class SIMDATA_EXPORT ThreadCondition: public NonCopyable { public: /** Construct a condition variable, using an internal mutex. @@ -454,7 +454,6 @@ bool m_flag; }; - NAMESPACE_SIMDATA_END #endif // __SIMDATA_THREADBASE_H__ Modified: trunk/CSP/SimData/Include/SimData/ThreadUtil.h =================================================================== --- trunk/CSP/SimData/Include/SimData/ThreadUtil.h 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/Include/SimData/ThreadUtil.h 2004-11-19 12:39:28 UTC (rev 1325) @@ -39,7 +39,7 @@ /** Exception class for thread-related errors. Wraps a small subset * of cerrno constants. */ -class ThreadException: public Exception { +class SIMDATA_EXPORT ThreadException: public Exception { public: ThreadException(const int error); Modified: trunk/CSP/SimData/Include/SimData/Timing.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Timing.h 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/Include/SimData/Timing.h 2004-11-19 12:39:28 UTC (rev 1325) @@ -61,7 +61,7 @@ * The offset is platform dependent, so do not use this value for * absolute time. */ -timing_t get_realtime(); +SIMDATA_EXPORT timing_t get_realtime(); /** A simple timing class with standard stopwatch functions. The Modified: trunk/CSP/SimData/VisualStudio2003/SimData.sln =================================================================== --- trunk/CSP/SimData/VisualStudio2003/SimData.sln 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/VisualStudio2003/SimData.sln 2004-11-19 12:39:28 UTC (rev 1325) @@ -1,21 +1,21 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimData", "SimData.vcproj", "{F9948756-70B5-4328-8A6A-F4BE5A521A27}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Debug.ActiveCfg = Release|Win32 - {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Debug.Build.0 = Release|Win32 - {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Release.ActiveCfg = Release|Win32 - {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SimData", "SimData.vcproj", "{F9948756-70B5-4328-8A6A-F4BE5A521A27}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Debug.ActiveCfg = Debug|Win32 + {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Debug.Build.0 = Debug|Win32 + {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Release.ActiveCfg = Release|Win32 + {F9948756-70B5-4328-8A6A-F4BE5A521A27}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal Modified: trunk/CSP/SimData/VisualStudio2003/SimData.vcproj =================================================================== --- trunk/CSP/SimData/VisualStudio2003/SimData.vcproj 2004-11-18 19:37:55 UTC (rev 1324) +++ trunk/CSP/SimData/VisualStudio2003/SimData.vcproj 2004-11-19 12:39:28 UTC (rev 1325) @@ -433,6 +433,9 @@ RelativePath="..\Include\SimData\ThreadQueue.h"> </File> <File + RelativePath="..\Include\SimData\ThreadUtil.h"> + </File> + <File RelativePath="..\Include\SimData\Timing.h"> </File> <File |