载入中...
搜索中...
未找到
eve::ui::PcgPhotoModePhotoAuthority类 参考final

Explicit owner for Pcg's Photo domain fields. 更多...

#include <PcgPhotoModePhoto.h>

类 eve::ui::PcgPhotoModePhotoAuthority 继承关系图:
eve::IPhotoModeFieldSink

Public 成员函数

 ~PcgPhotoModePhotoAuthority () override
 Pcg photo mode photo authority.
 
void setAuthority (bool enabled)
 Register or revoke this instance as the unique Photo-domain owner.
 
const PcgPhotoModePhotoState & state () const noexcept
 Return the complete retained Photo-domain state.
 
bool lightingProfileMatches (int currentProfile) const noexcept
 Test whether retained lighting identity matches the current scene profile.
 
PcgScreenshotSize screenshotSize () const noexcept
 Resolve Pcg's fixed resolution index; index zero returns 0x0 for screen size.
 
const char * screenshotExtension () const noexcept
 Return the lowercase extension for the retained screenshot format. @ownership The returned pointer borrows immutable static storage. @lifetime Valid for the lifetime of the process.
 
PhotoModeFieldAcceptance acceptsPhotoModeField (const PhotoModeAssignment &assignment) const noexcept override
 Accepts photo mode field.
 
Result< void > applyPhotoModeField (const PhotoModeAssignment &assignment) override
 Applies photo mode field.
 
- Public 成员函数 继承自 eve::IPhotoModeFieldSink
virtual ~IPhotoModeFieldSink ()=default
 Releases IPhotoModeFieldSink resources.
 

额外继承的成员函数

- 静态 Public 属性 继承自 eve::IPhotoModeFieldSink
static constexpr const char * capabilityName ="eve.photo-mode.field"
 

详细描述

Explicit owner for Pcg's Photo domain fields.

在文件 PcgPhotoModePhoto.h 第 32 行定义.

构造及析构函数说明

◆ ~PcgPhotoModePhotoAuthority()

eve::ui::PcgPhotoModePhotoAuthority::~PcgPhotoModePhotoAuthority ( )
override

Pcg photo mode photo authority.

在文件 PcgPhotoModePhoto.cpp 第 9 行定义.

成员函数说明

◆ acceptsPhotoModeField()

PhotoModeFieldAcceptance eve::ui::PcgPhotoModePhotoAuthority::acceptsPhotoModeField ( const PhotoModeAssignment &  assignment) const
overridevirtualnoexcept

Accepts photo mode field.

实现了 eve::IPhotoModeFieldSink.

在文件 PcgPhotoModePhoto.cpp 第 20 行定义.

引用了 eve::Accepted, eve::Lighting, eve::Photo , 以及 eve::Rejected.

◆ applyPhotoModeField()

Result< void > eve::ui::PcgPhotoModePhotoAuthority::applyPhotoModeField ( const PhotoModeAssignment &  assignment)
overridevirtual

◆ lightingProfileMatches()

bool eve::ui::PcgPhotoModePhotoAuthority::lightingProfileMatches ( int  currentProfile) const
noexcept

Test whether retained lighting identity matches the current scene profile.

在文件 PcgPhotoModePhoto.cpp 第 70 行定义.

◆ screenshotExtension()

const char * eve::ui::PcgPhotoModePhotoAuthority::screenshotExtension ( ) const
noexcept

Return the lowercase extension for the retained screenshot format. @ownership The returned pointer borrows immutable static storage. @lifetime Valid for the lifetime of the process.

在文件 PcgPhotoModePhoto.cpp 第 82 行定义.

引用了 eve::ui::PcgPhotoModePhotoState::screenshotFormat.

◆ screenshotSize()

PcgScreenshotSize eve::ui::PcgPhotoModePhotoAuthority::screenshotSize ( ) const
noexcept

Resolve Pcg's fixed resolution index; index zero returns 0x0 for screen size.

在文件 PcgPhotoModePhoto.cpp 第 75 行定义.

引用了 eve::ui::PcgPhotoModePhotoState::screenshotResolution.

◆ setAuthority()

void eve::ui::PcgPhotoModePhotoAuthority::setAuthority ( bool  enabled)

Register or revoke this instance as the unique Photo-domain owner.

在文件 PcgPhotoModePhoto.cpp 第 13 行定义.

引用了 enabled.

◆ state()

const PcgPhotoModePhotoState & eve::ui::PcgPhotoModePhotoAuthority::state ( ) const
inlinenoexcept

Return the complete retained Photo-domain state.

在文件 PcgPhotoModePhoto.h 第 39 行定义.


该类的文档由以下文件生成: