Describes the capabilities of a service / standalone kernel for a specific simulation domain. More...
#include <Kernel.h>

Public Member Functions | |
| KernelImplementation (const std::string &name, const std::string &description, const std::string &license, const std::string &version, const std::string &defaultType, const std::string &uuid) | |
| ~KernelImplementation (void) | |
Public Attributes | |
| std::string | name_ |
| UTF-8 encoded string; acts as URN in the kernel: namespace. More... | |
| std::string | description_ |
| UTF-8 encoded string. More... | |
| std::string | license_ |
| UTF-8 encoded string. More... | |
| std::string | version_ |
| UTF-8 encoded string. More... | |
| std::string | apiVersion_ |
| UTF-8 encoded string. More... | |
| std::string | defaultType_ |
| std::string | uuid_ |
| service UUID (Universally Unique Identifier), uniquely identifies a specific service + service version More... | |
| bool | valid_ |
| std::map< Libpf::User::Handle, Libpf::User::CaseDescriptor > | handleMap_ |
| maps handles to the internal data structure that holds all the information to restore the state of a case More... | |
| std::vector< std::string > | supportedLocales_ |
| std::string | locale_ |
| std::vector< Libpf::Core::Enumerator > | enumerators_ |
Detailed Description
Describes the capabilities of a service / standalone kernel for a specific simulation domain.
knows the available model types and enumerators that can be used to instantiate Cases; can instantiate a Case and return a Handle to Case instances; only the lifecycle of a Kernel coincides with the time the executable / scripting session is alive; therefore the Kernel object methods are exposed as global functions; a global impl_ object of type KernelImplementation must be provided by a service / standalone kernel
Constructor & Destructor Documentation
◆ KernelImplementation()
| Libpf::User::KernelImplementation::KernelImplementation | ( | const std::string & | name, |
| const std::string & | description, | ||
| const std::string & | license, | ||
| const std::string & | version, | ||
| const std::string & | defaultType, | ||
| const std::string & | uuid | ||
| ) |
◆ ~KernelImplementation()
| Libpf::User::KernelImplementation::~KernelImplementation | ( | void | ) |
Member Data Documentation
◆ apiVersion_
| std::string Libpf::User::KernelImplementation::apiVersion_ |
UTF-8 encoded string.
◆ defaultType_
| std::string Libpf::User::KernelImplementation::defaultType_ |
UTF-8 encoded string
◆ description_
| std::string Libpf::User::KernelImplementation::description_ |
UTF-8 encoded string.
◆ enumerators_
| std::vector<Libpf::Core::Enumerator> Libpf::User::KernelImplementation::enumerators_ |
◆ handleMap_
| std::map<Libpf::User::Handle, Libpf::User::CaseDescriptor> Libpf::User::KernelImplementation::handleMap_ |
maps handles to the internal data structure that holds all the information to restore the state of a case
◆ license_
| std::string Libpf::User::KernelImplementation::license_ |
UTF-8 encoded string.
◆ locale_
| std::string Libpf::User::KernelImplementation::locale_ |
◆ name_
| std::string Libpf::User::KernelImplementation::name_ |
UTF-8 encoded string; acts as URN in the kernel: namespace.
◆ supportedLocales_
| std::vector<std::string> Libpf::User::KernelImplementation::supportedLocales_ |
◆ uuid_
| std::string Libpf::User::KernelImplementation::uuid_ |
service UUID (Universally Unique Identifier), uniquely identifies a specific service + service version
◆ valid_
| bool Libpf::User::KernelImplementation::valid_ |
◆ version_
| std::string Libpf::User::KernelImplementation::version_ |
UTF-8 encoded string.
The documentation for this struct was generated from the following file:
- libpf/user/Kernel.h