7 #include "fwData/registry/macros.hpp" 8 #include "fwData/Exception.hpp" 9 #include "fwData/PlaneList.hpp" 11 #include <fwCom/Signal.hpp> 12 #include <fwCom/Signal.hxx> 14 #include <fwCore/base.hpp> 46 PlaneList::csptr other = PlaneList::dynamicConstCast(_source);
48 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
59 PlaneList::csptr other = PlaneList::dynamicConstCast(_source);
61 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
66 for(const ::fwData::Plane::sptr& plane : other->m_vPlanes)
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_VISIBILITY_MODIFIED_SIG
Signal emitted when a plane is added.
#define SLM_TRACE_FUNC()
Trace contextual function signature.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_PLANE_REMOVED_SIG
Signal emitted when a plane is added.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
PlaneListContainer m_vPlanes
Planes container.
FWDATA_API void shallowCopy(const Object::csptr &_source) override
Defines shallow copy.
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
static FWDATA_API::fwData::Object::sptr copy(const ::fwData::Object::csptr &source)
return a copy of the source. if source is a null pointer, return a null pointer.
FWDATA_API PlaneList(::fwData::Object::Key key)
Constructor.
This class defines a list of planes.
Contains the representation of the data objects used in the framework.
FWDATA_API void fieldShallowCopy(const ::fwData::Object::csptr &source)
A shallow copy of fields (objects in m_children)
static FWDATA_APIconst::fwCom::Signals::SignalKeyType s_PLANE_ADDED_SIG
Signal emitted when a plane is added.
virtual FWDATA_API ~PlaneList()
Destructor.
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.