Flutter Engine
The Flutter Engine
Classes | Macros
SkMessageBus.h File Reference
#include <type_traits>
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkMutex.h"
#include "include/private/base/SkNoncopyable.h"
#include "include/private/base/SkOnce.h"
#include "include/private/base/SkTArray.h"
#include "include/private/base/SkTDArray.h"

Go to the source code of this file.

Classes

class  SkMessageBus< Message, IDType, AllowCopyableMessage >
 
struct  SkMessageBus< Message, IDType, AllowCopyableMessage >::is_sk_sp< T >
 
struct  SkMessageBus< Message, IDType, AllowCopyableMessage >::is_sk_sp< sk_sp< T > >
 
class  SkMessageBus< Message, IDType, AllowCopyableMessage >::Inbox
 

Macros

#define DECLARE_SKMESSAGEBUS_MESSAGE(Message, IDType, AllowCopyableMessage)
 

Macro Definition Documentation

◆ DECLARE_SKMESSAGEBUS_MESSAGE

#define DECLARE_SKMESSAGEBUS_MESSAGE (   Message,
  IDType,
  AllowCopyableMessage 
)
Value:
template <> \
SkMessageBus<Message, IDType, AllowCopyableMessage>* \
SkMessageBus<Message, IDType, AllowCopyableMessage>::Get() { \
static SkOnce once; \
return bus; \
}
Definition: SkOnce.h:22

Definition at line 74 of file SkMessageBus.h.