JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
CameraDevice::Pimpl::CaptureSessionPreviewMode Struct Referenceabstract
Inheritance diagram for CameraDevice::Pimpl::CaptureSessionPreviewMode:
Collaboration diagram for CameraDevice::Pimpl::CaptureSessionPreviewMode:

Public Member Functions

 CaptureSessionPreviewMode (Pimpl &ownerToUse, ScopedCameraDevice &cameraDeviceToUse, GlobalRef &handlerToUse, PreviewDisplay &pd, ImageReader &ir, int sensorOrientation, int cameraLensFacingToUse, StreamConfigurationMap &streamConfigurationMapToUse)
 
LocalRef< jobject > getCaptureSessionSurfaces () const
 
LocalRef< jobject > getTargetSurfaces () const
 
virtual bool isVideoRecordSession () const =0
 
bool isVideoRecordSession () const override
 
void sessionStarted ()
 
void takeStillPicture ()
 
void triggerStillPictureCapture () override
 

Static Public Member Functions

static int getTemplate ()
 
static bool isVideoRecord ()
 

Protected Member Functions

void captureSessionConfigured (ScopedCameraDevice::CaptureSession *session) override
 
CaptureSessionPreviewModecrtp ()
 
void previewDisplayAboutToBeDestroyed () override
 
void previewDisplayReady () override
 
void startSession ()
 
void stopPreview ()
 

Protected Attributes

int cameraLensFacing
 
int cameraSensorOrientation
 
std::unique_ptr< ScopedCameraDevice::CaptureSessioncaptureSession
 
GlobalRef & handler
 
Pimplowner
 
PreviewDisplaypreviewDisplay
 
ScopedCameraDevicescopedCameraDevice
 
StreamConfigurationMapstreamConfigurationMap
 

Private Attributes

ImageReaderimageReader
 

Constructor & Destructor Documentation

◆ CaptureSessionPreviewMode()

CameraDevice::Pimpl::CaptureSessionPreviewMode::CaptureSessionPreviewMode ( Pimpl ownerToUse,
ScopedCameraDevice cameraDeviceToUse,
GlobalRef &  handlerToUse,
PreviewDisplay pd,
ImageReader ir,
int  sensorOrientation,
int  cameraLensFacingToUse,
StreamConfigurationMap streamConfigurationMapToUse 
)
inline

Member Function Documentation

◆ captureSessionConfigured()

◆ crtp()

◆ getCaptureSessionSurfaces()

◆ getTargetSurfaces()

LocalRef<jobject> CameraDevice::Pimpl::CaptureSessionPreviewMode::getTargetSurfaces ( ) const
inline

◆ getTemplate()

static int CameraDevice::Pimpl::CaptureSessionPreviewMode::getTemplate ( )
inlinestatic

◆ isVideoRecord()

static bool CameraDevice::Pimpl::CaptureSessionPreviewMode::isVideoRecord ( )
inlinestatic

◆ isVideoRecordSession() [1/2]

virtual bool CameraDevice::Pimpl::CaptureSessionModeBase::isVideoRecordSession ( ) const
pure virtualinherited

◆ isVideoRecordSession() [2/2]

bool CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::isVideoRecordSession
inlineoverrideinherited

◆ previewDisplayAboutToBeDestroyed()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::previewDisplayAboutToBeDestroyed
inlineoverrideprotectedvirtualinherited

◆ previewDisplayReady()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::previewDisplayReady
inlineoverrideprotectedvirtualinherited

◆ sessionStarted()

void CameraDevice::Pimpl::CaptureSessionPreviewMode::sessionStarted ( )
inline

◆ startSession()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::startSession
inlineprotectedinherited

◆ stopPreview()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::stopPreview
inlineprotectedinherited

◆ takeStillPicture()

◆ triggerStillPictureCapture()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::triggerStillPictureCapture
inlineoverridevirtualinherited

Member Data Documentation

◆ cameraLensFacing

◆ cameraSensorOrientation

int CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::cameraSensorOrientation
protectedinherited

◆ captureSession

◆ handler

GlobalRef& CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::handler
protectedinherited

◆ imageReader

ImageReader& CameraDevice::Pimpl::CaptureSessionPreviewMode::imageReader
private

◆ owner

◆ previewDisplay

◆ scopedCameraDevice

◆ streamConfigurationMap


The documentation for this struct was generated from the following file: