<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Samples</title><link>https://sourceforge.net/p/wallaroolib/wiki/Samples/</link><description>Recent changes to Samples</description><atom:link href="https://sourceforge.net/p/wallaroolib/wiki/Samples/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 01 Apr 2015 14:57:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wallaroolib/wiki/Samples/feed" rel="self" type="application/rss+xml"/><item><title>Samples modified by Anonymous</title><link>https://sourceforge.net/p/wallaroolib/wiki/Samples/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;In the directory &lt;strong&gt;samples&lt;/strong&gt; of the source tree you can find some sample program using wallaroo features. &lt;/p&gt;
&lt;h1 id="samples-content"&gt;Samples content&lt;/h1&gt;
&lt;p&gt;In the following table you can find the samples using a specific feature. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Sample &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Constraints check &lt;br /&gt;
&lt;em&gt;all&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;All container types &lt;br /&gt;
Minimal &lt;/p&gt;
&lt;p&gt;Loading from xml &lt;br /&gt;
Mineplant, Shapes &lt;/p&gt;
&lt;p&gt;Loading from multiple configuration files &lt;br /&gt;
Shapes &lt;/p&gt;
&lt;p&gt;Loading from code &lt;br /&gt;
Roulette &lt;/p&gt;
&lt;p&gt;Constructor parameters &lt;br /&gt;
&lt;em&gt;all&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Multiple catalogs &lt;br /&gt;
Roulette &lt;/p&gt;
&lt;p&gt;Explicit use of boost &lt;br /&gt;
Boost_only &lt;/p&gt;
&lt;p&gt;Explicit use of c++11 &lt;br /&gt;
Cpp0x_only &lt;/p&gt;
&lt;p&gt;Portable use &lt;br /&gt;
Minimal, Mineplant, Shapes, Roulette &lt;/p&gt;
&lt;p&gt;Optional collaborator &lt;br /&gt;
Mineplant, Minimal &lt;/p&gt;
&lt;p&gt;Mandatory collaborator &lt;br /&gt;
Mineplant (explicit), &lt;em&gt;all&lt;/em&gt; (implicit) &lt;/p&gt;
&lt;p&gt;Collection collaborator &lt;br /&gt;
Mineplant, Roulette, Shapes &lt;/p&gt;
&lt;p&gt;Bounded collection collaborator &lt;br /&gt;
Minimal &lt;/p&gt;
&lt;p&gt;Shared libraries &lt;br /&gt;
Roulette &lt;/p&gt;
&lt;p&gt;Attributes &lt;br /&gt;
Shapes &lt;/p&gt;
&lt;p&gt;In the following table you can find which features use each sample. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sample&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Feature&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Minimal &lt;br /&gt;
All container types &lt;/p&gt;
&lt;p&gt;Optional collaborator &lt;/p&gt;
&lt;p&gt;Bounded collection collaborator &lt;/p&gt;
&lt;p&gt;Boost_only &lt;br /&gt;
Explicit use of boost &lt;/p&gt;
&lt;p&gt;Cpp0x_only &lt;br /&gt;
Explicit use of c++11 &lt;/p&gt;
&lt;p&gt;Mineplant &lt;br /&gt;
XmlConfiguration &lt;/p&gt;
&lt;p&gt;Shapes &lt;br /&gt;
JsonConfiguration &lt;/p&gt;
&lt;p&gt;XmlConfiguration &lt;/p&gt;
&lt;p&gt;Loading from multiple configuration files &lt;/p&gt;
&lt;p&gt;Attributes &lt;/p&gt;
&lt;p&gt;Roulette &lt;br /&gt;
Loading from code &lt;/p&gt;
&lt;p&gt;Multiple catalogs &lt;/p&gt;
&lt;p&gt;Shared libraries &lt;/p&gt;
&lt;h1 id="samples-description"&gt;Samples Description&lt;/h1&gt;
&lt;h2 id="minimal-boost_only-wzxhzdk0-cpp0x_only"&gt;Minimal, Boost_only &amp;amp; Cpp0x_only&lt;/h2&gt;
&lt;p&gt;These samples are similar and show the basic features of &lt;strong&gt;wallaroo&lt;/strong&gt;. The only difference among them is the explicit use of C++11 in &lt;code&gt;Cpp0x_only&lt;/code&gt;, boost in &lt;code&gt;Boost_only&lt;/code&gt; and a portable way in &lt;code&gt;Minimal&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;The static structure is shown in the following class diagram: &lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://wiki.wallaroo.googlecode.com/git/images/minimal.png" rel="nofollow" /&gt;&lt;/p&gt;
&lt;h2 id="mineplant"&gt;Mineplant&lt;/h2&gt;
&lt;p&gt;This sample is a simple process control software. See &lt;a class="" href="http://www.carlopescio.com/2012/03/life-without-controller-case-1.html" rel="nofollow"&gt;this blog&lt;/a&gt; for the problem description and a deep analisys of the solution. &lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://wiki.wallaroo.googlecode.com/git/images/mineplant.png" rel="nofollow" /&gt;&lt;/p&gt;
&lt;h2 id="shapes"&gt;Shapes&lt;/h2&gt;
&lt;p&gt;This sample load from a file a list of shapes (trangles, rectangles, circles), align them and draw the resulting figure on the screen or on a CSV file. &lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://wiki.wallaroo.googlecode.com/git/images/shapes.png" rel="nofollow" /&gt;&lt;/p&gt;
&lt;h2 id="roulette"&gt;Roulette&lt;/h2&gt;
&lt;p&gt;This is a simulation of a roulette game. You can place your bet, a wheel is spun and then you get the result table. This sample shows how to define your classes in shared libraries (DLL or SO). &lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://wiki.wallaroo.googlecode.com/git/images/roulette.png" rel="nofollow" /&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 01 Apr 2015 14:57:31 -0000</pubDate><guid>https://sourceforge.netb300fd689b3a0dd84602b61751b3c8f0d6597cad</guid></item></channel></rss>