MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / FrameworkPrivate

Method FrameworkPrivate

framework/src/util/FrameworkPrivate.cpp:37–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35{
36
37 FrameworkPrivate::FrameworkPrivate(CoreBundleContext* fwCtx)
38 : BundlePrivate(fwCtx)
39 , headers(AnyMap::UNORDERED_MAP_CASEINSENSITIVE_KEYS)
40 {
41 headers[Constants::BUNDLE_SYMBOLICNAME] = symbolicName;
42 headers[Constants::BUNDLE_NAME] = location;
43 headers[Constants::BUNDLE_VERSION] = version.ToString();
44 headers[Constants::BUNDLE_MANIFESTVERSION] = std::string("2");
45 headers[Constants::BUNDLE_VENDOR] = std::string("C++ Micro Services");
46 headers[Constants::BUNDLE_DESCRIPTION] = std::string("C++ Micro Services System Bundle");
47
48 // default the internal framework event to what should be
49 // returned if a client calls WaitForStop while this
50 // framework is not in an active, starting or stopping state.
51 stopEvent = FrameworkEventInternal { true, FrameworkEvent::Type::FRAMEWORK_ERROR, std::string(), nullptr };
52 }
53
54 FrameworkPrivate::~FrameworkPrivate() noexcept
55 {

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected