Explicit owner for Pcg's Photo domain fields. 更多...
#include <PcgPhotoModePhoto.h>
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()
|
override |
Pcg photo mode photo authority.
在文件 PcgPhotoModePhoto.cpp 第 9 行定义.
成员函数说明
◆ acceptsPhotoModeField()
|
overridevirtualnoexcept |
Accepts photo mode field.
在文件 PcgPhotoModePhoto.cpp 第 20 行定义.
引用了 eve::Accepted, eve::Lighting, eve::Photo , 以及 eve::Rejected.
◆ applyPhotoModeField()
|
overridevirtual |
Applies photo mode field.
在文件 PcgPhotoModePhoto.cpp 第 30 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::PhotoModeAssignment::field, eve::InvalidArgument, message, eve::Result< T >::success(), eve::PhotoModeAssignment::value , 以及 value.
◆ lightingProfileMatches()
|
noexcept |
Test whether retained lighting identity matches the current scene profile.
在文件 PcgPhotoModePhoto.cpp 第 70 行定义.
◆ screenshotExtension()
|
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 行定义.
◆ screenshotSize()
|
noexcept |
Resolve Pcg's fixed resolution index; index zero returns 0x0 for screen size.
在文件 PcgPhotoModePhoto.cpp 第 75 行定义.
◆ setAuthority()
| void eve::ui::PcgPhotoModePhotoAuthority::setAuthority | ( | bool | enabled | ) |
Register or revoke this instance as the unique Photo-domain owner.
在文件 PcgPhotoModePhoto.cpp 第 13 行定义.
引用了 enabled.
◆ state()
|
inlinenoexcept |
Return the complete retained Photo-domain state.
在文件 PcgPhotoModePhoto.h 第 39 行定义.
该类的文档由以下文件生成:
- src/modules/ui/PcgPhotoModePhoto.h
- src/modules/ui/PcgPhotoModePhoto.cpp
Public 成员函数 继承自