Ocean
FrameMemoryRecorder.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_FRAME_MEMORY_RECORDER_H
9 #define META_OCEAN_MEDIA_FRAME_MEMORY_RECORDER_H
10 
11 #include "ocean/media/Media.h"
13 
14 namespace Ocean
15 {
16 
17 namespace Media
18 {
19 
20 // Forward declaration.
21 class FrameMemoryRecorder;
22 
23 /**
24  * Definition of a object reference holding a frame memory recorder.
25  * @see SmartObjectRef, FrameMemoryRecorder.
26  * @ingroup media
27  */
29 
30 /**
31  * This class implements a frame recorder forwarding the frame to a shared memory.
32  * @ingroup media
33  */
34 class OCEAN_MEDIA_EXPORT FrameMemoryRecorder : virtual public FrameRecorder
35 {
36  protected:
37 
38  /**
39  * Creates a new frame memory recorder object.
40  */
42 
43  /**
44  * Destructs a frame memory recorder object.
45  */
47 };
48 
49 }
50 
51 }
52 
53 #endif // META_OCEAN_MEDIA_FRAME_MEMORY_RECORDER_H
This class implements a frame recorder forwarding the frame to a shared memory.
Definition: FrameMemoryRecorder.h:35
FrameMemoryRecorder()
Creates a new frame memory recorder object.
~FrameMemoryRecorder() override
Destructs a frame memory recorder object.
This class is the base class for all frame recorders.
Definition: FrameRecorder.h:38
This template class implements a smart object reference which is a specialization of an ObjectRef obj...
Definition: SmartObjectRef.h:90
Ocean::SmartObjectRef< FrameMemoryRecorder, Recorder > FrameMemoryRecorderRef
Definition of a object reference holding a frame memory recorder.
Definition: FrameMemoryRecorder.h:21
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15