Commit Graph
2 Commits
Author SHA1 Message Date
Sameeh Jubran 7bbf63031e NetKVM: Observee: Make list countable
The Add method should return the size of list after the element has been
added. This method will always return 0 when the list's typename is
CNonCountingObject.

Signed-off-by: Sameeh Jubran <[email protected]>
2018-07-01 10:58:15 +03:00
Sameeh Jubran a419f3603f NetKVM: Add observer design pattern implementation
This commit introduces a generic observer/observee implementation in c++
which can be easily reused.

Signed-off-by: Sameeh Jubran <[email protected]>
2018-04-26 10:32:20 +03:00