Commit 9e796f42 authored by seb's avatar seb

- change HwInterface::getCapList to avoid memory leak with python object

- correct some memory leak into CtControl

git-svn-id: 45c4679d-1946-429d-baad-37912b19538b
parent 1baba463
......@@ -216,7 +216,7 @@ class Interface : public HwInterface
Interface(Espia::Acq& acq, BufferCtrlMgr& buffer_mgr, Camera& cam);
virtual ~Interface();
virtual const CapList& getCapList() const;
virtual void getCapList(CapList&) const;
virtual void reset(ResetLevel reset_level);
virtual void prepareAcq();
......@@ -172,7 +172,7 @@ class Interface : HwInterface
virtual ~Interface();
// virtual const HwInterface::CapList& getCapList() const;
virtual const std::vector<HwCap>& getCapList() const;
virtual void getCapList(std::vector<HwCap> &cap_list /Out/) const;
virtual void reset(HwInterface::ResetLevel reset_level);
virtual void prepareAcq();
......@@ -479,10 +479,10 @@ Interface::~Interface()
const HwInterface::CapList& Interface::getCapList() const
void Interface::getCapList(HwInterface::CapList &cap_list) const
return m_cap_list;
cap_list = m_cap_list;
void Interface::reset(ResetLevel reset_level)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment