|
FotoBox
|
The Camera class Use gphoto2 to send commands to camera. More...
#include <camera.h>
Inheritance diagram for FotoBox::Camera:
Collaboration diagram for FotoBox::Camera:Public Member Functions | |
| Camera (QObject *parent=nullptr) | |
| Camera constructor. More... | |
| ~Camera () override=default | |
| Camera destructor. More... | |
| Camera (const Camera &other)=delete | |
| Camera default copy constructor. More... | |
| Camera & | operator= (const Camera &other)=delete |
| Camera default copy assignment. More... | |
| Camera (Camera &&other)=delete | |
| Camera default move constructor. More... | |
| Camera & | operator= (Camera &&other)=delete |
| Camera default move assignment. More... | |
| auto | shootPhoto () -> bool |
| shoot a photo with gphoto2 More... | |
| auto | currentPhoto () const -> QString |
| return member More... | |
Private Attributes | |
| const int | m_timeoutValue |
| QString | m_currentPhoto |
| const QString | m_photoSuffix |
| const QString | m_cameraMode |
| const QStringList | m_argList |
| QProcess | m_process |
Static Private Attributes | |
| static constexpr int | TO_SECONDS = 1000 |
|
explicit |
Camera constructor.
| parent | QObjec |
Definition at line 16 of file camera.cpp.
References FotoBox::PreferenceProvider::instance(), and m_process.
Here is the call graph for this function:
|
overridedefault |
Camera destructor.
| auto FotoBox::Camera::currentPhoto | ( | ) | const -> QString |
return member
Definition at line 48 of file camera.cpp.
References m_currentPhoto.
| auto FotoBox::Camera::shootPhoto | ( | ) | -> bool |
shoot a photo with gphoto2
Definition at line 32 of file camera.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexprprivate |