mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Added shared_message example
This commit is contained in:
parent
7e340f5e71
commit
a008ea3bfa
188
examples/SharedMessage/SharedMessage.cpp
Normal file
188
examples/SharedMessage/SharedMessage.cpp
Normal file
@ -0,0 +1,188 @@
|
|||||||
|
// SharedMessage.cpp : This file contains the 'main' function. Program execution begins and ends there.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "etl/shared_message.h"
|
||||||
|
#include "etl/message.h"
|
||||||
|
#include "etl/reference_counted_message_pool.h"
|
||||||
|
#include "etl/message_router.h"
|
||||||
|
#include "etl/message_bus.h"
|
||||||
|
#include "etl/fixed_sized_memory_block_allocator.h"
|
||||||
|
#include "etl/queue.h"
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <atomic>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
constexpr etl::message_router_id_t RouterId1 = 1U;
|
||||||
|
constexpr etl::message_router_id_t RouterId2 = 2U;
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
struct Message1 : public etl::message<1>
|
||||||
|
{
|
||||||
|
Message1(std::string s_)
|
||||||
|
: s(s_)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string s;
|
||||||
|
};
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
struct Message2 : public etl::message<2>
|
||||||
|
{
|
||||||
|
Message2(std::string s_)
|
||||||
|
: s(s_)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string s;
|
||||||
|
};
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
void Print(const std::string& prefix, const etl::shared_message& sm)
|
||||||
|
{
|
||||||
|
std::cout << prefix << " : " << int(sm.get_message().get_message_id()) << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
class MessageRouter1 : public etl::message_router<MessageRouter1, Message1, Message2>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
MessageRouter1()
|
||||||
|
: message_router(RouterId1)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void on_receive(etl::imessage_router& source, const Message1& msg)
|
||||||
|
{
|
||||||
|
std::cout << "on_receive Message1 : " << msg.s << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void on_receive(etl::imessage_router& source, const Message2& msg)
|
||||||
|
{
|
||||||
|
std::cout << "on_receive Message2 : " << msg.s << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void on_receive_unknown(etl::imessage_router& source, const etl::imessage& msg)
|
||||||
|
{
|
||||||
|
std::cout << "on_receive Unknown\n";
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
class MessageRouter2 : public etl::message_router<MessageRouter2, Message1, Message2>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
using base_t = etl::message_router<MessageRouter2, Message1, Message2>;
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
MessageRouter2()
|
||||||
|
: message_router(RouterId2)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
using base_t::receive;
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void receive(etl::imessage_router& source, etl::shared_message shared_msg) override
|
||||||
|
{
|
||||||
|
if (!queue.full())
|
||||||
|
{
|
||||||
|
Print("Queueing shared message", shared_msg);
|
||||||
|
|
||||||
|
queue.push(QueuedData{ &source, shared_msg });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void process_queue()
|
||||||
|
{
|
||||||
|
while (!queue.empty())
|
||||||
|
{
|
||||||
|
// Get the shared message from the queue.
|
||||||
|
QueuedData data = queue.front();
|
||||||
|
|
||||||
|
Print("Process queued shared messages", data.shared_msg);
|
||||||
|
|
||||||
|
// Send it to the base implementation for routing.
|
||||||
|
base_t::receive(*data.source, data.shared_msg);
|
||||||
|
|
||||||
|
queue.pop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void on_receive(etl::imessage_router& source, const Message1& msg)
|
||||||
|
{
|
||||||
|
std::cout << "on_receive Message1 : " << msg.s << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void on_receive(etl::imessage_router& source, const Message2& msg)
|
||||||
|
{
|
||||||
|
std::cout << "on_receive Message2 : " << msg.s << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
//****************************************
|
||||||
|
void on_receive_unknown(etl::imessage_router& source, const etl::imessage& msg)
|
||||||
|
{
|
||||||
|
std::cout << "on_receive Unknown\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
struct QueuedData
|
||||||
|
{
|
||||||
|
etl::imessage_router* source;
|
||||||
|
etl::shared_message shared_msg;
|
||||||
|
};
|
||||||
|
|
||||||
|
etl::queue<QueuedData, 10> queue;
|
||||||
|
};
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
struct Bus : public etl::message_bus<2U>
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
MessageRouter1 router1;
|
||||||
|
MessageRouter2 router2;
|
||||||
|
Bus bus;
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
// The memory block allocator that supplies the pool with memory
|
||||||
|
// to store reference counted messages in.
|
||||||
|
etl::fixed_sized_memory_block_allocator<100U, 4U, 4U> memory_pool;
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
// The pool that supplies reference counted messages.
|
||||||
|
// Uses memory_pool as its allocator.
|
||||||
|
etl::reference_counted_message_pool<std::atomic_int32_t> pool(memory_pool);
|
||||||
|
|
||||||
|
//*****************************************************************************
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
Message1 m1("One");
|
||||||
|
Message2 m2("Two");
|
||||||
|
|
||||||
|
etl::shared_message sm1(pool, m1);
|
||||||
|
etl::shared_message sm2(pool, m2);
|
||||||
|
|
||||||
|
bus.subscribe(router1);
|
||||||
|
bus.subscribe(router2);
|
||||||
|
|
||||||
|
bus.receive(sm1);
|
||||||
|
bus.receive(sm2);
|
||||||
|
|
||||||
|
router2.process_queue();
|
||||||
|
}
|
||||||
|
|
||||||
31
examples/SharedMessage/SharedMessage.sln
Normal file
31
examples/SharedMessage/SharedMessage.sln
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.30804.86
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SharedMessage", "SharedMessage.vcxproj", "{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Release|x64.Build.0 = Release|x64
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{0BDB4F2A-47E7-4105-A66A-6DFF8A76587B}.Release|x86.Build.0 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {F7B7515D-19FA-42D4-9BA2-5F85A7FB7779}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
165
examples/SharedMessage/SharedMessage.vcxproj
Normal file
165
examples/SharedMessage/SharedMessage.vcxproj
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<VCProjectVersion>16.0</VCProjectVersion>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<ProjectGuid>{0bdb4f2a-47e7-4105-a66a-6dff8a76587b}</ProjectGuid>
|
||||||
|
<RootNamespace>SharedMessage</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<AdditionalIncludeDirectories>D:\Users\John\Documents\Programming\GitHub\etl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="SharedMessage.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\include\etl\atomic.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\fixed_sized_memory_block_allocator.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\imemory_block_allocator.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\ireference_counted_message_pool.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\message.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\message_bus.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\message_router.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\message_types.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\reference_counted_message.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\reference_counted_message_pool.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\reference_counted_object.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\shared_message.h" />
|
||||||
|
<ClInclude Include="..\..\include\etl\successor.h" />
|
||||||
|
<ClInclude Include="etl_profile.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
66
examples/SharedMessage/SharedMessage.vcxproj.filters
Normal file
66
examples/SharedMessage/SharedMessage.vcxproj.filters
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="SharedMessage.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="etl_profile.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\atomic.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\fixed_sized_memory_block_allocator.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\imemory_block_allocator.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\ireference_counted_message_pool.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\reference_counted_message.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\reference_counted_message_pool.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\reference_counted_object.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\shared_message.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\successor.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\message.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\message_router.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\message_types.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\etl\message_bus.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
0
examples/SharedMessage/etl_profile.h
Normal file
0
examples/SharedMessage/etl_profile.h
Normal file
Loading…
x
Reference in New Issue
Block a user