<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>instrumentation on autosys</title>
    <link>https://autosys.informatik.haw-hamburg.de/tags/instrumentation/</link>
    <description>Recent content in instrumentation on autosys</description>
    <generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator>
    <language>en-us</language>
    <copyright>&amp;copy; {year}</copyright>
    <lastBuildDate>Mon, 13 Feb 2017 00:00:00 +0000</lastBuildDate>
    
	    <atom:link href="https://autosys.informatik.haw-hamburg.de/tags/instrumentation/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Logging</title>
      <link>https://autosys.informatik.haw-hamburg.de/codesamples/logging/</link>
      <pubDate>Mon, 13 Feb 2017 00:00:00 +0000</pubDate>
      
      <guid>https://autosys.informatik.haw-hamburg.de/codesamples/logging/</guid>
      <description>&lt;p&gt;This examples shows, how loggers are usally written. There are a lot of loggers to download for your project. Boost also has a logger.&lt;/p&gt;
&lt;p&gt;Look at the #defines in lines 6 through 14. Here the global logging level is used to decide if output into the logfile should be made. Also the access to the logger - which is a Meyers Singleton - is made much easier for the application programmer, since it hides the toruous call the singleton instance.&lt;/p&gt;
&lt;p&gt;Line 16 lets you set the global logging level easily. Line 17 lets you use the scoped logger, which makes output into your logfile when entering and exiting a function. The preprocessor &lt;strong&gt;FUNCTION&lt;/strong&gt; is used, to indicate the function name which is being entered and exited.&lt;/p&gt;
&lt;p&gt;In line 21 three levels of output verbosity are defined. You may define your own levels if you wish.&lt;/p&gt;
&lt;p&gt;The Logger Class contains an ofstream logfile_ for output into a file. The member function log first prints a time stamp, the output level, and afterwards a custom message which may be defined by the application programmer.&lt;/p&gt;
&lt;p&gt;The LogScope Class uses the scoped principle. It creates output in constructor and destructor. All that has to be done is, an object of type LogScope has to be created as the very first command in every function. See the respective preprocessor macros for this purpose.&lt;/p&gt;
&lt;br /&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/stephanpareigis/a5e9f158aebe10b73be7224c5828dada.js&#34;&gt;&lt;/script&gt;

</description>
    </item>
    
    <item>
      <title>Parameter Handling</title>
      <link>https://autosys.informatik.haw-hamburg.de/codesamples/parameter-handling/</link>
      <pubDate>Mon, 13 Feb 2017 00:00:00 +0000</pubDate>
      
      <guid>https://autosys.informatik.haw-hamburg.de/codesamples/parameter-handling/</guid>
      <description>&lt;p&gt;Algorithms often need parameters which need to be adjusted while testing the program. Instead of writing all parameters in a .h-file which requires that the code has to be compiled  after each change, we propose a method which allows parameter handling during runtime in a uniform manner.&lt;/p&gt;
&lt;p&gt;A basic requirement for this is, that the parameters may still be used in equations, calculations and conditions without having to deal with bloatware method calls.&lt;/p&gt;
&lt;p&gt;This code sample shows how to wrap atomic types such that they will still feel like an atomic type. However, because your parameters are inside a wrapper, you may now manipulate all your parameters via this wrapper class. For example, you may store all parameters in a list, save them to a file, remote access them with a browser and so on.&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/stephanpareigis/0be7635cc1113a076ff32eb2ae9795e0.js&#34;&gt;&lt;/script&gt;

</description>
    </item>
    
  </channel>
</rss>
