00001 //========================================================================== 00002 // GLOBALS.H - part of 00003 // OMNeT++/OMNEST 00004 // Discrete System Simulation in C++ 00005 // 00006 //========================================================================== 00007 00008 /*--------------------------------------------------------------* 00009 Copyright (C) 1992-2008 Andras Varga 00010 Copyright (C) 2006-2008 OpenSim Ltd. 00011 00012 This file is distributed WITHOUT ANY WARRANTY. See the file 00013 `license' for details on this and other legal matters. 00014 *--------------------------------------------------------------*/ 00015 00016 #ifndef __GLOBALS_H 00017 #define __GLOBALS_H 00018 00019 #include "onstartup.h" 00020 #include "cregistrationlist.h" 00021 #include "cobjectfactory.h" 00022 00023 NAMESPACE_BEGIN 00024 00025 // 00026 // Global objects 00027 // 00028 00029 //< Internal: list in which objects are accumulated if there is no simple module in context. 00030 //< @see cOwnedObject::setDefaultOwner() and cSimulation::setContextModule()) 00031 SIM_API extern cDefaultList defaultList; 00032 00033 SIM_API extern cGlobalRegistrationList componentTypes; 00034 SIM_API extern cGlobalRegistrationList nedFunctions; 00035 SIM_API extern cGlobalRegistrationList classes; 00036 SIM_API extern cGlobalRegistrationList enums; 00037 SIM_API extern cGlobalRegistrationList classDescriptors; 00038 SIM_API extern cGlobalRegistrationList configOptions; 00039 SIM_API extern cGlobalRegistrationList resultFilters; 00040 SIM_API extern cGlobalRegistrationList resultRecorders; 00041 SIM_API extern cGlobalRegistrationList messagePrinters; 00042 00043 NAMESPACE_END 00044 00045 00046 #endif 00047