Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
dart::MessageHandler::AcquiredQueues Class Reference

#include <message_handler.h>

Inheritance diagram for dart::MessageHandler::AcquiredQueues:
dart::ValueObject

Public Member Functions

 AcquiredQueues (MessageHandler *handler)
 
 ~AcquiredQueues ()
 
MessageQueuequeue ()
 
MessageQueueoob_queue ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Friends

class MessageHandler
 

Detailed Description

Definition at line 137 of file message_handler.h.

Constructor & Destructor Documentation

◆ AcquiredQueues()

dart::MessageHandler::AcquiredQueues::AcquiredQueues ( MessageHandler handler)
explicit

Definition at line 637 of file message_handler.cc.

638 : handler_(handler), ml_(&handler->monitor_) {
639 ASSERT(handler != nullptr);
640 handler_->oob_message_handling_allowed_ = false;
641}
#define ASSERT(E)

◆ ~AcquiredQueues()

dart::MessageHandler::AcquiredQueues::~AcquiredQueues ( )

Definition at line 643 of file message_handler.cc.

643 {
644 ASSERT(handler_ != nullptr);
645 handler_->oob_message_handling_allowed_ = true;
646}

Member Function Documentation

◆ oob_queue()

MessageQueue * dart::MessageHandler::AcquiredQueues::oob_queue ( )
inline

Definition at line 150 of file message_handler.h.

150 {
151 if (handler_ == nullptr) {
152 return nullptr;
153 }
154 return handler_->oob_queue_;
155 }

◆ queue()

MessageQueue * dart::MessageHandler::AcquiredQueues::queue ( )
inline

Definition at line 143 of file message_handler.h.

143 {
144 if (handler_ == nullptr) {
145 return nullptr;
146 }
147 return handler_->queue_;
148 }

Friends And Related Function Documentation

◆ MessageHandler

friend class MessageHandler
friend

Definition at line 161 of file message_handler.h.


The documentation for this class was generated from the following files: