Ocean
|
This class is the base class for all recorder. More...
Public Types | |
enum | Type { RECORDER = 0 , FRAME_RECORDER = 1 , SOUND_RECORDER = 2 , EXPLICIT_RECORDER = 4 , IMPLICIT_RECORDER = 8 , FILE_RECORDER = 16 | EXPLICIT_RECORDER , BUFFER_RECORDER = 32 | EXPLICIT_RECORDER , STREAMING_RECORDER = 64 | IMPLICIT_RECORDER , MOVIE_RECORDER = 128 | FRAME_RECORDER | FILE_RECORDER , FRAME_STREAMING_RECORDER = 256 | FRAME_RECORDER | STREAMING_RECORDER , IMAGE_RECORDER = 512 | FRAME_RECORDER | FILE_RECORDER , BUFFER_IMAGE_RECORDER = 1024 | FRAME_RECORDER | BUFFER_RECORDER , IMAGE_SEQUENCE_RECORDER = 2048 | FRAME_RECORDER | FILE_RECORDER , FRAME_MEMORY_RECORDER = 4096 | FRAME_RECORDER } |
Definition of different recorder types. More... | |
typedef std::vector< std::string > | Encoders |
Definition of a vector holding encoder names. More... | |
Public Member Functions | |
virtual bool | isRecording () const =0 |
Returns whether this recorder is currently recording. More... | |
Type | type () const |
Returns the type of this recorder. More... | |
Protected Member Functions | |
Recorder () | |
Creates a new recorder. More... | |
virtual | ~Recorder () |
Destructs a recorder. More... | |
Protected Attributes | |
Type | recorderType |
Type of this recorder. More... | |
Lock | recorderLock |
Lock of this recorder. More... | |
Friends | |
class | ObjectRef< Recorder > |
This class is the base class for all recorder.
typedef std::vector<std::string> Ocean::Media::Recorder::Encoders |
Definition of a vector holding encoder names.
Definition of different recorder types.
Enumerator | |
---|---|
RECORDER | Simple recorder. |
FRAME_RECORDER | Frame recorder. |
SOUND_RECORDER | Sound recorder. |
EXPLICIT_RECORDER | Explicit recorder. |
IMPLICIT_RECORDER | Implicit recorder. |
FILE_RECORDER | File recorder. |
BUFFER_RECORDER | Buffer recorder. |
STREAMING_RECORDER | Streaming recorder. |
MOVIE_RECORDER | Movie recorder. |
FRAME_STREAMING_RECORDER | Frame streaming recorder. |
IMAGE_RECORDER | Image recorder. |
BUFFER_IMAGE_RECORDER | Buffer image recorder. |
IMAGE_SEQUENCE_RECORDER | Image sequence recorder. |
FRAME_MEMORY_RECORDER | Frame memory recorder. |
|
protected |
Creates a new recorder.
|
protectedvirtual |
Destructs a recorder.
|
pure virtual |
Returns whether this recorder is currently recording.
Implemented in Ocean::Media::OpenImageLibraries::OILImageSequenceRecorder, Ocean::Media::MediaFoundation::MFMovieRecorder, Ocean::Media::ImageRecorder, Ocean::Media::DirectShow::DSFileRecorder, Ocean::Media::BufferImageRecorder, Ocean::Media::AVFoundation::AVFMovieRecorder, and Ocean::Media::Android::AMovieRecorder.
|
inline |
Returns the type of this recorder.
|
protected |
Type of this recorder.