16 #ifndef __OMNETPP_GLOBALS_H
17 #define __OMNETPP_GLOBALS_H
21 #include "onstartup.h"
22 #include "cregistrationlist.h"
23 #include "cobjectfactory.h"
29 SIM_API
extern cGlobalRegistrationList componentTypes;
30 SIM_API
extern cGlobalRegistrationList nedFunctions;
31 SIM_API
extern cGlobalRegistrationList classes;
32 SIM_API
extern cGlobalRegistrationList enums;
33 SIM_API
extern cGlobalRegistrationList classDescriptors;
34 SIM_API
extern cGlobalRegistrationList configOptions;
35 SIM_API
extern cGlobalRegistrationList resultFilters;
36 SIM_API
extern cGlobalRegistrationList resultRecorders;
37 SIM_API
extern cGlobalRegistrationList messagePrinters;
38 SIM_API
extern std::map<std::string,std::string> figureTypes;
42 SIM_API
extern cSoftOwner globalOwningContext;
45 struct EmbeddedNedFile
47 EmbeddedNedFile(std::string fileName, std::string nedText, std::string garblephrase=
"") :
48 fileName(fileName), nedText(nedText), garblephrase(garblephrase) {}
51 std::string garblephrase;
54 SIM_API
extern std::vector<EmbeddedNedFile> embeddedNedFiles;