Header files definition for the Data module.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>
Several modifications. Header file for the Data Package/Componet.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>
Report and Obeserver coded and tested.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>
Logger package and RawLogger implementation start

Defined the new Logger package for providing Logging functionality.
A first implementation is RawLogger, that will just use regular
File stream capabilities.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Fixed Logger interface and updated build system

Some minor changes:
 * Fixed interface, now Logger is a pure abstract class and
   RawLogger is a Singleton that implements it
 * Updated Makefile and build.xml
 * Added the obj/ subfolder

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Non-concurrent RawLogger completed

Completed a privisional RawLogger, not yet thread-safe:
 * Fixed linking problems in RawLogger implementations
 * Updated Makefile
 * Unit Testing: done

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
RawLogger: fixed test and Makefile

The Makefile has now been provided with a target to enable
debugging options, without modifying manually debug.h, and
the debug and assert macros of the testing module have been
modified.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Added debug() to RawLogger methods

The debug() functions has been added for each RawLogger method

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Concurrent testing for RawLogger

Unit Testing module supports concurrency testing.
Added -g3 flag to the debug target in the Makefile.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Polymorphic calls to specific custom Test Items coded and tested.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>
Thread-safe implementation of RawLogger

A static mutex has been added to RawLogger to protect static variables
and ensure thread-safe behaviour.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
FSManager interface and first RawFSManager implementation

Defined the following:
 * FSManager abstract interface
 * RawFSManager implemented as a singleton with a single
   synchronized file stream
 * Single-threaded buffered I/O

Signed-off-by: Raffaele Aquilone <raquiloX>
Fixed minor bug on shared pointer

The integer used to count thread number was shared between threads
without being synchronized, now they all access separate dynamic
variables.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Merge branch 'logger_raw' into logger
Updated .gitignore and log/ folder

Minor changes:
 * Updated .gitignore to ignore all text files
 * Added log/ folder

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
RawFSManager unit testing added and some minor changes more

The following has been done:
 * RawFSManager unit testing
 * More debugging and several fixes in RawFSManager implementation
 * Makefile
 * General clean up of the IOUtil folders

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Stub FSManager and concurrency testing

Added the following features for concurrency testing:
 * Stub of the FSManager module
 * Fixed Makefile with the new Stub class
 * Clean up operations in RawFSManager implementation
 * More debug in RawFSManager

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Used references instead of values and fixed some style

Input arguments in prototypes have been passed by reference.
Some minor style issues, as library inclusion order, have been
fixed as well.

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Data package completely coded and tested.

Review phase starts.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>
Unit Tests Refactoring. Some changes in DEBUG macros.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>