reference counting in widget

This commit is contained in:
ozantonkal
2013-07-04 15:57:49 +03:00
parent 141cfd562c
commit 158ed299c1
2 changed files with 37 additions and 5 deletions

View File

@@ -14,6 +14,8 @@ namespace temp_viz
Widget(const Widget &other);
Widget& operator =(const Widget &other);
~Widget();
void copyTo(Widget &dst);
void setColor(const Color &color);
@@ -23,7 +25,11 @@ namespace temp_viz
private:
class Impl;
cv::Ptr<Impl> impl_;
Impl* impl_;
void create();
void release();
friend struct WidgetAccessor;
};