31 DBG_ENTRY_LVL(
"ReceiveListenerSet",
"ReceiveListenerSet(rhs)", 6);
54 std::pair<MapType::iterator,bool> r =
map_.insert(std::make_pair(subscriber_id,listener));
57 if (!r.first->second) {
59 r.first->second = listener;
74 "(%P|%t) ERROR: subscriber_id (%C) not found in map_.\n",
75 LogGuid(subscriber_id).c_str()),
MapType & map()
Give access to the underlying map for iteration purposes.
int insert(GUID_t subscriber_id, const TransportReceiveListener_wrch &listener)
LockType lock_
This lock will protect the map.
sequence< GUID_t > GUIDSeq
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
int remove(GUID_t subscriber_id)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define ACE_ERROR_RETURN(X, Y)
void remove_all(const GUIDSeq &to_remove)
The Internal API and Implementation of OpenDDS.
int unbind(Container &c, const typename Container::key_type &k, typename Container::mapped_type &v)
ReceiveListenerSet & operator=(const ReceiveListenerSet &)