MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / MatchesIncomingName

Class MatchesIncomingName

dds/DCPS/MultiTopicDataReaderBase.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21namespace {
22 struct MatchesIncomingName { // predicate for std::find_if()
23 explicit MatchesIncomingName(const OPENDDS_STRING& s) : look_for_(s) {}
24
25 bool operator()(const OpenDDS::DCPS::MultiTopicImpl::SubjectFieldSpec& sfs) const {
26 return sfs.incoming_name_ == look_for_;
27 }
28
29 const OPENDDS_STRING& look_for_;
30 };
31
32 class Listener
33 : public virtual OpenDDS::DCPS::LocalObject<DDS::DataReaderListener> {

Callers 1

initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected