summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_debug_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-06 12:23:05 -0500
committerTom Rondeau <trondeau@vt.edu>2013-03-06 12:23:05 -0500
commita770feec38cd8a188a4c4c88f34d513155b4b539 (patch)
treeac5a0263daf24c8a78868a307df68a30c9890b0b /gr-blocks/lib/message_debug_impl.cc
parenta08afb0b0166cab961982f174a5cf672393b5198 (diff)
blocks: removing blocks moved into gr-blocks:
message_strobe, message_debug, message_source, message_sink, message_burst_source, peak_detector, moving_average.
Diffstat (limited to 'gr-blocks/lib/message_debug_impl.cc')
-rw-r--r--gr-blocks/lib/message_debug_impl.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/lib/message_debug_impl.cc b/gr-blocks/lib/message_debug_impl.cc
index d7b1e5db09..6455513d76 100644
--- a/gr-blocks/lib/message_debug_impl.cc
+++ b/gr-blocks/lib/message_debug_impl.cc
@@ -43,7 +43,7 @@ namespace gr {
message_debug_impl::print(pmt::pmt_t msg)
{
std::cout << "******* MESSAGE DEBUG PRINT ********\n";
- pmt::pmt_print(msg);
+ pmt::print(msg);
std::cout << "************************************\n";
}
@@ -57,15 +57,15 @@ namespace gr {
void
message_debug_impl::print_pdu(pmt::pmt_t pdu)
{
- pmt::pmt_t meta = pmt::pmt_car(pdu);
- pmt::pmt_t vector = pmt::pmt_cdr(pdu);
+ pmt::pmt_t meta = pmt::car(pdu);
+ pmt::pmt_t vector = pmt::cdr(pdu);
std::cout << "* MESSAGE DEBUG PRINT PDU VERBOSE *\n";
- pmt::pmt_print(meta);
- size_t len = pmt::pmt_length(vector);
+ pmt::print(meta);
+ size_t len = pmt::length(vector);
std::cout << "pdu_length = " << len << std::endl;
std::cout << "contents = " << std::endl;
size_t offset(0);
- const uint8_t* d = (const uint8_t*) pmt_uniform_vector_elements(vector, offset);
+ const uint8_t* d = (const uint8_t*) pmt::uniform_vector_elements(vector, offset);
for(size_t i=0; i<len; i+=16){
printf("%04x: ", ((unsigned int)i));
for(size_t j=i; j<std::min(i+16,len); j++){