tools: nfdc route list and nfd route show commands
refs #3866
Change-Id: Ic8feab0ce9e5707c1cf382cdea7264e28e3edb30
diff --git a/tools/nfdc/find-face.cpp b/tools/nfdc/find-face.cpp
index 5645e26..5c23c7a 100644
--- a/tools/nfdc/find-face.cpp
+++ b/tools/nfdc/find-face.cpp
@@ -148,6 +148,16 @@
m_ctx.face.processEvents();
}
+std::set<uint64_t>
+FindFace::getFaceIds() const
+{
+ std::set<uint64_t> faceIds;
+ for (const FaceStatus& faceStatus : m_results) {
+ faceIds.insert(faceStatus.getFaceId());
+ }
+ return faceIds;
+}
+
const FaceStatus&
FindFace::getFaceStatus() const
{