|
nx_cloud_storage_sdk
1.0
Cloud Storage SDK
|
Public Member Functions | |
| Engine (const nx::sdk::cloud_storage::IArchiveUpdateHandler *deviceManagerHandler, const std::shared_ptr< DataManager > &dataManager, const std::string &pluginId) | |
| virtual void | startNotifications () override |
| virtual void | stopNotifications () override |
| virtual nx::sdk::ErrorCode | saveMetadata (const char *deviceId, int64_t timeStampUs, nx::sdk::cloud_storage::MetadataType type, const char *data) override |
| virtual bool | isOnline () const override |
| virtual nx::sdk::ErrorCode | storageSpace (nx::sdk::cloud_storage::StorageSpace *storageSpace) const override |
| virtual nx::sdk::ErrorCode | saveBestShotImage (const char *data) override |
Public Member Functions inherited from nx::sdk::RefCountable< nx::sdk::cloud_storage::IEngine > | |
| RefCountable (const RefCountable &)=delete | |
| RefCountable (RefCountable &&)=delete | |
| RefCountable & | operator= (const RefCountable &)=delete |
| RefCountable & | operator= (RefCountable &&)=delete |
| virtual int | addRef () const override |
| virtual int | releaseRef () const override |
| int | refCount () const |
Public Member Functions inherited from nx::sdk::cloud_storage::IEngine | |
| virtual Result< IDeviceAgent * > | obtainDeviceAgent (const IDeviceInfo *deviceInfo) |
| Result< IString * > | queryBookmarks (const char *filter) |
| Result< IString * > | queryMotionTimePeriods (const char *filter) |
| Result< IString * > | queryAnalytics (const char *filter) |
| Result< IString * > | queryAnalyticsTimePeriods (const char *filter) |
| Result< IString * > | fetchBestShotImage (const char *objectTrackId) const |
Public Member Functions inherited from nx::sdk::Interface< IEngine > | |
| virtual IRefCountable * | queryInterface (const InterfaceId *id) |
| Ptr< Interface > | queryInterface () |
| Ptr< const Interface > | queryInterface () const |
Public Member Functions inherited from nx::sdk::IRefCountable | |
| virtual | ~IRefCountable ()=default |
| template<class Interface > | |
| Ptr< Interface > | queryInterface () |
| template<class Interface > | |
| Ptr< const Interface > | queryInterface () const |
| int | refCountThreadUnsafe () const |
Protected Member Functions | |
| virtual void | doObtainDeviceAgent (nx::sdk::Result< nx::sdk::cloud_storage::IDeviceAgent *> *outResult, const nx::sdk::IDeviceInfo *deviceInfo) override |
| virtual void | doQueryMotionTimePeriods (const char *filter, nx::sdk::Result< nx::sdk::IString *> *outResult) override |
| virtual void | doQueryAnalytics (const char *filter, nx::sdk::Result< nx::sdk::IString *> *outResult) override |
| virtual void | doQueryAnalyticsTimePeriods (const char *filter, nx::sdk::Result< nx::sdk::IString *> *outResult) override |
| virtual void | doQueryBookmarks (const char *filter, nx::sdk::Result< nx::sdk::IString *> *outResult) override |
| virtual nx::sdk::ErrorCode | deleteBookmark (const char *bookmarkId) override |
| virtual void | doFetchBestShotImage (const char *objectTrackId, nx::sdk::Result< nx::sdk::IString *> *outResult) const override |
Protected Member Functions inherited from nx::sdk::Interface< IEngine > | |
| virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override |
| IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId) |
Additional Inherited Members | |
Static Public Member Functions inherited from nx::sdk::cloud_storage::IEngine | |
| static auto | interfaceId () |
Static Public Member Functions inherited from nx::sdk::IRefCountable | |
| static auto | interfaceId () |
Static Protected Member Functions inherited from nx::sdk::IRefCountable | |
| template<int len> | |
| static const InterfaceId * | makeId (const char(&charArray)[len]) |
| template<int len, int alternativeLen> | |
| static std::vector< const InterfaceId * > | makeIdWithAlternative (const char(&charArray)[len], const char(&alternativeCharArray)[alternativeLen]) |
| template<class TemplateInstance , class TemplateArg , int len> | |
| static const InterfaceId * | makeIdForTemplate (const char(&baseIdCharArray)[len]) |
| static std::vector< const InterfaceId * > | alternativeInterfaceIds (const InterfaceId *id) |
| static std::vector< const InterfaceId * > | alternativeInterfaceIds (std::vector< const InterfaceId *> ids) |
|
overridevirtual |
Check if plugin backend is operational. This function will be periodically called by Server.
Implements nx::sdk::cloud_storage::IEngine.
|
overridevirtual |
Add a best shot image to the ObjectTrack. data is the JSON representation of the nx::sdk::cloud_storage::Image struct.
Implements nx::sdk::cloud_storage::IEngine.
|
overridevirtual |
| data | A null-terminated string containing the JSON of the corresponding metadata object. Refer to Bookmark, ObjectTrack and Motion objects in the sdk/cloud_storage/helpers/data.h for details. |
Implements nx::sdk::cloud_storage::IEngine.
|
overridevirtual |
No IArchiveUpdateHandler::onArchiveUpdated() should be called by the plugin before this function has been called.
Implements nx::sdk::cloud_storage::IEngine.
|
overridevirtual |
No IArchiveUpdateHandler::onArchiveUpdated() should be called by the plugin after this function has been called.
Implements nx::sdk::cloud_storage::IEngine.
|
overridevirtual |
Get backend storage space information.
Implements nx::sdk::cloud_storage::IEngine.
1.8.14