MLT 7.40.0
Multimedia Framework
MltService.h
Go to the documentation of this file.
1
20#ifndef MLTPP_SERVICE_H
21#define MLTPP_SERVICE_H
22
23#include "MltConfig.h"
24
25#include <framework/mlt.h>
26
27#include "MltFrame.h"
28#include "MltProperties.h"
29
30namespace Mlt {
31class Properties;
32class Filter;
33class Frame;
34class Profile;
35
47{
48private:
50
51public:
52 Service();
53 Service(Service &service);
54 Service(const Service &service);
56 Service(mlt_service service);
57 Service(Service *service);
58 virtual ~Service();
59 Service &operator=(const Service &service);
60 virtual mlt_service get_service();
62 void lock();
64 void unlock();
65 virtual mlt_properties get_properties() override;
67 int connect_producer(Service &producer, int index = 0);
69 int insert_producer(Service &producer, int index = 0);
71 int disconnect_producer(int index = 0);
73 int disconnect_all_producers();
74 void set_consumer(Service &service);
76 Service *consumer();
78 Service *producer();
80 Profile *profile();
81 mlt_profile get_profile();
83 Frame *get_frame(int index = 0);
85 mlt_service_type type();
87 int attach(Filter &filter);
89 int detach(Filter &filter);
91 int filter_count();
93 int move_filter(int from, int to);
95 Filter *filter(int index);
96 void set_profile(mlt_profile profile);
97 void set_profile(Profile &profile);
98};
99} // namespace Mlt
100
101#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_filter — modifies a single producer's output.
Definition MltFilter.h:44
C++ wrapper for mlt_frame — a single unit of audio/video data.
Definition MltFrame.h:43
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_service — abstract base for all MLT services.
Definition MltService.h:47
mlt_service instance
Definition MltService.h:49
header file for lazy client and implementation code :-)
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
Profile class.
Definition mlt_profile.h:36
Properties class.
Definition mlt_properties.h:41
Service abstract base class.
Definition mlt_service.h:59