/*******************************************************************************
 *
 * File:     simple.cpp
 *
 * Contents: A very simple example to use RoSA Core library.
 *
 * Copyright 2017
 *
 * Author: David Juhasz (david.juhasz@tuwien.ac.at)
 *
 ******************************************************************************/

#include "rosa/config/version.h"
#include "rosa/core/Unit.h"
#include "rosa/support/log.h"
#include "rosa/support/terminal_colors.h"
#include <iostream>

using namespace rosa;
using namespace rosa::terminal;

int main(void) {
  LOG_INFO_STREAM << library_string() << " -- " << Color::Red
                  << "simple example" << Color::Default << std::endl;
  Unit Unit1, Unit2("Second"), Unit3;
  LOG_TRACE_STREAM << "Dumping Unit2" << std::endl << Unit2 << std::endl;
  return 0;
}

