IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LocalActionRequest.h
1 // LocalActionRequest.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKCORE_LOCALACTIONREQUEST_H__
16 #define __IPSDKCORE_LOCALACTIONREQUEST_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::core::LocalActionRequest::_pAction' : class 'boost::shared_ptr<T>' needs to have dll-interface to be used by clients of class 'ipsdk::core::LocalActionRequest'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
23 #include <IPSDKCore/Processing/ActionRequest/BaseActionRequest.h>
25 
26 namespace ipsdk {
27 namespace core {
28 
31 
33 {
34 public:
40 
41 // methods
42 public:
44  eActionRequestType getActionRequestType() const;
45 
51  BoolResult init(const ActionPtr& pAction,
52  bool bIntermediateData);
53 
54 protected:
57  ExecResult executeActionDerived();
58 
60  void requestCancellationDerived();
61 
63  void clearDerived();
64 
66  void notifyActionCompletion(const ActionPtr& pAction);
67 
68 // attributes
69 protected:
72 
77 };
78 
81 
82 inline eActionRequestType
84 {
86 }
87 
90 
91 } // end of namespace core
92 } // end of namespace ipsdk
93 
94 #pragma warning (pop)
95 
96 #endif // __IPSDKCORE_LOCALACTIONREQUEST_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base class for action requests.
Definition: BaseActionRequest.h:40
ActionPtr _pAction
pointer to action associated to request
Definition: LocalActionRequest.h:71
boost::shared_ptr< BaseAction > ActionPtr
shared pointer to BaseAction
Definition: ActionTypes.h:54
Action request is local, associated action can be immediatly accessed.
Definition: ActionRequestTypes.h:40
#define IPSDKCORE_API
Import/Export macro for library IPSDKCore.
Definition: IPSDKCoreExports.h:27
eActionRequestType
Enumerate describing action request type.
Definition: ActionRequestTypes.h:38
Class used for local action request encapsulation.
Definition: LocalActionRequest.h:32
bool _bIntermediateData
Definition: LocalActionRequest.h:76
eActionRequestType getActionRequestType() const
retrieve action request type
Definition: LocalActionRequest.h:83
Predefined types for actions management.