OpenASIP  2.0
Macros
Application.cc File Reference
#include <string>
#include <iostream>
#include <fstream>
#include <cstddef>
#include <exception>
#include <cstdio>
#include <signal.h>
#include <sys/types.h>
#include "Environment.hh"
#include "Application.hh"
#include "Exception.hh"
#include "tce_version_string.h"
#include "CmdLineOptions.hh"
#include "FileSystem.hh"
Include dependency graph for Application.cc:

Go to the source code of this file.

Macros

#define WEXITSTATUS(stat_val)   ((unsigned int) (stat_val) >> 8)
 
#define WIFEXITED(stat_val)   (((stat_val) & 255) == 0)
 

Detailed Description

Implementation of Application class.

Application is a class for generic services that are project-wide applicable to standalone applications or modules. These services include assertion, program exiting, debugging to a log file, catching unexpected exceptions, "control-c" signal handling.

Author
Atte Oksman 2003 (oksman-no.spam-cs.tut.fi)
Pekka J��skel�inen 2005-2009 (pjaaskel-no.spam-cs.tut.fi)

Definition in file Application.cc.

Macro Definition Documentation

◆ WEXITSTATUS

#define WEXITSTATUS (   stat_val)    ((unsigned int) (stat_val) >> 8)

Definition at line 54 of file Application.cc.

◆ WIFEXITED

#define WIFEXITED (   stat_val)    (((stat_val) & 255) == 0)

Definition at line 57 of file Application.cc.