# Trace.hh

Go to the documentation of this file.

    00001 // ----------------------------------------------------------------------------
    00002 // CERTI - HLA RunTime Infrastructure
    00003 // Copyright (C) 2002, 2003  ONERA
    00004 //
    00005 // This file is part of CERTI
    00006 //
    00007 // CERTI is free software ; you can redistribute it and/or modify
    00008 // it under the terms of the GNU General Public License as published by
    00009 // the Free Software Foundation ; either version 2 of the License, or
    00010 // (at your option) any later version.
    00011 //
    00012 // CERTI is distributed in the hope that it will be useful,
    00013 // but WITHOUT ANY WARRANTY ; without even the implied warranty of
    00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    00015 // GNU General Public License for more details.
    00016 //
    00017 // You should have received a copy of the GNU General Public License
    00018 // along with this program ; if not, write to the Free Software
    00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    00020 //
    00021 // $Id: Trace.hh,v 3.4 2003/06/27 17:26:28 breholee Exp $
    00022 // ----------------------------------------------------------------------------
    00023
    00024 #ifndef CERTI_TRACE_HH_
    00025 #define CERTI_TRACE_HH_
    00026
    00027 #include <stdio.h>
    00028 #include <sys/types.h>
    00029
    00030 #define NOM_FICHIER_TRACE "trace.txt"
    00031
    00032 namespace certi {
    00033 namespace rtig {
    00034
    00035 class Trace
    00036 {
    00037 public:
    00038     Trace();
    00039     ~Trace();
    00040     void write(const char *);
    00041
    00042 private:
    00043     FILE *f_trace ;
    00044 };
    00045
    00046 }}
    00047
    00048 #endif // CERTI_TRACE_HH_
    00049
    00050 // $Id: Trace.hh,v 3.4 2003/06/27 17:26:28 breholee Exp $