JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
CameraDevice::ViewerComponent Struct Reference

#include <juce_win32_CameraDevice.h>

Inheritance diagram for CameraDevice::ViewerComponent:
Collaboration diagram for CameraDevice::ViewerComponent:

Classes

struct  JuceCameraDeviceViewerClass
 

Public Member Functions

 ViewerComponent (CameraDevice &d)
 
 ViewerComponent (CameraDevice &d)
 
 ViewerComponent (CameraDevice &device)
 
 ViewerComponent (CameraDevice &device)
 
 ~ViewerComponent ()
 
 ~ViewerComponent ()
 
void changeListenerCallback (ChangeBroadcaster *) override
 
void ownerDeleted ()
 
void paint (Graphics &g) override
 

Private Member Functions

void componentMovedOrResized (bool, bool) override
 
void componentPeerChanged () override
 
void componentVisibilityChanged () override
 
bool isOrientationLandscape () const
 

Private Attributes

int64 lastRepaintTime
 
int maxFPS
 
Pimplowner
 
float targetAspectRatio = 1.0f
 
AndroidViewComponent viewerComponent
 

Constructor & Destructor Documentation

◆ ViewerComponent() [1/4]

CameraDevice::ViewerComponent::ViewerComponent ( CameraDevice &  device)
inline

◆ ViewerComponent() [2/4]

CameraDevice::ViewerComponent::ViewerComponent ( CameraDevice &  device)
inline

◆ ViewerComponent() [3/4]

CameraDevice::ViewerComponent::ViewerComponent ( CameraDevice &  d)
inline

References JUCE_AUTORELEASEPOOL.

◆ ~ViewerComponent() [1/2]

CameraDevice::ViewerComponent::~ViewerComponent ( )
inline

◆ ViewerComponent() [4/4]

CameraDevice::ViewerComponent::ViewerComponent ( CameraDevice &  d)
inline

◆ ~ViewerComponent() [2/2]

CameraDevice::ViewerComponent::~ViewerComponent ( )
inline

Member Function Documentation

◆ changeListenerCallback()

void CameraDevice::ViewerComponent::changeListenerCallback ( ChangeBroadcaster )
inlineoverride

◆ componentMovedOrResized()

void CameraDevice::ViewerComponent::componentMovedOrResized ( bool  ,
bool   
)
inlineoverrideprivate

◆ componentPeerChanged()

void CameraDevice::ViewerComponent::componentPeerChanged ( )
inlineoverrideprivate

◆ componentVisibilityChanged()

void CameraDevice::ViewerComponent::componentVisibilityChanged ( )
inlineoverrideprivate

◆ isOrientationLandscape()

bool CameraDevice::ViewerComponent::isOrientationLandscape ( ) const
inlineprivate

◆ ownerDeleted()

void CameraDevice::ViewerComponent::ownerDeleted ( )
inline

◆ paint()

void CameraDevice::ViewerComponent::paint ( Graphics &  g)
inlineoverride

Member Data Documentation

◆ lastRepaintTime

int64 CameraDevice::ViewerComponent::lastRepaintTime
private

◆ maxFPS

int CameraDevice::ViewerComponent::maxFPS
private

◆ owner

Pimpl* CameraDevice::ViewerComponent::owner
private

◆ targetAspectRatio

float CameraDevice::ViewerComponent::targetAspectRatio = 1.0f
private

◆ viewerComponent

AndroidViewComponent CameraDevice::ViewerComponent::viewerComponent
private

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