Interface that receives notifications related to ProtectionProfile.
More...
#include <mip/protection/protection_profile.h>
|
| virtual | ~Observer () |
| |
| virtual void | OnLoadSuccess (const std::shared_ptr< ProtectionProfile > &profile, const std::shared_ptr< void > &context) |
| | Called when profile was loaded successfully.
|
| |
| virtual void | OnLoadFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
| | Called when loading a profile caused an error.
|
| |
| virtual void | OnListEnginesSuccess (const std::vector< std::string > &engineIds, const std::shared_ptr< void > &context) |
| | Called when list of engines was generated successfully.
|
| |
| virtual void | OnListEnginesFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
| | Called when listing engines resulted in an error.
|
| |
| virtual void | OnAddEngineSuccess (const std::shared_ptr< ProtectionEngine > &engine, const std::shared_ptr< void > &context) |
| | Called when a new engine was added successfully.
|
| |
| virtual void | OnAddEngineFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
| | Called when adding a new engine resulted in an error.
|
| |
| virtual void | OnDeleteEngineSuccess (const std::shared_ptr< void > &context) |
| | Called when an engine was deleted successfully.
|
| |
| virtual void | OnDeleteEngineFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
| | Called when deleting an engine resulted in an error.
|
| |
Interface that receives notifications related to ProtectionProfile.
- Note
- This interface must be implemented by applications using the protection SDK
◆ ~Observer()
| virtual ProtectionProfile::Observer::~Observer |
( |
| ) |
|
|
inlinevirtual |
◆ Observer()
| ProtectionProfile::Observer::Observer |
( |
| ) |
|
|
inlineprotected |
◆ OnAddEngineFailure()
| virtual void ProtectionProfile::Observer::OnAddEngineFailure |
( |
const std::exception_ptr & | error, |
|
|
const std::shared_ptr< void > & | context ) |
|
inlinevirtual |
Called when adding a new engine resulted in an error.
- Parameters
-
◆ OnAddEngineSuccess()
| virtual void ProtectionProfile::Observer::OnAddEngineSuccess |
( |
const std::shared_ptr< ProtectionEngine > & | engine, |
|
|
const std::shared_ptr< void > & | context ) |
|
inlinevirtual |
Called when a new engine was added successfully.
- Parameters
-
◆ OnDeleteEngineFailure()
| virtual void ProtectionProfile::Observer::OnDeleteEngineFailure |
( |
const std::exception_ptr & | error, |
|
|
const std::shared_ptr< void > & | context ) |
|
inlinevirtual |
Called when deleting an engine resulted in an error.
- Parameters
-
◆ OnDeleteEngineSuccess()
| virtual void ProtectionProfile::Observer::OnDeleteEngineSuccess |
( |
const std::shared_ptr< void > & | context | ) |
|
|
inlinevirtual |
Called when an engine was deleted successfully.
- Parameters
-
◆ OnListEnginesFailure()
| virtual void ProtectionProfile::Observer::OnListEnginesFailure |
( |
const std::exception_ptr & | error, |
|
|
const std::shared_ptr< void > & | context ) |
|
inlinevirtual |
Called when listing engines resulted in an error.
- Parameters
-
◆ OnListEnginesSuccess()
| virtual void ProtectionProfile::Observer::OnListEnginesSuccess |
( |
const std::vector< std::string > & | engineIds, |
|
|
const std::shared_ptr< void > & | context ) |
|
inlinevirtual |
Called when list of engines was generated successfully.
- Parameters
-
◆ OnLoadFailure()
| virtual void ProtectionProfile::Observer::OnLoadFailure |
( |
const std::exception_ptr & | error, |
|
|
const std::shared_ptr< void > & | context ) |
|
inlinevirtual |
◆ OnLoadSuccess()
| virtual void ProtectionProfile::Observer::OnLoadSuccess |
( |
const std::shared_ptr< ProtectionProfile > & | profile, |
|
|
const std::shared_ptr< void > & | context ) |
|
inlinevirtual |
The documentation for this class was generated from the following file:
- src/api/mip/protection/protection_profile.h