Interface that receives notifications related to ProtectionProfile.
More...
#include <src/api/mip/protection/protection_profile.h>
|
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 | OnAddEngineSuccess (const std::shared_ptr< ProtectionEngine > &engine, const std::shared_ptr< void > &context) |
| Called when a new engine was added successfully.
|
|
virtual void | OnDeleteEngineFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) |
| Called when deleting an engine resulted in an error.
|
|
virtual void | OnDeleteEngineSuccess (const std::shared_ptr< void > &context) |
| Called when an engine was deleted 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 | OnListEnginesSuccess (const std::vector< std::string > &engineIds, const std::shared_ptr< void > &context) |
| Called when list of engines was generated 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 | OnLoadSuccess (const std::shared_ptr< ProtectionProfile > &profile, const std::shared_ptr< void > &context) |
| Called when profile was loaded successfully.
|
|
Interface that receives notifications related to ProtectionProfile.
- Note
- This interface must be implemented by applications using the protection SDK
Definition at line 66 of file protection_profile.h.
◆ 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
-
Definition at line 136 of file protection_profile.h.
138 { UNUSED(error); UNUSED(context); }
◆ 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
-
Definition at line 126 of file protection_profile.h.
128 { UNUSED(engine); UNUSED(context); }
◆ 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
-
Definition at line 154 of file protection_profile.h.
156 { UNUSED(error); UNUSED(context); }
◆ OnDeleteEngineSuccess()
virtual void ProtectionProfile::Observer::OnDeleteEngineSuccess |
( |
const std::shared_ptr< void > & | context | ) |
|
|
inlinevirtual |
◆ 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
-
Definition at line 116 of file protection_profile.h.
118 { UNUSED(error); UNUSED(context); }
◆ 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
-
Definition at line 106 of file protection_profile.h.
108 { UNUSED(engineIds); UNUSED(context); }
◆ 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: