diff options
author | Josh Blum | 2012-09-12 01:57:46 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-12 01:57:46 -0700 |
commit | 79276543e665a53eb6f976c47f4c92e8faf844ba (patch) | |
tree | e1abdbeca3232567e231eb9897da72af65a111a5 /lib/gras_impl/token.hpp | |
parent | 8695f6127a447dbe6f5cf6eeba9d5cd110e33420 (diff) | |
download | sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.tar.gz sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.tar.bz2 sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.zip |
communicate downstream buffer reqs to upstream output allocator
Diffstat (limited to 'lib/gras_impl/token.hpp')
-rw-r--r-- | lib/gras_impl/token.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gras_impl/token.hpp b/lib/gras_impl/token.hpp index 4923f74..d5b438a 100644 --- a/lib/gras_impl/token.hpp +++ b/lib/gras_impl/token.hpp @@ -18,10 +18,13 @@ #define INCLUDED_LIBGRAS_IMPL_TOKEN_HPP #include <boost/shared_ptr.hpp> +#include <boost/weak_ptr.hpp> namespace gnuradio { +typedef boost::weak_ptr<int> WeakToken; + struct Token : boost::shared_ptr<int> { static Token make(void) |