RICOH Camera USB SDK for C++  1.1.0
RICOH Camera USB SDK for C++
camera_storage.hpp
Go to the documentation of this file.
1 // Copyright (c) 2017 Ricoh Company, Ltd. All Rights Reserved.
2 #ifndef RICOH_CAMERA_SDK_CAMERA_STORAGE_HPP_
3 #define RICOH_CAMERA_SDK_CAMERA_STORAGE_HPP_
4 
5 #include <cstdint>
6 #include <string>
7 #include <vector>
8 #include <memory>
9 
11 
12 namespace Ricoh {
13 namespace CameraController {
14 
15 class CameraImageList;
16 
20 enum class StorageType {
21  Unknown,
22  FixedROM,
24  FixedRAM,
26 };
27 
31 enum class StoragePermission {
32  Unknown,
33  ReadWrite,
34  Read,
36 };
37 
46  NotListed,
47 
52  Listing,
53 
58  Pending,
59 
64  Listed,
65 
71 };
72 
77 public:
78  virtual ~CameraStorage() = default;
79 
85  virtual const std::string& getId() const = 0;
86 
92  virtual bool isAvailable() const = 0;
93 
99  virtual StorageType getType() const = 0;
100 
106  virtual StoragePermission getPermission() const = 0;
107 
113  virtual uint64_t getMaxCapacity() const = 0;
114 
120  virtual uint64_t getFreeSpace() const = 0;
121 
127  virtual uint32_t getRemainingPictures() const = 0;
128 
134  virtual StorageListImagesState getListImagesState() const = 0;
135 
141  virtual const CameraImageList& getImages() const = 0;
142 };
143 
144 } // namespace CameraController
145 } // namespace Ricoh
146 
147 #endif // RICOH_CAMERA_SDK_CAMERA_STORAGE_HPP_
Definition: camera_device.hpp:13
StorageType
The storage type.
Definition: camera_storage.hpp:20
#define RCSDK_API
Definition: export.hpp:17
The class for camera storage.
Definition: camera_storage.hpp:76
The list of CameraImage.
Definition: camera_image_list.hpp:17
StorageListImagesState
The type of acquisition status of image list in a storage.
Definition: camera_storage.hpp:41
StoragePermission
The storage permission.
Definition: camera_storage.hpp:31