Skip to content

Commit 0e6d8a9

Browse files
committed
Adds get community name from msg
1 parent ed47a0f commit 0e6d8a9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pyMOOS.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,12 @@ PYBIND11_PLUGIN(pymoos)
249249
.def("source", &CMOOSMsg::GetSource, "Return the name of the"
250250
" process (as registered with the DB) who posted the"
251251
" notification.")
252+
.def("source_aux", &CMOOSMsg::GetSourceAux, "Return the name of the"
253+
" process (as registered with the DB) who posted the"
254+
" notification auxiliary field.")
255+
256+
.def("community", &CMOOSMsg::GetCommunity, "Return the name of the "
257+
"MOOS community in which the orginator lives")
252258

253259
.def("is_double", &CMOOSMsg::IsDouble, "Check if data is double.")
254260

0 commit comments

Comments
 (0)