Home
last modified time | relevance | path

Searched refs:channel_ref_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/voice_engine/
Dchannel_manager.cc20 : channel_ref_(new ChannelRef(channel)) {} in ChannelOwner()
23 : channel_ref_(channel_owner.channel_ref_) { in ChannelOwner()
24 ++channel_ref_->ref_count; in ChannelOwner()
28 if (--channel_ref_->ref_count == 0) in ~ChannelOwner()
29 delete channel_ref_; in ~ChannelOwner()
33 if (other.channel_ref_ == channel_ref_) in operator =()
36 if (--channel_ref_->ref_count == 0) in operator =()
37 delete channel_ref_; in operator =()
39 channel_ref_ = other.channel_ref_; in operator =()
40 ++channel_ref_->ref_count; in operator =()
Dchannel_manager.h56 Channel* channel() const { return channel_ref_->channel.get(); } in channel()
57 bool IsValid() { return channel_ref_->channel.get() != NULL; } in IsValid()
58 int use_count() const { return channel_ref_->ref_count.Value(); } in use_count()
69 ChannelRef* channel_ref_; variable