OMNeT++ Simulation Library  5.6.1
globals.h
1 //==========================================================================
2 // GLOBALS.H - part of
3 // OMNeT++/OMNEST
4 // Discrete System Simulation in C++
5 //
6 //==========================================================================
7 
8 /*--------------------------------------------------------------*
9  Copyright (C) 1992-2017 Andras Varga
10  Copyright (C) 2006-2017 OpenSim Ltd.
11 
12  This file is distributed WITHOUT ANY WARRANTY. See the file
13  `license' for details on this and other legal matters.
14 *--------------------------------------------------------------*/
15 
16 #ifndef __OMNETPP_GLOBALS_H
17 #define __OMNETPP_GLOBALS_H
18 
19 #include <map>
20 #include <string>
21 #include "onstartup.h"
22 #include "cregistrationlist.h"
23 #include "cobjectfactory.h"
24 
25 namespace omnetpp {
26 
27 //
28 // Global objects
29 //
30 
31 // Internal: list in which objects are accumulated if there is no simple module in context.
32 // @see cOwnedObject::setDefaultOwner() and cSimulation::setContextModule())
33 SIM_API extern cDefaultList defaultList;
34 
35 SIM_API extern cGlobalRegistrationList componentTypes;
36 SIM_API extern cGlobalRegistrationList nedFunctions;
37 SIM_API extern cGlobalRegistrationList classes;
38 SIM_API extern cGlobalRegistrationList enums;
39 SIM_API extern cGlobalRegistrationList classDescriptors;
40 SIM_API extern cGlobalRegistrationList configOptions;
41 SIM_API extern cGlobalRegistrationList resultFilters;
42 SIM_API extern cGlobalRegistrationList resultRecorders;
43 SIM_API extern cGlobalRegistrationList messagePrinters;
44 SIM_API extern std::map<std::string,std::string> figureTypes;
45 
46 } // namespace omnetpp
47 
48 
49 #endif
50 
Definition: cabstracthistogram.h:21