<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx</link><description>Based on the lack of references to "process_shared_event_out()" and "GAUGE_HEADER_FS1000" in a popular search engine and the fact that I've gotten a few questions on the subject, I'm guessing that the understanding of how to share data between two instances</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2514681</link><pubDate>Mon, 19 Nov 2007 10:35:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2514681</guid><dc:creator>Björn</dc:creator><description>&lt;p&gt;Question:&lt;/p&gt;
&lt;p&gt;Can we send any data over this system so not only built in FS enums and structs ? Same goes for the events, can we send custom events also ? &lt;/p&gt;
&lt;p&gt;I'm thinking of making one big struct that contains all the custom data that is used in my gauges (that's over a 100 variables) and then creating events for all of these. Would that work ?&lt;/p&gt;
&lt;p&gt;Bj&amp;#246;rn&lt;/p&gt;
</description></item><item><title>re: How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2524935</link><pubDate>Tue, 20 Nov 2007 04:04:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2524935</guid><dc:creator>EnGauged</dc:creator><description>&lt;p&gt;Yes, Bj&amp;#246;rn, you can send any data over this system that you want. &amp;nbsp;In the example above, a gauge-specific CLOCK_EVENT is sent in one case; a CLOCK_DATA struct is sent in another case. &amp;nbsp;So yes, you can create a big struct (presumably for serialization and deserialization) and events for all of the different state changes that can occur in your gauges. &amp;nbsp;Just make sure that you aren't sending a big struct every time an event is sent over or performance could suffer.&lt;/p&gt;
&lt;p&gt;-Susan&lt;/p&gt;
</description></item><item><title>Sharing the Cockpit of your Favorite Aircraft</title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2532665</link><pubDate>Tue, 20 Nov 2007 20:02:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2532665</guid><dc:creator>P-12C Pilot</dc:creator><description>&lt;p&gt;We have had many people lament that they cannot use the shared cockpit feature in FSX multi-player with&lt;/p&gt;
</description></item><item><title>re: How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2537796</link><pubDate>Wed, 21 Nov 2007 10:34:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2537796</guid><dc:creator>Björn</dc:creator><description>&lt;p&gt;Thx for the reply Susan, one more question if I may... You are using the new FS10 gauge header to do the serialization, deserialzation etc... but this requires a gauge (or a number of gauges, but I prefer 1 gauge) to do the sending/receiving. this also requires that the gauge has to be loaded at one point. To avoid this I have been using a timer based system. In short, I'm moving all of the intelligence that's now incorporated inside the gauges, out of the actual gauge and into a number of functions that are fired based on a windows timer. The big advantage being that all the calculations are in one place, and that I don't need to worry about people using FS in 2D vs 3D mode (VC). So, is there any possibility to move the ser/deser/event code out of a gauge and into the timer based system ? (I start and stop the timer in the module_init and module_deinit events)&lt;/p&gt;
&lt;p&gt;Thx again for the help !&lt;/p&gt;
&lt;p&gt;Bj&amp;#246;rn&lt;/p&gt;
</description></item><item><title>re: How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2620984</link><pubDate>Fri, 07 Dec 2007 18:28:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2620984</guid><dc:creator>Geoff_D</dc:creator><description>&lt;p&gt;Susan&lt;/p&gt;
&lt;p&gt;Thanks so much for the &amp;nbsp;C++ Guage sharing info.&lt;/p&gt;
&lt;p&gt;Looking forward to :-&lt;/p&gt;
&lt;p&gt;&amp;quot;Next time I'll talk about data sharing in XML gauges, so stay tuned!&amp;quot;&lt;/p&gt;
&lt;p&gt;Geoff_D&lt;/p&gt;
</description></item><item><title>re: How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2832679</link><pubDate>Tue, 05 Feb 2008 20:49:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2832679</guid><dc:creator>Björn</dc:creator><description>&lt;p&gt;Any news on the XML shared cockpit stuff you were going to talk about ? &lt;/p&gt;
&lt;p&gt;Bj&amp;#246;rn&lt;/p&gt;
</description></item><item><title>re: How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2840777</link><pubDate>Thu, 07 Feb 2008 03:08:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2840777</guid><dc:creator>Benchmark Avionics</dc:creator><description>&lt;p&gt;Great article. &amp;nbsp;Wish we could get on an email list that notified us when you guys post such critical info. &amp;nbsp;=)&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;
</description></item><item><title>re: How do I share data between C++ gauges in a shared cockpit scenario? </title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2842426</link><pubDate>Thu, 07 Feb 2008 10:49:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2842426</guid><dc:creator>Benchmark Avionics</dc:creator><description>&lt;p&gt;BTW, how would you define a typical button function you have prototyped but not defined? &amp;nbsp;I have never seen it done this way before, and am curious.&lt;/p&gt;
</description></item><item><title>chak@bugiups.com</title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2888481</link><pubDate>Thu, 14 Feb 2008 09:27:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2888481</guid><dc:creator>Chak</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.theforumsite.com/users/chanelhandbags/journal/"&gt;http://www.theforumsite.com/users/chanelhandbags/journal/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>sofia@melabimbo.com</title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2907490</link><pubDate>Mon, 18 Feb 2008 21:58:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2907490</guid><dc:creator>Sofia</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://users.newblog.com/coachhandbags/"&gt;http://users.newblog.com/coachhandbags/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>gucci@eritto.com</title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2919967</link><pubDate>Fri, 22 Feb 2008 00:47:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2919967</guid><dc:creator>Gucci</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.xanga.com/guccihandbags"&gt;http://www.xanga.com/guccihandbags&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>michael@mjrycroft.com</title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2940226</link><pubDate>Thu, 28 Feb 2008 17:05:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2940226</guid><dc:creator>treasure</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.openbra.ghazehost.com/open-bra-plus-size.html"&gt;http://www.openbra.ghazehost.com/open-bra-plus-size.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>pol@telispotik.com</title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2952999</link><pubDate>Mon, 03 Mar 2008 01:38:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2952999</guid><dc:creator>Poll</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.xanga.com/chanelhandbags"&gt;http://www.xanga.com/chanelhandbags&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>fredi67@mysikkor.com</title><link>http://blogs.technet.com/engauged/archive/2007/11/13/how-do-i-share-data-between-c-gauges-in-a-shared-cockpit-scenario-part-1.aspx#2955353</link><pubDate>Mon, 03 Mar 2008 19:46:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2955353</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.fotolog.com/replicahandbags/about"&gt;http://www.fotolog.com/replicahandbags/about&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>