template <class T>

class VectorOfWeakPtr

Defined at line 15 of file ../../src/media/audio/services/common/vector_of_weak_ptr.h

A collection of `std::weak_ptr

<T

>`. To prevent unbounded growth, pointers are automatically

erased from this collection once they expire. Not safe for concurrent use.

Public Methods

void push_back (std::shared_ptr<T> p)

Adds an object to this collection. The caller must maintain a strong reference to the object,

or else it will be destructed immediately.

Defined at line 19 of file ../../src/media/audio/services/common/vector_of_weak_ptr.h

typename std::vector<std::weak_ptr<T>>::const_iterator begin ()

Iterators for the begin/end of this collection. If a call to `begin()` is followed immediately

by `end()`, the range `[begin(), end())` is guaranteed to be live.

Defined at line 26 of file ../../src/media/audio/services/common/vector_of_weak_ptr.h

typename std::vector<std::weak_ptr<T>>::const_iterator end ()

Defined at line 30 of file ../../src/media/audio/services/common/vector_of_weak_ptr.h

size_t size ()

Returns the number of live objects.

Defined at line 36 of file ../../src/media/audio/services/common/vector_of_weak_ptr.h