ADTF File Library
Loading...
Searching...
No Matches
object.h File Reference
#include <adtf_file/log.h>
#include <cstring>
#include <functional>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
Include dependency graph for object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  adtf_file::Object
 base interface class for all available objects of the ADTF File Library that can be added to the objects singleton of the library ( getObjects ). More...
 
class  adtf_file::Objects
 container for objects. this object container can be retrieved as objects singleton of the library via getObjects More...
 
class  adtf_file::PluginInitializer
 Plugin initializer class to use within a ADTF File Library plugin. More...
 

Namespaces

namespace  adtf_file
 namespace for ADTF File library
 

Functions

Objectsadtf_file::getObjects ()
 Get the objects singleton of the library.
 
template<typename FACTORIES, typename FACTORY_TYPE>
FACTORIES adtf_file::getFactories ()
 Get the Factories from the objects singleton of the library.
 
void adtf_file::loadPlugin (const std::string &file_name)
 Loads a ADTF File Library plugin.
 
const char * adtfFileGetVersion ()
 retrieves the ADTF File Library plugin version
 
void adtfFileSetObjects2 (adtf_file::Objects &objects)
 sets the objects singleton of the calling application to the plugin
 

Detailed Description

Copyright 2025 Digitalwerk GmbH.

This Source Code Form is subject to the terms of the Mozilla
Public License, v. 2.0. If a copy of the MPL was not distributed
with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.

You may add additional accurate notices of copyright ownership.

Function Documentation

◆ adtfFileGetVersion()

const char * adtfFileGetVersion ( )

retrieves the ADTF File Library plugin version

Returns
the Version as string

◆ adtfFileSetObjects2()

void adtfFileSetObjects2 ( adtf_file::Objects & objects)

sets the objects singleton of the calling application to the plugin

Parameters
objectsthe objects singleton of the calling application
See also
adtf_file::getObjects, adtf_file::loadPlugin