Lines Matching refs:SkMessageBus
30 class SkMessageBus : SkNoncopyable {
60 friend class SkMessageBus;
65 SkMessageBus();
66 static SkMessageBus* Get();
76 SkMessageBus<Message, IDType, AllowCopyableMessage>* \
77 SkMessageBus<Message, IDType, AllowCopyableMessage>::Get() { \
79 static SkMessageBus<Message, IDType, AllowCopyableMessage>* bus; \
80 once([] { bus = new SkMessageBus<Message, IDType, AllowCopyableMessage>(); }); \
87 SkMessageBus<Message, IDType, AllowCopyableMessage>::Inbox::Inbox(IDType uniqueID)
90 auto* bus = SkMessageBus<Message, IDType, AllowCopyableMessage>::Get();
96 SkMessageBus<Message, IDType, AllowCopyableMessage>::Inbox::~Inbox() {
98 auto* bus = SkMessageBus<Message, IDType, AllowCopyableMessage>::Get();
110 void SkMessageBus<Message, IDType, AllowCopyableMessage>::Inbox::receive(Message m) {
116 void SkMessageBus<Message, IDType, AllowCopyableMessage>::Inbox::poll(SkTArray<Message>* messages) {
126 SkMessageBus<Message, IDType, AllowCopyableMessage>::SkMessageBus() = default;
129 /*static*/ void SkMessageBus<Message, IDType, AllowCopyableMessage>::Post(Message m) {
130 auto* bus = SkMessageBus<Message, IDType, AllowCopyableMessage>::Get();