Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
fml::scoped_nsprotocol< NST > Class Template Reference

#include <scoped_nsobject.h>

Inheritance diagram for fml::scoped_nsprotocol< NST >:
fml::ScopedTypeRef< NST, internal::ScopedNSProtocolTraits< NST > > fml::scoped_nsobject< NST > fml::scoped_nsobject< id >

Public Types

using Traits = internal::ScopedNSProtocolTraits< NST >
 
- Public Types inherited from fml::ScopedTypeRef< NST, internal::ScopedNSProtocolTraits< NST > >
typedef NST element_type
 

Public Member Functions

 scoped_nsprotocol (NST object=Traits::InvalidValue(), scoped_policy::OwnershipPolicy policy=scoped_policy::OwnershipPolicy::kAssume)
 
 scoped_nsprotocol (const scoped_nsprotocol< NST > &that)
 
template<typename NSR >
 scoped_nsprotocol (const scoped_nsprotocol< NSR > &that_as_subclass)
 
 scoped_nsprotocol (scoped_nsprotocol< NST > &&that)
 
scoped_nsprotocoloperator= (const scoped_nsprotocol< NST > &that)
 
void reset (NST object=Traits::InvalidValue(), scoped_policy::OwnershipPolicy policy=scoped_policy::OwnershipPolicy::kAssume)
 
NST autorelease () __attribute((ns_returns_not_retained))
 
- Public Member Functions inherited from fml::ScopedTypeRef< NST, internal::ScopedNSProtocolTraits< NST > >
 ScopedTypeRef (__unsafe_unretained NST object=Traits::InvalidValue(), fml::scoped_policy::OwnershipPolicy policy=fml::scoped_policy::kAssume)
 
 ScopedTypeRef (const ScopedTypeRef< NST, internal::ScopedNSProtocolTraits< NST > > &that)
 
 ScopedTypeRef (const ScopedTypeRef< R, RTraits > &that_as_subclass)
 
 ScopedTypeRef (ScopedTypeRef< NST, internal::ScopedNSProtocolTraits< NST > > &&that)
 
 ~ScopedTypeRef ()
 
ScopedTypeRefoperator= (const ScopedTypeRef< NST, internal::ScopedNSProtocolTraits< NST > > &that)
 
NST * InitializeInto ()
 
void reset (__unsafe_unretained NST object=Traits::InvalidValue(), fml::scoped_policy::OwnershipPolicy policy=fml::scoped_policy::kAssume)
 
bool operator== (__unsafe_unretained NST that) const
 
bool operator!= (__unsafe_unretained NST that) const
 
 operator NST () const __attribute((ns_returns_not_retained))
 
NST get () const __attribute((ns_returns_not_retained))
 
void swap (ScopedTypeRef &that)
 

Additional Inherited Members

- Protected Member Functions inherited from fml::ScopedTypeRef< NST, internal::ScopedNSProtocolTraits< NST > >
NST release () __attribute((ns_returns_not_retained))
 

Detailed Description

template<typename NST>
class fml::scoped_nsprotocol< NST >

Definition at line 83 of file scoped_nsobject.h.

Member Typedef Documentation

◆ Traits

template<typename NST >
using fml::scoped_nsprotocol< NST >::Traits = internal::ScopedNSProtocolTraits<NST>

Definition at line 86 of file scoped_nsobject.h.

Constructor & Destructor Documentation

◆ scoped_nsprotocol() [1/4]

template<typename NST >
fml::scoped_nsprotocol< NST >::scoped_nsprotocol ( NST  object = Traits::InvalidValue(),
scoped_policy::OwnershipPolicy  policy = scoped_policy::OwnershipPolicy::kAssume 
)
inlineexplicit

Definition at line 89 of file scoped_nsobject.h.

92 : ScopedTypeRef<NST, Traits>(object, policy) {}
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network policy
Definition: switches.h:248

◆ scoped_nsprotocol() [2/4]

template<typename NST >
fml::scoped_nsprotocol< NST >::scoped_nsprotocol ( const scoped_nsprotocol< NST > &  that)
inline

Definition at line 100 of file scoped_nsobject.h.

101 : ScopedTypeRef<NST, Traits>(that) {}

◆ scoped_nsprotocol() [3/4]

template<typename NST >
template<typename NSR >
fml::scoped_nsprotocol< NST >::scoped_nsprotocol ( const scoped_nsprotocol< NSR > &  that_as_subclass)
inlineexplicit

Definition at line 104 of file scoped_nsobject.h.

105 : ScopedTypeRef<NST, Traits>(that_as_subclass) {}

◆ scoped_nsprotocol() [4/4]

template<typename NST >
fml::scoped_nsprotocol< NST >::scoped_nsprotocol ( scoped_nsprotocol< NST > &&  that)
inline

Definition at line 108 of file scoped_nsobject.h.

109 : ScopedTypeRef<NST, Traits>(std::move(that)) {}

Member Function Documentation

◆ autorelease()

template<typename NST >
NST fml::scoped_nsprotocol< NST >::autorelease ( )
inline

Definition at line 130 of file scoped_nsobject.h.

130 {
132 }
NST release() __attribute((ns_returns_not_retained))
id ScopedNSProtocolTraitsAutoRelease(__unsafe_unretained id obj) __attribute((ns_returns_not_retained))

◆ operator=()

template<typename NST >
scoped_nsprotocol & fml::scoped_nsprotocol< NST >::operator= ( const scoped_nsprotocol< NST > &  that)
inline

Definition at line 111 of file scoped_nsobject.h.

111 {
113 return *this;
114 }
ScopedTypeRef & operator=(const ScopedTypeRef< T, Traits > &that)

◆ reset()

template<typename NST >
void fml::scoped_nsprotocol< NST >::reset ( NST  object = Traits::InvalidValue(),
scoped_policy::OwnershipPolicy  policy = scoped_policy::OwnershipPolicy::kAssume 
)
inline

Definition at line 117 of file scoped_nsobject.h.

119 {
121 }
void reset(__unsafe_unretained T object=Traits::InvalidValue(), fml::scoped_policy::OwnershipPolicy policy=fml::scoped_policy::kAssume)

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