Home | History | Annotate | Download | only in core

Lines Matching refs:SkMessageBus

17 class SkMessageBus : SkNoncopyable {
34 friend class SkMessageBus;
35 void receive(const Message& m); // SkMessageBus is a friend only to call this.
39 SkMessageBus();
40 static SkMessageBus* Get();
41 static void New(SkMessageBus**);
47 // ----------------------- Implementation of SkMessageBus::Inbox -----------------------
50 SkMessageBus<Message>::Inbox::Inbox() {
52 SkMessageBus<Message>* bus = SkMessageBus<Message>::Get();
58 SkMessageBus<Message>::Inbox::~Inbox() {
60 SkMessageBus<Message>* bus = SkMessageBus<Message>::Get();
72 void SkMessageBus<Message>::Inbox::receive(const Message& m) {
78 void SkMessageBus<Message>::Inbox::poll(SkTDArray<Message>* messages) {
85 // ----------------------- Implementation of SkMessageBus -----------------------
88 SkMessageBus<Message>::SkMessageBus() {}
91 /*static*/ void SkMessageBus<Message>::New(SkMessageBus<Message>** bus) {
92 *bus = new SkMessageBus<Message>();
96 /*static*/ SkMessageBus<Message>* SkMessageBus<Message>::Get() {
98 static SkMessageBus<Message>* bus = NULL;
107 /*static*/ void SkMessageBus<Message>::Post(const Message& m) {
108 SkMessageBus<Message>* bus = SkMessageBus<Message>::Get();