Centralizing and unifying the generator of object identifiers.

This commit is contained in:
brunoherbelin
2020-10-03 14:05:28 +02:00
parent 61e5c046c0
commit f32b85a656
12 changed files with 44 additions and 19 deletions

View File

@@ -26,6 +26,10 @@ public:
* Destructor.
*/
~Stream();
/**
* Get unique id
*/
inline int id() const { return id_; }
/**
* Open a media using gstreamer pipeline keyword
* */
@@ -108,8 +112,6 @@ public:
* */
void accept(Visitor& v);
int id() const;
protected:
// video player description