Skip to content

Commit

Permalink
removed GetHandle from gr-cariboulite
Browse files Browse the repository at this point in the history
  • Loading branch information
alon committed Apr 14, 2024
1 parent 1686331 commit bf1b423
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ namespace gr {
float sample_rate=4000000,
float freq=900000000,
bool provide_meta = false);

virtual uint64_t getHandle() = 0;
};

} // namespace caribouLite
Expand Down
6 changes: 0 additions & 6 deletions software/gr-caribouLite/lib/caribouLiteSource_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,5 @@ namespace gr {
return read_samples;
}

//-------------------------------------------------------------------------------------------------------------
uint64_t caribouLiteSource_impl::getHandle()
{
return (uint64_t)((void*)(_radio));
}

} /* namespace caribouLite */
} /* namespace gr */
2 changes: 0 additions & 2 deletions software/gr-caribouLite/lib/caribouLiteSource_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ namespace gr
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items
);

virtual uint64_t getHandle();
};

} // namespace caribouLite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(caribouLiteSource.h) */
/* BINDTOOL_HEADER_FILE_HASH(e935c090cd62d0e9d51a441814281997) */
/* BINDTOOL_HEADER_FILE_HASH(2af106876738c9927aadb177d064272d) */
/***********************************************************************************/

#include <pybind11/complex.h>
Expand Down Expand Up @@ -51,7 +51,5 @@ void bind_caribouLiteSource(py::module& m)
D(caribouLiteSource, make))


.def("getHandle", &caribouLiteSource::getHandle, D(caribouLiteSource, getHandle))

;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@
static const char* __doc_gr_caribouLite_caribouLiteSource = R"doc()doc";


static const char* __doc_gr_caribouLite_caribouLiteSource_caribouLiteSource_0 =
R"doc()doc";


static const char* __doc_gr_caribouLite_caribouLiteSource_caribouLiteSource_1 =
R"doc()doc";
static const char* __doc_gr_caribouLite_caribouLiteSource_caribouLiteSource = R"doc()doc";


static const char* __doc_gr_caribouLite_caribouLiteSource_make = R"doc()doc";


static const char* __doc_gr_caribouLite_caribouLiteSource_getHandle = R"doc()doc";

0 comments on commit bf1b423

Please sign in to comment.