Lines Matching defs:InterfacePtr
18 // InterfacePtr represents a proxy to a remote instance of an interface.
20 class InterfacePtr {
21 MOJO_MOVE_ONLY_TYPE_FOR_CPP_03(InterfacePtr, RValue)
23 InterfacePtr() {}
25 InterfacePtr(RValue other) {
28 InterfacePtr& operator=(RValue other) {
34 ~InterfacePtr() {}
55 // This method configures the InterfacePtr<..> to be a proxy to a remote
61 // To move a bound InterfacePtr<..> to another thread, call PassMessagePipe().
62 // Then create a new InterfacePtr<..> on another thread, and bind the new
63 // InterfacePtr<..> to the message pipe on that thread.
71 // The client interface may only be set after this InterfacePtr<..> is bound.
92 // InterfacePtr<..> to its uninitialized state. This method is helpful if you
105 // Allow InterfacePtr<> to be used in boolean expressions, but not
108 typedef internal::InterfacePtrState<Interface> InterfacePtr::*Testable;
112 return internal_state_.is_bound() ? &InterfacePtr::internal_state_ : NULL;
123 // It is valid to call set_client on the returned InterfacePtr<..> to set an
126 InterfacePtr<Interface> MakeProxy(
129 InterfacePtr<Interface> ptr;