Commit cb31680a authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by Operator for ID00
Browse files

Forbid copies of Camera and Interface: BufferAllocMgr no longer copiable

parent 1d231d01
......@@ -54,6 +54,7 @@ public:
typedef Defs::NetworkParameter NetworkParameter;
Camera(std::string config_fname);
Camera(const Camera& o) = delete;
virtual ~Camera();
Type getType();
......
......@@ -164,6 +164,7 @@ class Interface : public HwInterface
public:
Interface(Camera& cam);
Interface(const Interface& o) = delete;
virtual ~Interface();
virtual void getCapList(CapList&) const;
......
......@@ -121,6 +121,9 @@ public:
SlsDetector::GlobalCPUAffinityMgr::ProcessingFinishedEvent *
getProcessingFinishedEvent();
private:
Camera(const SlsDetector::Camera& o);
};
......
......@@ -145,6 +145,9 @@ class Interface : HwInterface
break;
}
%End
private:
Interface(const SlsDetector::Interface& o);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment