Poco::OSP

class BundleFactory

File Information

Library: OSP
Package: Bundle
Header: Poco/OSP/BundleFactory.h

Description

A factory class for Bundle objects, used by the BundleLoader.

Inheritance

Direct Base Classes: Poco::RefCountedObject

All Base Classes: Poco::RefCountedObject

Member Summary

Member Functions: createBundle

Inherited Functions: duplicate, referenceCount, release

Types Aliases

ConstPtr

using ConstPtr = const Ptr;

Ptr

using Ptr = Poco::AutoPtr < BundleFactory >;

Constructors

BundleFactory

BundleFactory(
    const LanguageTag & language
);

Creates the BundleFactory.

Destructor

~BundleFactory protected virtual

~BundleFactory();

Destroys the BundleFactory.

Member Functions

createBundle virtual

virtual Bundle * createBundle(
    BundleLoader & loader,
    const std::string & path
);

Creates and returns a new Bundle object for the bundle stored in the given path, using the given BundleLoader.

Securely control IoT edge devices from anywhere   Connect a Device