ImagingTools Core SDK
Public Member Functions | List of all members
imtbase::IOperationContextabstract

#include <IOperationContext.h>

Inherits istd::IChangeable.

Inherited by imtbase::COperationContext [virtual].

Public Member Functions

virtual IdentifableObjectInfo GetOperationOwnerId () const =0
 
virtual QString GetOperationDescription () const =0
 
virtual imtbase::IObjectCollectionGetChangesCollection ()=0
 

Detailed Description

Common interface for the context of an operation. This interface provide informations:

  1. Who/what has started the operation
  2. Human-readable description of the operation

Definition at line 22 of file IOperationContext.h.

Member Function Documentation

◆ GetChangesCollection()

virtual imtbase::IObjectCollection * imtbase::IOperationContext::GetChangesCollection ( )
pure virtual

Get changes collection.

◆ GetOperationDescription()

virtual QString imtbase::IOperationContext::GetOperationDescription ( ) const
pure virtual

Description related to the operation.

◆ GetOperationOwnerId()

virtual IdentifableObjectInfo imtbase::IOperationContext::GetOperationOwnerId ( ) const
pure virtual

Get information about the initiator of the operation. E.g user-ID