![]() |
NDEVR
API Documentation
|
Factory for creating VLCCameraView instances. More...
Public Member Functions | |
| virtual bool | canCreateView (const DynamicPointer< Camera > &camera, DesignObjectLookup *model_manager, bool ignore_active) override |
| Checks whether a camera view can be created for the given camera. | |
| virtual CameraView * | createView (const DynamicPointer< Camera > &camera, DesignObjectLookup *model_manager, QWidget *parent=nullptr) override |
| Creates a camera view for the given camera. | |
| virtual void | resetToDefaults () override |
| Resets factory settings to their defaults. | |
| virtual Buffer< PhysicalCameraView::OutputCodec > | supportedOutputCodecs () override |
| Returns the list of video codecs supported by VLC output. | |
| virtual Buffer< PhysicalCameraView::OutputMux > | supportedOutputMuxes () override |
| Returns the list of container formats supported by VLC output. | |
| Public Member Functions inherited from ViewportFactory | |
| virtual Buffer< DynamicPointer< Camera > > | availableCameraStreams () const |
| Returns all camera streams that this factory can provide. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from ViewportFactory | |
| static void | AddFactory (ViewportFactory *factory) |
| Registers a viewport factory for creating camera views. | |
| static Buffer< DynamicPointer< Camera > > | AvailableCameraStreams () |
| Returns all available camera streams from all registered factories. | |
| static bool | CanCreateView (const DynamicPointer< Camera > &camera, DesignObjectLookup *model_manager) |
| Checks whether any registered factory can create a view for the given camera. | |
| static CameraView * | CreateView (const DynamicPointer< Camera > &camera, DesignObjectLookup *model_manager, QWidget *parent=nullptr) |
| Creates a CameraView using the first registered factory that supports the given camera. | |
| static Buffer< ViewportFactory * > | RegisteredFactories () |
| Returns all registered ViewportFactory instances. | |
| Static Protected Attributes inherited from ViewportFactory | |
| static Buffer< ViewportFactory * > | s_camera_factories |
| The list of registered viewport factories. | |
Factory for creating VLCCameraView instances.
Provides information about supported codecs and muxes, and creates VLCCameraView widgets for cameras that support VLC-based playback.
Definition at line 205 of file VLCCameraView.h.
|
overridevirtual |
Checks whether a camera view can be created for the given camera.
| [in] | camera | the camera design object. |
| [in] | model_manager | the design object lookup. |
| [in] | ignore_active | whether to ignore active state checks. |
Implements ViewportFactory.
|
overridevirtual |
Creates a camera view for the given camera.
| [in] | camera | the camera design object. |
| [in] | model_manager | the design object lookup. |
| [in] | parent | the parent widget. |
Implements ViewportFactory.
|
overridevirtual |
Returns the list of video codecs supported by VLC output.
Reimplemented from PhysicalCameraViewFactory.
|
overridevirtual |
Returns the list of container formats supported by VLC output.
Reimplemented from PhysicalCameraViewFactory.