# fed.hh

Go to the documentation of this file.

    00001 // ----------------------------------------------------------------------------
    00002 // CERTI - HLA RunTime Infrastructure
    00003 // Copyright (C) 2003  ONERA
    00004 //
    00005 // This file is part of CERTI-libCERTI
    00006 //
    00007 // CERTI-libCERTI is free software ; you can redistribute it and/or
    00008 // modify it under the terms of the GNU Lesser General Public License
    00009 // as published by the Free Software Foundation ; either version 2 of
    00010 // the License, or (at your option) any later version.
    00011 //
    00012 // CERTI-libCERTI is distributed in the hope that it will be useful, but
    00013 // WITHOUT ANY WARRANTY ; without even the implied warranty of
    00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    00015 // Lesser General Public License for more details.
    00016 //
    00017 // You should have received a copy of the GNU Lesser General Public
    00018 // License along with this program ; if not, write to the Free Software
    00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    00020 // USA
    00021 //
    00022 // $Id: fed.hh,v 3.6 2008/10/30 10:49:29 erk Exp $
    00023 // ----------------------------------------------------------------------------
    00024
    00025 #ifndef _FED_HH
    00026 #define _FED_HH
    00027
    00028 #include "RootObject.hh"
    00029
    00030 #include <string>
    00031
    00032 namespace certi {
    00033 namespace fedparser {
    00034
    00041 CERTI_EXPORT
    00042 int
    00043 build(const char *filename, RootObject *root, bool verboseArg);
    00044
    00045 // internal functions
    00046 void indent();
    00047 void printOrder();
    00048 void printTransport();
    00049
    00050 // parser requests
    00051 void startFed();
    00052 void startFederate();
    00053 void startInteraction();
    00054 void startInteractions();
    00055 void startObject();
    00056 void startObjects();
    00057 void startSpace();
    00058 void startSpaces();
    00059
    00060 void addAttribute();
    00061 void addDimension();
    00062 void addFederation();
    00063 void addFedVersion();
    00064 void addInteractionSecurityLevel();
    00065 void addObjectSecurityLevel();
    00066 void addParameter();
    00067
    00068 void end();
    00069 void endFed();
    00070 void endFederate();
    00071 void endInteraction();
    00072 void endObject();
    00073 void endSpace();
    00074
    00075 }
    00076 }
    00077
    00078 #endif // _FED_HH
    00079 // $Id: fed.hh,v 3.6 2008/10/30 10:49:29 erk Exp $