Ocean
DSMovieRecorder.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_MEDIA_DS_MOVIE_RECORDER_H
9 #define META_OCEAN_MEDIA_DS_MOVIE_RECORDER_H
10 
14 
16 
17 namespace Ocean
18 {
19 
20 namespace Media
21 {
22 
23 namespace DirectShow
24 {
25 
26 /**
27  * This class implements a DirectShow movie recorder.
28  * @ingroup mediads
29  */
30 class OCEAN_MEDIA_DS_EXPORT DSMovieRecorder :
31  virtual public DSFileRecorder,
32  virtual public DSFrameRecorder,
33  virtual public MovieRecorder
34 {
35  friend class DSLibrary;
36 
37  protected:
38 
39  /**
40  * Creates a new DirectShow movie recorder.
41  */
43 
44  /**
45  * Destructs a DirectShow movie recorder.
46  */
47  ~DSMovieRecorder() override;
48 
49  /**
50  * Builds the entire filter graph.
51  * @see DSGraphObject::buildGraph().
52  */
53  bool buildGraph() override;
54 
55  /**
56  * Releases the entire filter graph.
57  * @see DSGraphObject::releaseGraph().
58  */
59  void releaseGraph() override;
60 };
61 
62 }
63 
64 }
65 
66 }
67 
68 #endif // META_OCEAN_MEDIA_DS_MOVIE_RECORDER_H
This class implements a DirectShow file recorder.
Definition: DSFileRecorder.h:32
This class implements a DirectShow frame recorder.
Definition: DSFrameRecorder.h:33
This class implements the DirectShow library.
Definition: DSLibrary.h:30
This class implements a DirectShow movie recorder.
Definition: DSMovieRecorder.h:34
bool buildGraph() override
Builds the entire filter graph.
DSMovieRecorder()
Creates a new DirectShow movie recorder.
void releaseGraph() override
Releases the entire filter graph.
~DSMovieRecorder() override
Destructs a DirectShow movie recorder.
This class is the base class for all movie recorder.
Definition: MovieRecorder.h:40
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15