From: <sv...@ww...> - 2004-06-27 06:47:13
|
Author: mkrose Date: 2004-06-26 23:47:07 -0700 (Sat, 26 Jun 2004) New Revision: 1070 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/InterfaceRegistry.h trunk/CSP/SimData/Include/SimData/InterfaceRegistry.i Log: Remove superflous logging in interface registry, and suppress swig warnings. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1070 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2004-06-27 06:44:09 UTC (rev 1069) +++ trunk/CSP/SimData/CHANGES.current 2004-06-27 06:47:07 UTC (rev 1070) @@ -1,6 +1,10 @@ Version 0.4.0 (in progress) =========================== +2004-06-26: onsight + * Remove superflous logging in interface registry, and suppress + swig warnings. + 2004-06-22: onsight * Added a ScopedUnlock (trivial reversal of ScopedLock) Modified: trunk/CSP/SimData/Include/SimData/InterfaceRegistry.h =================================================================== --- trunk/CSP/SimData/Include/SimData/InterfaceRegistry.h 2004-06-27 06:44:09 UTC (rev 1069) +++ trunk/CSP/SimData/Include/SimData/InterfaceRegistry.h 2004-06-27 06:47:07 UTC (rev 1070) @@ -599,7 +599,6 @@ std::string _classname = #classname; \ SIMDATA(hasht) _classhash = classname::_getClassHash(); \ if (!_interface) { \ - SIMDATA_LOG(SIMDATA(LOG_ALL), SIMDATA(LOG_ERROR), "constructing interfaceproxy for " << #classname); \ _interface = new SIMDATA(ObjectInterface)<classname>; \ (*_interface) Modified: trunk/CSP/SimData/Include/SimData/InterfaceRegistry.i =================================================================== --- trunk/CSP/SimData/Include/SimData/InterfaceRegistry.i 2004-06-27 06:44:09 UTC (rev 1069) +++ trunk/CSP/SimData/Include/SimData/InterfaceRegistry.i 2004-06-27 06:47:07 UTC (rev 1070) @@ -29,9 +29,18 @@ %include "SimData/vector.i" NAMESPACE_SIMDATA + %newobject InterfaceProxy::createObject; + +// silence swig warningns about unknown base class Singleton<InterfaceRegistry> +class InterfaceRegistry; +template <class T> class Singleton; +%template(SingletonInterfaceRegistry) Singleton<InterfaceRegistry>; +%warnfilter(402) InterfaceRegistry; + NAMESPACE_SIMDATA_END + %exception { try { $action |