JUCE  v6.1.6 (6.0.8-1114)
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 &device)
 
 ViewerComponent (CameraDevice &device)
 
 ViewerComponent (CameraDevice &device)
 
 ~ViewerComponent ()
 
 ~ViewerComponent () override
 
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 &  device)
inline

◆ ~ViewerComponent() [1/2]

CameraDevice::ViewerComponent::~ViewerComponent ( )
inline

◆ ViewerComponent() [4/4]

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

◆ ~ViewerComponent() [2/2]

CameraDevice::ViewerComponent::~ViewerComponent ( )
inlineoverride

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

References owner.

◆ paint()

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

Member Data Documentation

◆ lastRepaintTime

int64 CameraDevice::ViewerComponent::lastRepaintTime
private

Referenced by changeListenerCallback().

◆ maxFPS

int CameraDevice::ViewerComponent::maxFPS
private

Referenced by changeListenerCallback().

◆ 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: