Lines Matching defs:Channel
30 class Channel {
45 friend class Channel<Event>;
83 Sender(std::shared_ptr<Channel<Event>> channel)
87 std::shared_ptr<Channel<Event>> channel_ { nullptr };
91 friend class Channel<Event>;
152 Receiver(std::shared_ptr<Channel<Event>> channel)
156 std::shared_ptr<Channel<Event>> channel_ { nullptr };
159 Channel() = default;
160 ~Channel() = default;
181 std::pair<typename Channel<Event>::Sender, typename Channel<Event>::Receiver> Channel<Event>::OpenChannel()
183 std::shared_ptr<Channel<Event>> channel = std::make_shared<Channel<Event>>();
184 return std::make_pair(Channel<Event>::Sender(channel), Channel<Event>::Receiver(channel));
188 void Channel<Event>::Enable()
195 void Channel<Event>::Disable()
203 int32_t Channel<Event>::Send(const Event &event)
221 Event Channel<Event>::Peek()
233 void Channel<Event>::Pop()
245 Event Channel<Event>::Receive()