22 #ifndef INCLUDED_PMT_SUGAR_H 23 #define INCLUDED_PMT_SUGAR_H 56 static inline pmt_t mp(std::complex<double> z)
62 static inline pmt_t mp(std::complex<float> z)
68 static inline pmt_t mp(boost::shared_ptr<gr::messages::msg_accepter> ma)
74 static inline pmt_t mp(
const void* data,
size_t len_in_bytes)
124 return make_tuple(e0, e1, e2, e3, e4, e5, e6);
137 return make_tuple(e0, e1, e2, e3, e4, e5, e6, e7);
151 return make_tuple(e0, e1, e2, e3, e4, e5, e6, e7, e8);
166 return make_tuple(e0, e1, e2, e3, e4, e5, e6, e7, e8, e9);
PMT_API pmt_t from_long(long x)
Return the pmt value that represents the integer x.
boost::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting). See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
Definition: pmt.h:96
PMT_API pmt_t string_to_symbol(const std::string &s)
Return the symbol whose name is s.
PMT_API pmt_t from_uint64(uint64_t x)
Return the pmt value that represents the uint64 x.
PMT_API pmt_t make_tuple()
PMT_API pmt_t make_rectangular(double re, double im)
Return a complex number constructed of the given real and imaginary parts.
PMT_API pmt_t make_blob(const void *buf, size_t len)
Make a blob given a pointer and length in bytes.
PMT_API pmt_t from_double(double x)
Return the pmt value that represents double x.
static pmt_t mp(const std::string &s)
Make pmt symbol.
Definition: pmt_sugar.h:35
PMT_API pmt_t make_msg_accepter(boost::shared_ptr< gr::messages::msg_accepter > ma)
make a msg_accepter