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

Method BundlePrivate

framework/src/bundle/BundlePrivate.cpp:679–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677 }
678
679 BundlePrivate::BundlePrivate(CoreBundleContext* coreCtx)
680 : coreCtx(coreCtx)
681 , id(0)
682 , location(Constants::SYSTEM_BUNDLE_LOCATION)
683 , state(Bundle::STATE_INSTALLED)
684 , barchive()
685 , bundleDir(this->coreCtx->GetDataStorage(id))
686 , bundleContext()
687 , destroyActivatorHook(nullptr)
688 , bactivator(nullptr, nullptr)
689 , operation(static_cast<uint8_t>(OP_IDLE))
690 , resolveFailException()
691 , wasStarted(false)
692 , aborted(static_cast<uint8_t>(Aborted::NONE))
693 , symbolicName(Constants::SYSTEM_BUNDLE_SYMBOLICNAME)
694 , version(CppMicroServices_VERSION_MAJOR, CppMicroServices_VERSION_MINOR, CppMicroServices_VERSION_PATCH)
695 , timeStamp(std::chrono::steady_clock::now())
696 , bundleManifest()
697 , lib()
698 , SetBundleContext(nullptr)
699 {
700 }
701
702 BundlePrivate::BundlePrivate(CoreBundleContext* coreCtx, std::shared_ptr<BundleArchive> const& ba)
703 : coreCtx(coreCtx)

Callers

nothing calls this directly

Calls 15

nowFunction · 0.85
GetLastExceptionStrFunction · 0.85
OnlyContainsManifestFunction · 0.85
BundleVersionClass · 0.85
GetDataStorageMethod · 0.80
GetBundleLocationMethod · 0.80
GetResourcePrefixMethod · 0.80
ParseMethod · 0.80
GetResourceContainerMethod · 0.80
CloseContainerMethod · 0.80
ToStringNoExceptMethod · 0.80
GetBundleIdMethod · 0.45

Tested by

no test coverage detected