MLT  7.38.0
Multimedia Framework
MltRepository.h
Go to the documentation of this file.
1 
20 #ifndef MLTPP_REPOSITORY_H
21 #define MLTPP_REPOSITORY_H
22 
23 #include "MltConfig.h"
24 
25 #ifdef SWIG
26 #define MLTPP_DECLSPEC
27 #endif
28 
29 #include <framework/mlt.h>
30 
31 namespace Mlt {
32 class Profile;
33 class Properties;
34 
44 {
45 private:
48 
49 public:
50  Repository(const char *directory);
52  ~Repository();
53 
54  void register_service(mlt_service_type service_type,
55  const char *service,
56  mlt_register_callback symbol);
57  void *create(Profile &profile, mlt_service_type type, const char *service, void *arg);
59  Properties *consumers() const;
61  Properties *filters() const;
63  Properties *links() const;
65  Properties *producers() const;
67  Properties *transitions() const;
68  void register_metadata(mlt_service_type type,
69  const char *service,
71  void *callback_data);
73  Properties *metadata(mlt_service_type type, const char *service) const;
75  Properties *languages() const;
77  static Properties *presets();
78 };
79 } // namespace Mlt
80 
81 #endif
#define MLTPP_DECLSPEC
MltConfig.h - Convenience header file for all mlt++ objects Copyright (C) 2004-2026 Meltytech,...
Definition: MltConfig.h:33
C++ wrapper for mlt_profile — video format parameters.
Definition: MltProfile.h:45
C++ wrapper for mlt_properties.
Definition: MltProperties.h:41
C++ wrapper for mlt_repository — the plugin service registry.
Definition: MltRepository.h:44
mlt_repository instance
Definition: MltRepository.h:46
Repository()
Definition: MltRepository.h:47
header file for lazy client and implementation code :-)
static mlt_repository repository
the global repository singleton
Definition: mlt_factory.c:72
mlt_properties(* mlt_metadata_callback)(mlt_service_type, const char *, void *)
The callback function that modules implement to supply metadata as a properties list.
Definition: mlt_repository.h:48
void *(* mlt_register_callback)(mlt_profile, mlt_service_type, const char *, const void *)
The callback function that modules implement to construct a service.
Definition: mlt_repository.h:40
mlt_service_type
The recognized subclasses of mlt_service.
Definition: mlt_types.h:232
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition: MltAnimation.h:27
Repository class.
Definition: mlt_repository.c:46