7 #include "ctrlMemory/LockDumpSrv.hpp" 9 #include <fwServices/macros.hpp> 14 static const ::fwServices::IService::KeyType s_TARGET_INOUT =
"target";
36 ::fwData::Object::sptr
object = this->getInOut< ::fwData::Object >(s_TARGET_INOUT);
#define FW_DEPRECATED_KEY(newKey, access, version)
Use this macro when deprecating a service key to warn the developer.
virtual CTRLMEMORY_API void configuring() override
Does nothing.
virtual CTRLMEMORY_API ~LockDumpSrv() noexcept
Destructor. Does nothing.
This interface defines control service API. Does nothing particularly, can be considered as a default...
virtual CTRLMEMORY_API void stopping() override
Dump unlock the associated data.
Base class for each data object.
FWSERVICES_API::fwData::Object::sptr getObject()
Return the object associated to service.
CTRLMEMORY_API LockDumpSrv() noexcept
Constructor. Does nothing.
virtual CTRLMEMORY_API void starting() override
Uses fwData::ObjectLock to dump lock the associated data.
A simple helper to lock specific object, manages : Image, Mesh and Array.
virtual CTRLMEMORY_API void info(std::ostream &_sstream) override
Does nothing.
virtual CTRLMEMORY_API void reconfiguring() override
Does nothing.
virtual CTRLMEMORY_API void updating() override
Does nothing.
This services dump lock object. Unlock it on stopping.
The namespace ctrlMemory contains services to lock objects to prevent dump.