[mapguide-commits] r5989 - in trunk/MgDev: . Server
Server/src/Common/Manager Server/src/Core Server/src/Services
Server/src/Services/Profiling
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Jul 18 21:59:33 EDT 2011
Author: liuar
Date: 2011-07-18 18:59:33 -0700 (Mon, 18 Jul 2011)
New Revision: 5989
Added:
trunk/MgDev/Server/src/Services/Profiling/
trunk/MgDev/Server/src/Services/Profiling/Makefile.am
trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.cpp
trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.h
trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.cpp
trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.h
trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.cpp
trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.h
trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.cpp
trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.h
trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.cpp
trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.h
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingDllExport.h
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.cpp
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.h
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.rc
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcproj
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj.filters
trunk/MgDev/Server/src/Services/Profiling/ServerProfilingServiceBuild.cpp
Modified:
trunk/MgDev/Server/Server.sln
trunk/MgDev/Server/Server_VS2010.sln
trunk/MgDev/Server/src/Common/Manager/LogManager.cpp
trunk/MgDev/Server/src/Common/Manager/Makefile.am
trunk/MgDev/Server/src/Common/Manager/ServerManager.vcproj
trunk/MgDev/Server/src/Common/Manager/ServerManager.vcxproj
trunk/MgDev/Server/src/Common/Manager/ServiceManager.cpp
trunk/MgDev/Server/src/Core/Makefile.am
trunk/MgDev/Server/src/Core/ServerCore.vcproj
trunk/MgDev/Server/src/Core/ServerCore.vcxproj
trunk/MgDev/Server/src/Core/ServerFactory.cpp
trunk/MgDev/Server/src/Core/ServiceHandlerFactory.cpp
trunk/MgDev/Server/src/Core/serverconfig.ini
trunk/MgDev/Server/src/Services/Makefile.am
trunk/MgDev/configure
trunk/MgDev/configure.in
Log:
RFC 110 Profiling Service (II).
1. Create a new MgServerProfilingService and register it in ServerFactory. The
MgServerProfilingService inherits from MgProfilingService and the interfaces
will be implemented soon.
2. Define a MgProfilingServiceHandler to handle the profiling service related
requests. Two kinds of operations are supported currently:
OpProfileRenderDynamicOverlay and OpProfileRenderMap. Both of these two
operations are inherit from ProfilingOperation and can be created by
ProfilingOperationFactory
3. Several VS solutions, projects and makefile are updated accordingly.
Modified: trunk/MgDev/Server/Server.sln
===================================================================
--- trunk/MgDev/Server/Server.sln 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/Server.sln 2011-07-19 01:59:33 UTC (rev 5989)
@@ -23,6 +23,7 @@
{561F38EE-E22F-481A-8EFB-DC0AA25B4C22} = {561F38EE-E22F-481A-8EFB-DC0AA25B4C22}
{561F38EE-E22F-481A-8EFB-DC0AA25B4C23} = {561F38EE-E22F-481A-8EFB-DC0AA25B4C23}
{C50254F2-654A-48DE-AF5B-20605AEF8D10} = {C50254F2-654A-48DE-AF5B-20605AEF8D10}
+ {899E41F5-A58F-4C93-A623-666DCE6C1536} = {899E41F5-A58F-4C93-A623-666DCE6C1536}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Foundation", "..\Common\Foundation\Foundation.vcproj", "{A82ADC7D-4DA4-42F2-9BF6-DF5DCFB44425}"
@@ -294,6 +295,16 @@
{5287A594-4D4F-43FE-A281-E279AB708CF1} = {5287A594-4D4F-43FE-A281-E279AB708CF1}
EndProjectSection
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ServerProfilingService", "src\Services\Profiling\ServerProfilingService.vcproj", "{899E41F5-A58F-4C93-A623-666DCE6C1536}"
+ ProjectSection(ProjectDependencies) = postProject
+ {F7334B1B-0EFA-47E3-8E66-DF158E61B7E4} = {F7334B1B-0EFA-47E3-8E66-DF158E61B7E4}
+ {A82ADC7D-4DA4-42F2-9BF6-DF5DCFB44425} = {A82ADC7D-4DA4-42F2-9BF6-DF5DCFB44425}
+ {5287A594-4D4F-43FE-A281-E279AB708CF1} = {5287A594-4D4F-43FE-A281-E279AB708CF1}
+ {D954DAAC-E305-40CE-B3F3-C229A0BEF4F0} = {D954DAAC-E305-40CE-B3F3-C229A0BEF4F0}
+ {A4F7F6B2-0E74-4DFD-B283-C7E380BD6F58} = {A4F7F6B2-0E74-4DFD-B283-C7E380BD6F58}
+ {ADBF25E2-C629-4832-B315-F12ABDE05632} = {ADBF25E2-C629-4832-B315-F12ABDE05632}
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -534,6 +545,14 @@
{531778C6-C340-40F2-B403-9B58B8121AAB}.Release|Win32.Build.0 = Release|Win32
{531778C6-C340-40F2-B403-9B58B8121AAB}.Release|x64.ActiveCfg = Release|x64
{531778C6-C340-40F2-B403-9B58B8121AAB}.Release|x64.Build.0 = Release|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|Win32.ActiveCfg = Debug|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|Win32.Build.0 = Debug|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|x64.ActiveCfg = Debug|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|x64.Build.0 = Debug|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|Win32.ActiveCfg = Release|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|Win32.Build.0 = Release|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|x64.ActiveCfg = Release|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Modified: trunk/MgDev/Server/Server_VS2010.sln
===================================================================
--- trunk/MgDev/Server/Server_VS2010.sln 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/Server_VS2010.sln 2011-07-19 01:59:33 UTC (rev 5989)
@@ -58,6 +58,8 @@
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ServerCache", "src\Common\Cache\ServerCache.vcxproj", "{531778C6-C340-40F2-B403-9B58B8121AAB}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ServerProfilingService", "src\Services\Profiling\ServerProfilingService.vcxproj", "{899E41F5-A58F-4C93-A623-666DCE6C1536}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -295,6 +297,14 @@
{531778C6-C340-40F2-B403-9B58B8121AAB}.Release|Win32.Build.0 = Release|Win32
{531778C6-C340-40F2-B403-9B58B8121AAB}.Release|x64.ActiveCfg = Release|x64
{531778C6-C340-40F2-B403-9B58B8121AAB}.Release|x64.Build.0 = Release|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|Win32.ActiveCfg = Debug|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|Win32.Build.0 = Debug|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|x64.ActiveCfg = Debug|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Debug|x64.Build.0 = Debug|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|Win32.ActiveCfg = Release|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|Win32.Build.0 = Release|Win32
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|x64.ActiveCfg = Release|x64
+ {899E41F5-A58F-4C93-A623-666DCE6C1536}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Modified: trunk/MgDev/Server/src/Common/Manager/LogManager.cpp
===================================================================
--- trunk/MgDev/Server/src/Common/Manager/LogManager.cpp 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Common/Manager/LogManager.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -259,6 +259,7 @@
ParseLogService(MgServiceType::KmlService, logDetail);
ParseLogService(MgServiceType::ServerAdminService, logDetail);
ParseLogService(MgServiceType::SiteService, logDetail);
+ ParseLogService(MgServiceType::ProfilingService, logDetail);
// Access Log
pConfiguration->GetBoolValue(MgConfigProperties::AccessLogPropertiesSection, MgConfigProperties::AccessLogPropertyEnabled, bLogEnabled, MgConfigProperties::DefaultAccessLogPropertyEnabled);
@@ -4769,6 +4770,9 @@
case MgServiceType::SiteService:
serviceString = MgResources::SiteService;
break;
+ case MgServiceType::ProfilingService:
+ serviceString = MgResources::ProfilingService;
+ break;
default:
break;
}
Modified: trunk/MgDev/Server/src/Common/Manager/Makefile.am
===================================================================
--- trunk/MgDev/Server/src/Common/Manager/Makefile.am 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Common/Manager/Makefile.am 2011-07-19 01:59:33 UTC (rev 5989)
@@ -20,6 +20,7 @@
-I../../Services/Feature \
-I../../Services/Kml \
-I../../Services/Mapping \
+ -I../../Services/Profiling \
-I../../Services/Rendering \
-I../../Services/Resource \
-I../../Services/ServerAdmin \
Modified: trunk/MgDev/Server/src/Common/Manager/ServerManager.vcproj
===================================================================
--- trunk/MgDev/Server/src/Common/Manager/ServerManager.vcproj 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Common/Manager/ServerManager.vcproj 2011-07-19 01:59:33 UTC (rev 5989)
@@ -44,7 +44,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
+ AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1"
MinimalRebuild="true"
ExceptionHandling="2"
@@ -125,7 +125,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
+ AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1"
MinimalRebuild="true"
ExceptionHandling="2"
@@ -206,7 +206,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="2"
- AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
+ AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1"
ExceptionHandling="2"
RuntimeLibrary="2"
@@ -286,7 +286,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="2"
- AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
+ AdditionalIncludeDirectories="..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\..\Oem\FDO\inc"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1"
ExceptionHandling="2"
RuntimeLibrary="2"
Modified: trunk/MgDev/Server/src/Common/Manager/ServerManager.vcxproj
===================================================================
--- trunk/MgDev/Server/src/Common/Manager/ServerManager.vcxproj 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Common/Manager/ServerManager.vcxproj 2011-07-19 01:59:33 UTC (rev 5989)
@@ -90,7 +90,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<ExceptionHandling>Async</ExceptionHandling>
@@ -118,7 +118,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<ExceptionHandling>Async</ExceptionHandling>
@@ -146,7 +146,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
- <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Async</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
@@ -173,7 +173,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
- <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..;..\..\..\..\Common;..\..\..\..\Common\Foundation;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\Geometry;..\..\..\..\Common\MdfModel;..\..\..\..\Common\MdfParser;..\..\..\..\Common\Security;..\..\Common\Cache;..\..\Common\Thread;..\..\Services\Drawing;..\..\Services\Feature;..\..\Services\Kml;..\..\Services\Mapping;..\..\Services\Profiling;..\..\Services\Rendering;..\..\Services\Resource;..\..\Services\ServerAdmin;..\..\Services\Site;..\..\Services\Tile;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\FDO\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_MANAGER_EXPORTS;PSAPI_VERSION=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Async</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
Modified: trunk/MgDev/Server/src/Common/Manager/ServiceManager.cpp
===================================================================
--- trunk/MgDev/Server/src/Common/Manager/ServiceManager.cpp 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Common/Manager/ServiceManager.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -22,6 +22,7 @@
#include "ServerRenderingService.h"
#include "ServerTileService.h"
#include "ServerKmlService.h"
+#include "ServerProfilingService.h"
// Process-wide MgServiceManager
Ptr<MgServiceManager> MgServiceManager::sm_serviceManager = (MgServiceManager*)NULL;
Modified: trunk/MgDev/Server/src/Core/Makefile.am
===================================================================
--- trunk/MgDev/Server/src/Core/Makefile.am 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Core/Makefile.am 2011-07-19 01:59:33 UTC (rev 5989)
@@ -21,6 +21,7 @@
-I../Services/Feature \
-I../Services/Kml \
-I../Services/Mapping \
+ -I../Services/Profiling \
-I../Services/Rendering \
-I../Services/Resource \
-I../Services/ServerAdmin \
@@ -114,6 +115,7 @@
-lMgServerKmlService \
-lMgServerManager \
-lMgServerMappingService \
+ -lMgServerProfilingService \
-lMgServerRenderingService \
-lMgServerResourceService \
-lMgServerSiteService \
@@ -149,6 +151,7 @@
-R$(map_srcdir)/Server/src/Services/Feature/.libs \
-R$(map_srcdir)/Server/src/Services/Kml/.libs \
-R$(map_srcdir)/Server/src/Services/Mapping/.libs \
+ -R$(map_srcdir)/Server/src/Services/Profiling/.libs \
-R$(map_srcdir)/Server/src/Services/Rendering/.libs \
-R$(map_srcdir)/Server/src/Services/Resource/.libs \
-R$(map_srcdir)/Server/src/Services/ServerAdmin/.libs \
@@ -178,6 +181,7 @@
-L../Services/Feature \
-L../Services/Kml \
-L../Services/Mapping \
+ -L../Services/Profiling \
-L../Services/Rendering \
-L../Services/Resource \
-L../Services/ServerAdmin \
Modified: trunk/MgDev/Server/src/Core/ServerCore.vcproj
===================================================================
--- trunk/MgDev/Server/src/Core/ServerCore.vcproj 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Core/ServerCore.vcproj 2011-07-19 01:59:33 UTC (rev 5989)
@@ -43,7 +43,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
+ AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1"
MinimalRebuild="true"
ExceptionHandling="2"
@@ -125,7 +125,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
+ AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1"
MinimalRebuild="true"
ExceptionHandling="2"
@@ -208,7 +208,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
+ AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1"
StringPooling="true"
ExceptionHandling="2"
@@ -292,7 +292,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
+ AdditionalIncludeDirectories="..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\Oem\dbxml\xerces-c-src\src";..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1"
StringPooling="true"
ExceptionHandling="2"
Modified: trunk/MgDev/Server/src/Core/ServerCore.vcxproj
===================================================================
--- trunk/MgDev/Server/src/Core/ServerCore.vcxproj 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Core/ServerCore.vcxproj 2011-07-19 01:59:33 UTC (rev 5989)
@@ -89,7 +89,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<ExceptionHandling>Async</ExceptionHandling>
@@ -118,7 +118,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<ExceptionHandling>Async</ExceptionHandling>
@@ -148,7 +148,7 @@
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
- <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Async</ExceptionHandling>
@@ -179,7 +179,7 @@
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
- <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\Common;..\Common\Base;..\Common\Cache;..\Common\Manager;..\Common\Thread;..\Services\Drawing;..\Services\Feature;..\Services\Kml;..\Services\Mapping;..\Services\Profiling;..\Services\Rendering;..\Services\Resource;..\Services\ServerAdmin;..\Services\Site;..\Services\Tile;..\..\..\Common;..\..\..\Common\Foundation;..\..\..\Common\Geometry;..\..\..\Common\PlatformBase;..\..\..\Common\MapGuideCommon;..\..\..\Common\MdfModel;..\..\..\Common\MdfParser;..\..\..\Common\Renderers;..\..\..\Common\Stylization;..\..\..\Oem\ACE\ACE_wrappers;..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\Oem\gd\freetype\include;..\..\..\Oem\FDO\inc;..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;ACE_HAS_SVC_DLL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Async</ExceptionHandling>
@@ -417,6 +417,9 @@
<Project>{561f38ee-e22f-481a-8efb-dc0aa25b4c1f}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
+ <ProjectReference Include="..\Services\Profiling\ServerProfilingService.vcxproj">
+ <Project>{899e41f5-a58f-4c93-a623-666dce6c1536}</Project>
+ </ProjectReference>
<ProjectReference Include="..\Services\Rendering\ServerRenderingService.vcxproj">
<Project>{561f38ee-e22f-481a-8efb-dc0aa25b4c20}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Modified: trunk/MgDev/Server/src/Core/ServerFactory.cpp
===================================================================
--- trunk/MgDev/Server/src/Core/ServerFactory.cpp 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Core/ServerFactory.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -25,6 +25,7 @@
#include "ServerSiteService.h"
#include "ServerTileService.h"
#include "ServerKmlService.h"
+#include "ServerProfilingService.h"
static bool InitializeStaticData();
@@ -43,6 +44,7 @@
registry->RegisterService(MgServiceType::KmlService, MgServerKmlService::CreateService, sctLocalInProc);
registry->RegisterService(MgServiceType::ServerAdminService, MgServerAdminService::CreateService, sctLocalInProc);
registry->RegisterService(MgServiceType::SiteService, MgServerSiteService::CreateService, sctLocalInProc);
+ registry->RegisterService(MgServiceType::ProfilingService, MgServerProfilingService::CreateService, sctLocalInProc);
return true;
}
Modified: trunk/MgDev/Server/src/Core/ServiceHandlerFactory.cpp
===================================================================
--- trunk/MgDev/Server/src/Core/ServiceHandlerFactory.cpp 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Core/ServiceHandlerFactory.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -27,6 +27,7 @@
#include "SiteServiceHandler.h"
#include "TileServiceHandler.h"
#include "KmlServiceHandler.h"
+#include "ProfilingServiceHandler.h"
// References the static singleton MgServiceHandlerFactory object
static auto_ptr<MgServiceHandlerFactory> s_pFactory;
@@ -142,6 +143,10 @@
serviceHandler = new MgKmlServiceHandler(data, packet);
break;
+ case MgPacketParser::msiProfiling:
+ serviceHandler = new MgProfilingServiceHandler(data, packet);
+ break;
+
case MgPacketParser::msiUnknown:
default:
throw new MgServiceNotSupportedException(L"GetHandler",
Modified: trunk/MgDev/Server/src/Core/serverconfig.ini
===================================================================
--- trunk/MgDev/Server/src/Core/serverconfig.ini 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Core/serverconfig.ini 2011-07-19 01:59:33 UTC (rev 5989)
@@ -290,6 +290,16 @@
# *****************************************************************************
LegendFont = Arial
+[ProfilingServiceProperties]
+# *****************************************************************************
+# P R O F I L I N G S E R V I C E S E R V I C E
+#
+# Property Name Description
+# -----------------------------------------------------------------------------
+#
+#
+# *****************************************************************************
+
[RenderingServiceProperties]
# *****************************************************************************
# R E N D E R I N G S E R V I C E
Modified: trunk/MgDev/Server/src/Services/Makefile.am
===================================================================
--- trunk/MgDev/Server/src/Services/Makefile.am 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/Server/src/Services/Makefile.am 2011-07-19 01:59:33 UTC (rev 5989)
@@ -1,3 +1,3 @@
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = Drawing Feature Kml Mapping Rendering Resource ServerAdmin Site Tile
-DIST_SUBDIRS = Drawing Feature Kml Mapping Rendering Resource ServerAdmin Site Tile
+SUBDIRS = Drawing Feature Kml Mapping Profiling Rendering Resource ServerAdmin Site Tile
+DIST_SUBDIRS = Drawing Feature Kml Mapping Profiling Rendering Resource ServerAdmin Site Tile
Added: trunk/MgDev/Server/src/Services/Profiling/Makefile.am
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/Makefile.am (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/Makefile.am 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,45 @@
+AUTOMAKE_OPTIONS = foreign
+
+EXTRA_DIST = ServerProfilingService.vcproj ServerProfilingService.rc
+
+prefix=@prefix@/server
+
+INCLUDES = \
+ -I../../../../Oem/ACE/ACE_wrappers \
+ -I../../../../Oem/dbxml/xerces-c-src/src \
+ -I../../../../Common/Foundation \
+ -I../../../../Common/Geometry \
+ -I../../../../Common/PlatformBase \
+ -I../../../../Common/MapGuideCommon \
+ -I../../Common \
+ -I../../Common/Base \
+ -I../../Common/Manager \
+ -I../../../../Common/MdfModel \
+ -I../../../../Common/MdfParser \
+ -I../../../../Common/CoordinateSystem
+
+AM_CXXFLAGS = @CXXFLAGS@ -DDWFTK_USE_DWFCORE_ZLIB
+
+lib_LTLIBRARIES = libMgServerProfilingService.la
+
+libMgServerProfilingService_la_SOURCES = \
+ ServerProfilingServiceBuild.cpp
+
+include_SOURCES = \
+ ProfilingOperation.cpp \
+ ProfilingOperationFactory.cpp \
+ ProfilingServiceHandler.cpp \
+ ServerProfilingService.cpp \
+ OpProfileRenderMap.cpp \
+ OpProfileRenderDynamicOverlay.cpp
+
+noinst_HEADERS = $(include_SOURCES) \
+ ProfilingOperationFactory.h \
+ ProfilingOperation.h \
+ ProfilingServiceHandler.h \
+ ServerProfilingDllExport.h \
+ ServerProfilingService.h \
+ OpProfileRenderMap.h \
+ OpProfileRenderDynamicOverlay.h
+
+libMgServerProfilingService_la_LDFLAGS = -release $(PACKAGE_VERSION)
Added: trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.cpp (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,121 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#include "OpProfileRenderDynamicOverlay.h"
+#include "LogManager.h"
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Constructs the object.
+/// </summary>
+///----------------------------------------------------------------------------
+MgOpProfileRenderDynamicOverlay::MgOpProfileRenderDynamicOverlay()
+{
+}
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Destructs the object.
+/// </summary>
+///----------------------------------------------------------------------------
+MgOpProfileRenderDynamicOverlay::~MgOpProfileRenderDynamicOverlay()
+{
+}
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Executes the operation.
+/// </summary>
+///
+/// <exceptions>
+/// MgException
+/// </exceptions>
+///----------------------------------------------------------------------------
+void MgOpProfileRenderDynamicOverlay::Execute()
+{
+ ACE_DEBUG((LM_DEBUG, ACE_TEXT(" (%t) MgOpProfileRenderDynamicOverlay::Execute()\n")));
+
+ MG_LOG_OPERATION_MESSAGE(L"ProfileRenderDynamicOverlay");
+
+ MG_TRY()
+
+ MG_LOG_OPERATION_MESSAGE_INIT(m_packet.m_OperationVersion, m_packet.m_NumArguments);
+
+ ACE_ASSERT(m_stream != NULL);
+
+ if (3 == m_packet.m_NumArguments)
+ {
+ Ptr<MgMap> map = (MgMap*)m_stream->GetObject();
+ Ptr<MgResourceIdentifier> resource = map->GetResourceId();
+ map->SetDelayedLoadResourceService(m_resourceService);
+
+ Ptr<MgSelection> selection = (MgSelection*)m_stream->GetObject();
+ if(selection)
+ selection->SetMap(map);
+
+ Ptr<MgRenderingOptions> options = (MgRenderingOptions*)m_stream->GetObject();
+
+ BeginExecution();
+
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_START();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING((NULL == resource) ? L"MgResourceIdentifier" : resource->ToString().c_str());
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(L"MgSelection");
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(options->GetImageFormat().c_str());
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_INT32(options->GetBehavior());
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(L"MgColor");
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_END();
+
+ Validate();
+
+ Ptr<MgByteReader> byteReader = m_service->ProfileRenderDynamicOverlay(map, selection, options);
+ EndExecution(byteReader);
+ }
+ else
+ {
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_START();
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_END();
+ }
+
+ if (!m_argsRead)
+ {
+ throw new MgOperationProcessingException(L"MgOpProfileRenderDynamicOverlay.Execute",
+ __LINE__, __WFILE__, NULL, L"", NULL);
+ }
+
+ // Successful operation
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(MgResources::Success.c_str());
+
+ MG_CATCH(L"MgOpProfileRenderDynamicOverlay.Execute")
+
+ if (mgException != NULL)
+ {
+ // Failed operation
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(MgResources::Failure.c_str());
+ }
+
+ // Add access log entry for operation
+ MG_LOG_OPERATION_MESSAGE_ACCESS_ENTRY();
+
+ MG_THROW()
+}
Added: trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.h
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.h (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderDynamicOverlay.h 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,33 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef MG_OP_PROFILE_DYNAMIC_OVERLAY_H
+#define MG_OP_PROFILE_DYNAMIC_OVERLAY_H
+
+#include "ProfilingOperation.h"
+
+class MgOpProfileRenderDynamicOverlay : public MgProfilingOperation
+{
+ public:
+ MgOpProfileRenderDynamicOverlay();
+ virtual ~MgOpProfileRenderDynamicOverlay();
+
+ public:
+ virtual void Execute();
+};
+
+#endif
Added: trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.cpp (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,148 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#include "OpProfileRenderMap.h"
+#include "LogManager.h"
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Constructs the object.
+/// </summary>
+///----------------------------------------------------------------------------
+MgOpProfileRenderMap::MgOpProfileRenderMap()
+{
+}
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Destructs the object.
+/// </summary>
+///----------------------------------------------------------------------------
+MgOpProfileRenderMap::~MgOpProfileRenderMap()
+{
+}
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Executes the operation.
+/// </summary>
+///
+/// <exceptions>
+/// MgException
+/// </exceptions>
+///----------------------------------------------------------------------------
+void MgOpProfileRenderMap::Execute()
+{
+ ACE_DEBUG((LM_DEBUG, ACE_TEXT(" (%t) MgOpProfileRenderMap::Execute()\n")));
+
+ MG_LOG_OPERATION_MESSAGE(L"ProfileRenderMap");
+
+ MG_TRY()
+
+ MG_LOG_OPERATION_MESSAGE_INIT(m_packet.m_OperationVersion, m_packet.m_NumArguments);
+
+ ACE_ASSERT(m_stream != NULL);
+
+ if (9 == m_packet.m_NumArguments)
+ {
+ Ptr<MgMap> map = (MgMap*)m_stream->GetObject();
+ Ptr<MgResourceIdentifier> resource = map->GetResourceId();
+ map->SetDelayedLoadResourceService(m_resourceService);
+
+ Ptr<MgSelection> selection = (MgSelection*)m_stream->GetObject();
+ if(selection)
+ selection->SetMap(map);
+
+ Ptr<MgCoordinate> center = (MgCoordinate*)m_stream->GetObject();
+
+ double scale = 0.0;
+ m_stream->GetDouble(scale);
+
+ INT32 width = 0;
+ m_stream->GetInt32(width);
+
+ INT32 height = 0;
+ m_stream->GetInt32(height);
+
+ Ptr<MgColor> color = (MgColor*)m_stream->GetObject();
+
+ STRING format;
+ m_stream->GetString(format);
+
+ bool bKeepSelection = false;
+ m_stream->GetBoolean(bKeepSelection);
+
+ BeginExecution();
+
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_START();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING((NULL == resource) ? L"MgResourceIdentifier" : resource->ToString().c_str());
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(L"MgSelection");
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(L"MgCoordinate");
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_DOUBLE(scale);
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_INT32(width);
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_INT32(height);
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(L"MgColor");
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(format.c_str());
+ MG_LOG_OPERATION_MESSAGE_ADD_SEPARATOR();
+ MG_LOG_OPERATION_MESSAGE_ADD_BOOL(bKeepSelection);
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_END();
+
+ Validate();
+
+ Ptr<MgByteReader> byteReader =
+ m_service->ProfileRenderMap(map, selection, center, scale, width, height, color, format, bKeepSelection);
+
+ EndExecution(byteReader);
+ }
+ else
+ {
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_START();
+ MG_LOG_OPERATION_MESSAGE_PARAMETERS_END();
+ }
+
+ if (!m_argsRead)
+ {
+ throw new MgOperationProcessingException(L"MgOpProfileRenderMap.Execute",
+ __LINE__, __WFILE__, NULL, L"", NULL);
+ }
+
+ // Successful operation
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(MgResources::Success.c_str());
+
+ MG_CATCH(L"MgOpProfileRenderMap.Execute")
+
+ if (mgException != NULL)
+ {
+ // Failed operation
+ MG_LOG_OPERATION_MESSAGE_ADD_STRING(MgResources::Failure.c_str());
+ }
+
+ // Add access log entry for operation
+ MG_LOG_OPERATION_MESSAGE_ACCESS_ENTRY();
+
+ MG_THROW()
+}
Added: trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.h
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.h (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/OpProfileRenderMap.h 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,33 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef MG_OP_PROFILE_RENDER_MAP_H
+#define MG_OP_PROFILE_RENDER_MAP_H
+
+#include "ProfilingOperation.h"
+
+class MgOpProfileRenderMap : public MgProfilingOperation
+{
+ public:
+ MgOpProfileRenderMap();
+ virtual ~MgOpProfileRenderMap();
+
+ public:
+ virtual void Execute();
+};
+
+#endif
Added: trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.cpp (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,76 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#include "MapGuideCommon.h"
+#include "ProfilingOperation.h"
+#include "ServiceManager.h"
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Constructs the object.
+/// </summary>
+///
+/// <exceptions>
+/// MgException
+/// </exceptions>
+///----------------------------------------------------------------------------
+MgProfilingOperation::MgProfilingOperation()
+{
+}
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Destructs the object.
+/// </summary>
+///----------------------------------------------------------------------------
+MgProfilingOperation::~MgProfilingOperation()
+{
+}
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Initialize the operation with the given stream data and operation packet.
+/// </summary>
+///----------------------------------------------------------------------------
+void MgProfilingOperation::Initialize(MgStreamData* data, const MgOperationPacket& packet)
+{
+ // Let the base class do its things so that current user information can be
+ // saved into the thread local storage.
+ MgServiceOperation::Initialize(data, packet);
+
+ // Initialize the service.
+ MgServiceManager* serviceManager = MgServiceManager::GetInstance();
+ assert(NULL != serviceManager);
+
+ m_service = dynamic_cast<MgProfilingService*>(
+ serviceManager->RequestService(MgServiceType::ProfilingService));
+ assert(m_service != NULL);
+}
+
+
+///----------------------------------------------------------------------------
+/// <summary>
+/// Perform validation on the operation
+/// </summary>
+///----------------------------------------------------------------------------
+void MgProfilingOperation::Validate()
+{
+ CheckLicense();
+}
Added: trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.h
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.h (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ProfilingOperation.h 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,58 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef MGPROFILINGOPERATION_H_
+#define MGPROFILINGOPERATION_H_
+
+#include "ServiceOperation.h"
+
+class MgProfilingOperation : public MgServiceOperation
+{
+/// Constructors/Destructor
+
+public:
+ virtual ~MgProfilingOperation();
+
+protected:
+ MgProfilingOperation();
+
+/// Methods
+
+public:
+ virtual MgService* GetService();
+ virtual void Initialize(MgStreamData* data, const MgOperationPacket& packet);
+
+protected:
+ virtual void Validate();
+
+/// Member Variables
+
+protected:
+ Ptr<MgProfilingService> m_service;
+};
+
+
+// Inline Methods
+
+inline MgService* MgProfilingOperation::GetService()
+{
+ // To avoid overheads and maintain thread safety,
+ // do not assign this returned object to a Ptr object.
+ return m_service.p;
+}
+
+#endif
Added: trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.cpp (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,96 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#include "MapGuideCommon.h"
+#include "ProfilingOperationFactory.h"
+#include "ProfilingOperation.h"
+
+
+///////////////////////////////////////////////////////////////////////////
+/// <summary>
+/// The default constructor for an MgProfilingOperationFactory object. However, since
+/// this function is protected, this object should never really be
+/// constructed. Rather, it is merely a wrapper class for other static
+/// functions.
+/// </summary>
+MgProfilingOperationFactory::MgProfilingOperationFactory()
+{
+}
+
+
+///////////////////////////////////////////////////////////////////////////////
+/// <summary>
+/// This static method returns the IMgOperationHandler object that corresponds
+/// to the given ID and Version parameters.
+/// </summary>
+/// <param name="operationId">
+/// The ID of the requested operation.
+/// </param>
+/// <param name="operationVersion">
+/// The version of the requested operation.
+/// </param>
+/// <returns>
+/// Returns an IMgOperationHandler object corresponding to the given parameters.
+/// Returns NULL if one cannot be found.
+/// </returns>
+/// <exceptions>
+/// An MgException is thrown on failure.
+/// </exceptions>
+/// TODO: handle different versions
+/// TODO: set up ids and whatnot in a hash or map instead of hardcoding the ids here
+IMgOperationHandler* MgProfilingOperationFactory::GetOperation(
+ ACE_UINT32 operationId, ACE_UINT32 operationVersion)
+{
+ auto_ptr<IMgOperationHandler> handler;
+
+ MG_TRY()
+
+ switch (operationId)
+ {
+ case MgProfilingServiceOpId::ProfileRenderDynamicOverlay:
+ switch (VERSION_NO_PHASE(operationVersion))
+ {
+ case VERSION_SUPPORTED(2,4):
+ handler.reset(new MgOpProfileRenderDynamicOverlay());
+ break;
+ default:
+ throw new MgInvalidOperationVersionException(
+ L"MgProfilingOperationFactory.GetOperation", __LINE__, __WFILE__, NULL, L"", NULL);
+ }
+ break;
+
+ case MgProfilingServiceOpId::ProfileRenderMap:
+ switch (VERSION_NO_PHASE(operationVersion))
+ {
+ case VERSION_SUPPORTED(2,4):
+ handler.reset(new MgOpProfileRenderMap());
+ break;
+ default:
+ throw new MgInvalidOperationVersionException(
+ L"MgProfilingOperationFactory.GetOperation", __LINE__, __WFILE__, NULL, L"", NULL);
+ }
+ break;
+
+ default:
+ throw new MgInvalidOperationException(
+ L"MgProfilingOperationFactory.GetOperation", __LINE__, __WFILE__, NULL, L"", NULL);
+ }
+
+ MG_CATCH_AND_THROW(L"MgProfilingOperationFactory.GetOperation")
+
+ return handler.release();
+}
Added: trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.h
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.h (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ProfilingOperationFactory.h 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,44 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef MGPROFILINGOPERATIONFACTORY_H
+#define MGPROFILINGOPERATIONFACTORY_H
+
+///////////////////////////////////////////////////////////////////////////
+/// The MgProfilingOperationFactory class is an object that allows one to get
+/// an IMgOperationHandler object that corresponds to given ID and version
+/// parameters. It currently is merely a wrapper object for one static
+/// function.
+///
+/// TODO: there could be several operation factories dependent on
+/// id, version, and service, so this static function will have to
+/// be replaced.
+class MgProfilingOperationFactory
+{
+ ///////////////////////////////////////////////////////////////////////////
+ /// Constructors/Destructor
+ protected :
+ MgProfilingOperationFactory();
+
+ ///////////////////////////////////////////////////////////////////////////
+ /// Methods
+ public :
+ static IMgOperationHandler* GetOperation(ACE_UINT32 operationId,
+ ACE_UINT32 operationVersion);
+};
+
+#endif
Added: trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.cpp (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,97 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#include "MapGuideCommon.h"
+#include "ProfilingServiceHandler.h"
+#include "ProfilingOperationFactory.h"
+#include "ServerManager.h"
+#include "LogManager.h"
+
+//-------------------------------------------------------------------------
+// Constructors/Destructor
+//-------------------------------------------------------------------------
+
+///////////////////////////////////////////////////////////////////////////
+//
+// <summary>
+// Constructs a MgProfilingServiceHandler object with the given parameters.
+// </summary>
+//
+// <param name = "data">
+// A pointer the the MgStreamData object that encapsulates the incoming
+// stream information.
+// </param>
+//
+// <param name = "packet">
+// The Operation Packet that has already been read from the incoming
+// data stream.
+// </param>
+MgProfilingServiceHandler::MgProfilingServiceHandler(MgStreamData* data,
+ const MgOperationPacket& packet) :
+ IMgServiceHandler(data, packet)
+{
+}
+
+///////////////////////////////////////////////////////////////////////////
+// <summary>
+// The destructor for the MgProfilingServiceHandler object.
+// </summary>
+MgProfilingServiceHandler::~MgProfilingServiceHandler( void )
+{
+}
+
+//-------------------------------------------------------------------------
+// Methods/Functions
+//-------------------------------------------------------------------------
+
+///////////////////////////////////////////////////////////////////////////
+// <summary>
+// Processes the appropriate operation using the Operation Packet and
+// MgStreamData objects given during construction.
+// Overrides IServiceHander::ProcessOperation().
+// </summary>
+IMgServiceHandler::MgProcessStatus MgProfilingServiceHandler::ProcessOperation()
+{
+ IMgServiceHandler::MgProcessStatus status = IMgServiceHandler::mpsError;
+ auto_ptr<IMgOperationHandler> handler;
+
+ MG_TRY()
+
+ handler.reset(MgProfilingOperationFactory::GetOperation(
+ m_packet.m_OperationID, m_packet.m_OperationVersion));
+ assert(NULL != handler.get());
+
+ handler->Initialize(m_data, m_packet);
+ handler->Execute();
+
+ status = IMgServiceHandler::mpsDone;
+
+ MG_CATCH(L"MgProfilingServiceHandler.ProcessOperation")
+
+ if (mgException != NULL && NULL != handler.get())
+ {
+ status = (handler.get()->HandleException(mgException) ?
+ IMgServiceHandler::mpsDone : IMgServiceHandler::mpsError);
+ }
+
+ if (IMgServiceHandler::mpsDone != status)
+ {
+ MG_THROW();
+ }
+
+ return status;
+}
Added: trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.h
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.h (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ProfilingServiceHandler.h 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,40 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef MGPROFILINGSERVICEHANDLER_H
+#define MGPROFILINGSERVICEHANDLER_H
+
+#include "IServiceHandler.h"
+#include "ServerProfilingDllExport.h"
+
+///////////////////////////////////////////////////////////////////////////
+/// This implementation of the IMgServiceHandler interface handles
+/// operations not directly handled by any other service.
+class MG_SERVER_PROFILING_API MgProfilingServiceHandler : public IMgServiceHandler
+{
+public:
+ ///////////////////////////////////////////////////////////////////////////
+ /// Constructor/Destructor
+ MgProfilingServiceHandler(MgStreamData* data, const MgOperationPacket& packet);
+ virtual ~MgProfilingServiceHandler( void );
+
+ ///////////////////////////////////////////////////////////////////
+ /// Overridden IMgServiceHandler methods
+ virtual IMgServiceHandler::MgProcessStatus ProcessOperation();
+};
+
+#endif
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingDllExport.h
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingDllExport.h (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingDllExport.h 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,31 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef _MG_SERVER_PROFILING_EXPORT_
+#define _MG_SERVER_PROFILING_EXPORT_
+
+#ifdef _WIN32
+#ifdef MG_SERVER_PROFILING_EXPORTS
+# define MG_SERVER_PROFILING_API __declspec(dllexport)
+#else
+# define MG_SERVER_PROFILING_API __declspec(dllimport)
+#endif
+#else
+#define MG_SERVER_PROFILING_API
+#endif
+
+#endif // _MG_SERVER_PROFILING_EXPORT_
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.cpp (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,118 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#include "MapGuideCommon.h"
+#include "ServerProfilingService.h"
+//#include "MapProfileResult.h"
+#include "SAX2Parser.h"
+
+
+IMPLEMENT_CREATE_SERVICE(MgServerProfilingService)
+
+///////////////////////////////////////////////////////////////////////////////
+MgServerProfilingService::MgServerProfilingService() : MgProfilingService()
+{
+ // store references to the various services we use
+ MgServiceManager* serviceMan = MgServiceManager::GetInstance();
+ assert(NULL != serviceMan);
+
+ m_svcResource = dynamic_cast<MgResourceService*>(serviceMan->RequestService(MgServiceType::ResourceService));
+ assert(m_svcResource != NULL);
+
+ m_svcFeature = dynamic_cast<MgFeatureService*>(serviceMan->RequestService(MgServiceType::FeatureService));
+ assert(m_svcFeature != NULL);
+
+ m_svcRendering = dynamic_cast<MgRenderingService*>(serviceMan->RequestService(MgServiceType::RenderingService));
+ assert(m_svcRendering != NULL);
+}
+
+
+///////////////////////////////////////////////////////////////////////////////
+MgServerProfilingService::~MgServerProfilingService()
+{
+}
+
+
+///////////////////////////////////////////////////////////////////////////////
+
+MgByteReader* MgServerProfilingService::ProfileRenderDynamicOverlay(MgMap* map,
+ MgSelection* selection,
+ MgRenderingOptions* options)
+{
+ Ptr<MgByteReader> ret;
+
+ /*MG_TRY()
+
+ if (NULL == map)
+ throw new MgNullArgumentException(L"MgServerProfilingService.ProfileRenderDynamicOverlay", __LINE__, __WFILE__, NULL, L"", NULL);
+
+
+ MG_CATCH_AND_THROW(L"MgServerProfilingService.ProfileRenderDynamicOverlay")*/
+
+ return ret.Detach();
+}
+
+
+MgByteReader* MgServerProfilingService::ProfileRenderMap(MgMap* map,
+ MgSelection* selection,
+ MgCoordinate* center,
+ double scale,
+ INT32 width,
+ INT32 height,
+ MgColor* backgroundColor,
+ CREFSTRING format,
+ bool bKeepSelection)
+{
+ Ptr<MgByteReader> ret;
+
+ //MG_TRY()
+ //MapProfileResult* mapProfileResult = new MapProfileResult();
+ //m_svcRendering->SetProfileResult(mapProfileResult);
+ //ret = m_svcRendering->RenderMap(map,selection,center,scale,width,height,backgroundColor,format,bKeepSelection);
+ //
+ //Version mapProfileResultVersion23(2, 3, 0); // MapGuide 2012
+ //MdfParser::SAX2Parser parser;
+ //parser.WriteToFile("c:\\map.xml",mapProfileResult,&mapProfileResultVersion23);
+ //MG_CATCH_AND_THROW(L"MgServerProfilingService.ProfileRenderMap")
+
+ return ret.Detach();
+}
+
+///////////////////////////////////////////////////////////////////////////////
+// Profile RenderMapLegend API
+//MgByteReader* MgServerProfilingService::ProfileRenderMapLegend(MgMap* map,
+// INT32 width,
+// INT32 height,
+// MgColor* backgroundColor,
+// CREFSTRING format)
+//{
+// Ptr<MgByteReader> ret;
+//
+// MG_TRY()
+//
+//
+// MG_CATCH_AND_THROW(L"MgServerRenderingService.RenderMapLegend")
+// return ret.Detach();
+//}
+
+
+///////////////////////////////////////////////////////////////////////////////
+void MgServerProfilingService::SetConnectionProperties(MgConnectionProperties*)
+{
+ // Do nothing. No connection properties are required for server-side service objects.
+}
+
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.h
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.h (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.h 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,57 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef MGSERVERPROFILINGSERVICE_H
+#define MGSERVERPROFILINGSERVICE_H
+
+#include "ServerProfilingDllExport.h"
+
+class MG_SERVER_PROFILING_API MgServerProfilingService : public MgProfilingService
+{
+ DECLARE_CLASSNAME(MgServerProfilingService)
+
+public:
+ MgServerProfilingService();
+ ~MgServerProfilingService();
+
+ DECLARE_CREATE_SERVICE()
+
+ void SetConnectionProperties(MgConnectionProperties* connProp);
+
+ virtual MgByteReader* ProfileRenderDynamicOverlay(MgMap* map,
+ MgSelection* selection,
+ MgRenderingOptions* options);
+
+ virtual MgByteReader* ProfileRenderMap(MgMap* map,
+ MgSelection* selection,
+ MgCoordinate* center,
+ double scale,
+ INT32 width,
+ INT32 height,
+ MgColor* backgroundColor,
+ CREFSTRING format,
+ bool bKeepSelection);
+
+private:
+
+ // member data
+ Ptr<MgFeatureService> m_svcFeature;
+ Ptr<MgResourceService> m_svcResource;
+ Ptr<MgRenderingService> m_svcRendering;
+};
+
+#endif
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.rc
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.rc (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.rc 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,96 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "winresrc.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "#include ""winresrc.h""\r\n"
+ "\0"
+END
+
+2 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 2,3,0,0
+ PRODUCTVERSION 2,3,0,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x2L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "CompanyName", "Open Source Geospatial Foundation"
+ VALUE "FileDescription", "ServerProfilingService Dynamic Link Library"
+ VALUE "FileVersion", "2, 3, 0, 0"
+ VALUE "InternalName", "MgServerProfilingService"
+ VALUE "LegalCopyright", "Copyright (C) 2006-2011 by Autodesk, Inc."
+ VALUE "OriginalFilename", "MgServerProfilingService.dll"
+ VALUE "ProductName", "MapGuide Open Source"
+ VALUE "ProductVersion", "2, 3, 0, 0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+#endif // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcproj
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcproj (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcproj 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,641 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="ServerProfilingService"
+ ProjectGUID="{899E41F5-A58F-4C93-A623-666DCE6C1536}"
+ RootNamespace="ServerProfilingService"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="131072"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ <Platform
+ Name="x64"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="..\..\..\bin\debug"
+ IntermediateDirectory="..\..\..\obj\debug\Services\Profiling"
+ ConfigurationType="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src""
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB"
+ MinimalRebuild="true"
+ ExceptionHandling="2"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="ACEd.lib"
+ OutputFile="$(OutDir)\MgServerProfilingServiced.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="..\..\..\..\Oem\ACE\ACE_wrappers\lib"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)\MgServerProfilingServiced.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ ImportLibrary="..\..\..\lib\debug\MgServerProfilingServiced.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Debug|x64"
+ OutputDirectory="..\..\..\bin\debug64"
+ IntermediateDirectory="..\..\..\obj\debug64\Services\Profiling"
+ ConfigurationType="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src""
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB"
+ MinimalRebuild="true"
+ ExceptionHandling="2"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="ACEd.lib"
+ OutputFile="$(OutDir)\MgServerProfilingServiced.dll"
+ LinkIncremental="2"
+ AdditionalLibraryDirectories="..\..\..\..\Oem\ACE\ACE_wrappers\lib64"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)\MgServerProfilingServiced.pdb"
+ SubSystem="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ ImportLibrary="..\..\..\lib\debug64\MgServerProfilingServiced.lib"
+ TargetMachine="17"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="..\..\..\bin\release"
+ IntermediateDirectory="..\..\..\obj\release\Services\Profiling"
+ ConfigurationType="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalIncludeDirectories="..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src""
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB"
+ ExceptionHandling="2"
+ RuntimeLibrary="2"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="ACE.lib"
+ OutputFile="$(OutDir)\MgServerProfilingService.dll"
+ LinkIncremental="1"
+ AdditionalLibraryDirectories="..\..\..\..\Oem\ACE\ACE_wrappers\lib"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)\MgServerProfilingService.pdb"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ ImportLibrary="..\..\..\lib\release\MgServerProfilingService.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|x64"
+ OutputDirectory="..\..\..\bin\release64"
+ IntermediateDirectory="..\..\..\obj\release64\Services\Profiling"
+ ConfigurationType="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalIncludeDirectories="..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;"..\..\..\..\Oem\dbxml\xerces-c-src\src""
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB"
+ ExceptionHandling="2"
+ RuntimeLibrary="2"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="ACE.lib"
+ OutputFile="$(OutDir)\MgServerProfilingService.dll"
+ LinkIncremental="1"
+ AdditionalLibraryDirectories="..\..\..\..\Oem\ACE\ACE_wrappers\lib64"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)\MgServerProfilingService.pdb"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ ImportLibrary="..\..\..\lib\release64\MgServerProfilingService.lib"
+ TargetMachine="17"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Ops"
+ >
+ <File
+ RelativePath=".\OpProfileRenderDynamicOverlay.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath=".\OpProfileRenderDynamicOverlay.h"
+ >
+ </File>
+ <File
+ RelativePath=".\OpProfileRenderMap.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath=".\OpProfileRenderMap.h"
+ >
+ </File>
+ <File
+ RelativePath=".\ProfilingOperation.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath=".\ProfilingOperation.h"
+ >
+ </File>
+ <File
+ RelativePath=".\ProfilingOperationFactory.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath=".\ProfilingOperationFactory.h"
+ >
+ </File>
+ </Filter>
+ <File
+ RelativePath="..\..\Common\Dll.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath=".\ProfilingServiceHandler.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath=".\ProfilingServiceHandler.h"
+ >
+ </File>
+ <File
+ RelativePath=".\ServerProfilingDllExport.h"
+ >
+ </File>
+ <File
+ RelativePath=".\ServerProfilingService.cpp"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|x64"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath=".\ServerProfilingService.h"
+ >
+ </File>
+ <File
+ RelativePath=".\ServerProfilingService.rc"
+ >
+ </File>
+ <File
+ RelativePath=".\ServerProfilingServiceBuild.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\Common\stdafx.h"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{899E41F5-A58F-4C93-A623-666DCE6C1536}</ProjectGuid>
+ <RootNamespace>ServerProfilingService</RootNamespace>
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\bin\debug\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\obj\debug\Services\Profiling\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\bin\debug64\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\obj\debug64\Services\Profiling\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\bin\release\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\obj\release\Services\Profiling\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\bin\release64\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\obj\release64\Services\Profiling\</IntDir>
+ <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+ <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
+ <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
+ <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
+ <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
+ <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
+ <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
+ <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
+ <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
+ <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
+ <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
+ <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
+ <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\DWFTK7.1\develop\global\src;..\..\..\..\Oem\FDO\inc;..\..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <MinimalRebuild>true</MinimalRebuild>
+ <ExceptionHandling>Async</ExceptionHandling>
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>ACEd.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(OutDir)MgServerProfilingServiced.dll</OutputFile>
+ <AdditionalLibraryDirectories>..\..\..\..\Oem\ACE\ACE_wrappers\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <ProgramDatabaseFile>$(OutDir)MgServerProfilingServiced.pdb</ProgramDatabaseFile>
+ <SubSystem>Windows</SubSystem>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <DataExecutionPrevention>
+ </DataExecutionPrevention>
+ <ImportLibrary>..\..\..\lib\debug\MgServerProfilingServiced.lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <MinimalRebuild>true</MinimalRebuild>
+ <ExceptionHandling>Async</ExceptionHandling>
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>ACEd.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(OutDir)MgServerProfilingServiced.dll</OutputFile>
+ <AdditionalLibraryDirectories>..\..\..\..\Oem\ACE\ACE_wrappers\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <ProgramDatabaseFile>$(OutDir)MgServerProfilingServiced.pdb</ProgramDatabaseFile>
+ <SubSystem>Windows</SubSystem>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <DataExecutionPrevention>
+ </DataExecutionPrevention>
+ <ImportLibrary>..\..\..\lib\debug64\MgServerProfilingServiced.lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <Optimization>MaxSpeed</Optimization>
+ <AdditionalIncludeDirectories>..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\DWFTK7.1\develop\global\src;..\..\..\..\Oem\FDO\inc;..\..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <ExceptionHandling>Async</ExceptionHandling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>ACE.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(OutDir)MgServerProfilingService.dll</OutputFile>
+ <AdditionalLibraryDirectories>..\..\..\..\Oem\ACE\ACE_wrappers\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <ProgramDatabaseFile>$(OutDir)MgServerProfilingService.pdb</ProgramDatabaseFile>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <DataExecutionPrevention>
+ </DataExecutionPrevention>
+ <ImportLibrary>..\..\..\lib\release\MgServerProfilingService.lib</ImportLibrary>
+ <TargetMachine>MachineX86</TargetMachine>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <Optimization>MaxSpeed</Optimization>
+ <AdditionalIncludeDirectories>..\..\..\..\Common\Foundation;..\..\..\..\Common\Geometry;..\..\..\..\Common\PlatformBase;..\..\..\..\Common\MapGuideCommon;..\..\..\..\Common\MdfParser;..\..\..\..\Common\MdfModel;..\..\..\..\Common\Renderers;..\..\..\..\Common\Stylization;..\..\Common;..\..\Common\Base;..\..\Common\Manager;..\Feature;..\Mapping;..\..\..\..\Oem\ACE\ACE_wrappers;..\..\..\..\Oem\dbxml\xerces-c-src\src;..\..\..\..\Oem\DWFTK7.1\develop\global\src;..\..\..\..\Oem\FDO\inc;..\..\..\..\Oem\FDO\inc\ExpressionEngine;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MG_SERVER_PROFILING_EXPORTS;DWFCORE_STATIC;DWFTK_USE_DWFCORE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <ExceptionHandling>Async</ExceptionHandling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>ACE.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <OutputFile>$(OutDir)MgServerProfilingService.dll</OutputFile>
+ <AdditionalLibraryDirectories>..\..\..\..\Oem\ACE\ACE_wrappers\lib64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <ProgramDatabaseFile>$(OutDir)MgServerProfilingService.pdb</ProgramDatabaseFile>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <DataExecutionPrevention>
+ </DataExecutionPrevention>
+ <ImportLibrary>..\..\..\lib\release64\MgServerProfilingService.lib</ImportLibrary>
+ <TargetMachine>MachineX64</TargetMachine>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="OpProfileRenderDynamicOverlay.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="OpProfileRenderMap.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="ProfilingOperation.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="ProfilingOperationFactory.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="..\..\Common\Dll.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="ProfilingServiceHandler.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="ServerProfilingService.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="ServerProfilingServiceBuild.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="OpProfileRenderDynamicOverlay.h" />
+ <ClInclude Include="OpProfileRenderMap.h" />
+ <ClInclude Include="ProfilingOperation.h" />
+ <ClInclude Include="ProfilingOperationFactory.h" />
+ <ClInclude Include="ProfilingServiceHandler.h" />
+ <ClInclude Include="ServerProfilingDllExport.h" />
+ <ClInclude Include="ServerProfilingService.h" />
+ <ClInclude Include="..\..\Common\stdafx.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="ServerProfilingService.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\..\Common\Foundation\Foundation.vcxproj">
+ <Project>{a82adc7d-4da4-42f2-9bf6-df5dcfb44425}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\..\Common\Geometry\Geometry.vcxproj">
+ <Project>{d954daac-e305-40ce-b3f3-c229a0bef4f0}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\..\Common\MapGuideCommon\MapGuideCommon.vcxproj">
+ <Project>{5287a594-4d4f-43fe-a281-e279ab708cf1}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\..\Common\PlatformBase\PlatformBase.vcxproj">
+ <Project>{f7334b1b-0efa-47e3-8e66-df158e61b7e4}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\Common\Base\ServerBase.vcxproj">
+ <Project>{a4f7f6b2-0e74-4dfd-b283-c7e380bd6f58}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\Common\Manager\ServerManager.vcxproj">
+ <Project>{adbf25e2-c629-4832-b315-f12abde05632}</Project>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj.filters
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj.filters (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingService.vcxproj.filters 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Ops">
+ <UniqueIdentifier>{6f852e7d-f829-4d75-899e-cf3988a25a47}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="OpProfileRenderDynamicOverlay.cpp">
+ <Filter>Ops</Filter>
+ </ClCompile>
+ <ClCompile Include="OpProfileRenderMap.cpp">
+ <Filter>Ops</Filter>
+ </ClCompile>
+ <ClCompile Include="ProfilingOperation.cpp">
+ <Filter>Ops</Filter>
+ </ClCompile>
+ <ClCompile Include="ProfilingOperationFactory.cpp">
+ <Filter>Ops</Filter>
+ </ClCompile>
+ <ClCompile Include="..\..\Common\Dll.cpp" />
+ <ClCompile Include="ProfilingServiceHandler.cpp" />
+ <ClCompile Include="ServerProfilingService.cpp" />
+ <ClCompile Include="ServerProfilingServiceBuild.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="OpProfileRenderDynamicOverlay.h">
+ <Filter>Ops</Filter>
+ </ClInclude>
+ <ClInclude Include="OpProfileRenderMap.h">
+ <Filter>Ops</Filter>
+ </ClInclude>
+ <ClInclude Include="ProfilingOperation.h">
+ <Filter>Ops</Filter>
+ </ClInclude>
+ <ClInclude Include="ProfilingOperationFactory.h">
+ <Filter>Ops</Filter>
+ </ClInclude>
+ <ClInclude Include="ProfilingServiceHandler.h" />
+ <ClInclude Include="ServerProfilingDllExport.h" />
+ <ClInclude Include="ServerProfilingService.h" />
+ <ClInclude Include="..\..\Common\stdafx.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="ServerProfilingService.rc" />
+ </ItemGroup>
+</Project>
Added: trunk/MgDev/Server/src/Services/Profiling/ServerProfilingServiceBuild.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Profiling/ServerProfilingServiceBuild.cpp (rev 0)
+++ trunk/MgDev/Server/src/Services/Profiling/ServerProfilingServiceBuild.cpp 2011-07-19 01:59:33 UTC (rev 5989)
@@ -0,0 +1,26 @@
+//
+// Copyright (C) 2004-2011 by Autodesk, Inc.
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of version 2.1 of the GNU Lesser
+// General Public License as published by the Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifdef _WIN32
+#include "Dll.cpp"
+#endif
+#include "OpProfileRenderDynamicOverlay.cpp"
+#include "OpProfileRenderMap.cpp"
+#include "ProfilingOperation.cpp"
+#include "ProfilingOperationFactory.cpp"
+#include "ProfilingServiceHandler.cpp"
+#include "ServerProfilingService.cpp"
Modified: trunk/MgDev/configure
===================================================================
--- trunk/MgDev/configure 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/configure 2011-07-19 01:59:33 UTC (rev 5989)
@@ -20888,6 +20888,7 @@
"Server/src/Services/Resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES Server/src/Services/Resource/Makefile" ;;
"Server/src/Services/Site/Makefile" ) CONFIG_FILES="$CONFIG_FILES Server/src/Services/Site/Makefile" ;;
"Server/src/Services/Drawing/Makefile" ) CONFIG_FILES="$CONFIG_FILES Server/src/Services/Drawing/Makefile" ;;
+ "Server/src/Services/Profiling/Makefile" ) CONFIG_FILES="$CONFIG_FILES Server/src/Services/Profiling/Makefile" ;;
"Server/src/Services/Rendering/Makefile" ) CONFIG_FILES="$CONFIG_FILES Server/src/Services/Rendering/Makefile" ;;
"Server/src/Services/ServerAdmin/Makefile" ) CONFIG_FILES="$CONFIG_FILES Server/src/Services/ServerAdmin/Makefile" ;;
"Server/src/Services/Tile/Makefile" ) CONFIG_FILES="$CONFIG_FILES Server/src/Services/Tile/Makefile" ;;
Modified: trunk/MgDev/configure.in
===================================================================
--- trunk/MgDev/configure.in 2011-07-14 10:10:46 UTC (rev 5988)
+++ trunk/MgDev/configure.in 2011-07-19 01:59:33 UTC (rev 5989)
@@ -226,6 +226,7 @@
Server/src/Services/Resource/Makefile \
Server/src/Services/Site/Makefile \
Server/src/Services/Drawing/Makefile \
+ Server/src/Services/Profiling/Makefile \
Server/src/Services/Rendering/Makefile \
Server/src/Services/ServerAdmin/Makefile \
Server/src/Services/Tile/Makefile \
More information about the mapguide-commits
mailing list