IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
UpdatePendingAction.h
1 // UpdatePendingAction.h:
3 // ----------------------
4 //
14 
15 #ifndef __IPSDKCORE_UPDATEPENDINGACTION_H__
16 #define __IPSDKCORE_UPDATEPENDINGACTION_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::core::UpdatePendingAction::_pAction' : class 'boost::shared_ptr<T>' needs to have dll-interface to be used by clients of class 'ipsdk::core::UpdatePendingAction'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
23 #include <IPSDKCore/Processing/Action/BaseSimpleAction.h>
25 
26 namespace ipsdk {
27 namespace core {
28 
31 
33 {
34  // declare action class
36 
37 protected:
40 
41 public:
44 
45 // methods
46 public:
49  BoolResult init(const Guid& requestGuid,
50  const ActionPtr& pAction);
51 
54  const Guid& getRequestGuid() const;
55 
56 protected:
59  ExecResultDerived runDerived();
60 
61 // attributes
62 protected:
65 
68 
71 };
72 
75 
76 } // end of namespace core
77 } // end of namespace ipsdk
78 
79 #pragma warning (pop)
80 
81 #endif // __IPSDKCORE_UPDATEPENDINGACTION_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Action allowing to update a pending action on a distant machine.
Definition: UpdatePendingAction.h:32
boost::shared_ptr< BaseAction > ActionPtr
shared pointer to BaseAction
Definition: ActionTypes.h:54
#define IPSDKCORE_API
Import/Export macro for library IPSDKCore.
Definition: IPSDKCoreExports.h:27
boost::shared_ptr< PendingActionRequest > PendingActionRequestPtr
shared pointer to pending action request
Definition: ActionRequestTypes.h:55
Class encapsulating an auto initialized uuid.
Definition: Guid.h:27
ActionPtr _pAction
pointer to action to be updated
Definition: UpdatePendingAction.h:67
PendingActionRequestPtr _pPendingActionRequest
pointer to pending action request to be updated
Definition: UpdatePendingAction.h:70
Predefined types for action resquests management.
Base class for library simple actions.
Definition: BaseSimpleAction.h:26
Guid _requestGuid
request guid has known on local machine
Definition: UpdatePendingAction.h:64
#define IPSDK_DECLARE_ACTION(libraryName, className)
macro allowing to declare an action concrete class
Definition: ActionHdrMacros.h:27