template<typename RESULTVALUETYPE>
class maxon::ThreadResultRef< RESULTVALUETYPE >
Reference to a thread that returns more than void/Result<void>.
|
| | ThreadResultRef (const ThreadRef &src) |
| |
| | ThreadResultRef (ThreadRef &&src) |
| |
| Result< RESULTVALUETYPE > | GetResult (TimeValue timeout=TIMEVALUE_INFINITE, WAITMODE mode=WAITMODE::DEFAULT) const |
| |
| | MAXON_DEFAULT_REFERENCE_CONSTRUCTORS (ThreadRefTemplate, Ptr) |
| |
| MAXON_IMPLICIT | ThreadRefTemplate (const Ptr &src) |
| |
| MAXON_IMPLICIT | ThreadRefTemplate (Ptr &&src) |
| |
| Bool | IsRunning () const |
| |
| Bool | Wait (TimeValue timeout=TIMEVALUE_INFINITE, WAITMODE mode=WAITMODE::DEFAULT) const |
| |
| Result< void > | GetResult (TimeValue timeout=TIMEVALUE_INFINITE, WAITMODE mode=WAITMODE::DEFAULT) const |
| |
| void | Cancel () |
| |
| Bool | IsCancelled () const |
| |
| void | CancelAndWait (WAITMODE mode=WAITMODE::DEFAULT) |
| |
| Result< void > | Start (THREADPRIORITY priority=THREADPRIORITY::NORMAL) |
| |
| ObservableFinishedBase< ThreadInterface > | ObservableFinished () |
| |
| ObservableCancelledBase< ThreadInterface > | ObservableCancelled () |
| |
| String | ToString (const FormatStatement *formatStatement=nullptr) const |
| |
| Bool | operator== (const ThreadRefTemplate &other) const |
| |
| Bool | operator!= (const ThreadRefTemplate &other) const |
| |
| T * | GetPointer () |
| |
| ConstReferencedType * | GetPointer () const |
| |
| T * | operator-> () |
| |
| ConstReferencedType * | operator-> () const |
| |
| std::conditional< std::is_void< T >::value, DeleteReturnType01, T >::type & | operator* () |
| |
| std::conditional< std::is_void< ConstReferencedType >::value, DeleteReturnType01, T >::type & | operator* () const |
| |
| | operator T* () |
| |
| | operator ConstReferencedType * () const |
| |
| | operator Bool () const |
| |
| | operator Bool () |
| |
| const std::conditional< std::is_void< T >::value, DeleteReturnType01, T >::type & | operator[] (Int) const =delete |
| |
| ResultRef< typename std::remove_const< T >::type > | MakeWritable (Bool resetOnError=true) |
| |
| ResultRef< typename std::remove_const< T >::type > | MakeWritableDontCopy () |
| |
| Bool | HasMultipleReferences () const |
| |
| std::conditional< std::is_void< T >::value, DeleteReturnType01, T >::type & | GetOrDefault () const |
| |
| | BaseRef () |
| |
| MAXON_IMPLICIT | BaseRef (std::nullptr_t)=delete |
| |
| MAXON_IMPLICIT | BaseRef (T *o) |
| |
| template<typename PTR > |
| | BaseRef (ForwardResultPtr< PTR > o) |
| |
| | BaseRef (ResultPtr< T > o, Int) |
| |
| | BaseRef (const BaseRef &src) |
| |
| template<typename REF , typename = typename std::enable_if<!STD_IS_REPLACEMENT(base_of, BaseRef, REF) && maxon::HasErasedBase<typename REF::ReferencedType, ReferencedType>::value>::type> |
| MAXON_IMPLICIT | BaseRef (const REF &src) |
| |
| template<typename REF , typename = typename std::enable_if<!STD_IS_REPLACEMENT(base_of, BaseRef, REF) && maxon::HasErasedBase<typename REF::ReferencedType, ReferencedType>::value>::type> |
| MAXON_IMPLICIT | BaseRef (REF &src) |
| |
| BaseRef & | operator= (T *src) |
| |
| BaseRef & | operator= (std::nullptr_t src) |
| |
| BaseRef & | operator= (const BaseRef &src) |
| |
| template<typename REF , typename = typename std::enable_if<!STD_IS_REPLACEMENT(base_of, BaseRef, REF) && maxon::HasErasedBase<typename REF::ReferencedType, ReferencedType>::value>::type> |
| BaseRef & | operator= (const REF &src) |
| |
| template<typename REF , typename = typename std::enable_if<!STD_IS_REPLACEMENT(base_of, BaseRef, REF) && maxon::HasErasedBase<typename REF::ReferencedType, ReferencedType>::value>::type> |
| BaseRef & | operator= (REF &src) |
| |
| | BaseRef (BaseRef &&src) |
| |
| template<typename REF , typename = typename std::enable_if<!STD_IS_REPLACEMENT(const, REF) && !STD_IS_REPLACEMENT(base_of, BaseRef, REF) && maxon::HasErasedBase<typename REF::ReferencedType, ReferencedType>::value>::type> |
| MAXON_IMPLICIT | BaseRef (REF &&src) |
| |
| BaseRef & | operator= (BaseRef &&src) |
| |
| template<typename REF , typename = typename std::enable_if<!STD_IS_REPLACEMENT(const, REF) && !STD_IS_REPLACEMENT(base_of, BaseRef, REF) && maxon::HasErasedBase<typename REF::ReferencedType, ReferencedType>::value>::type> |
| BaseRef & | operator= (REF &&src) |
| |
| | ~BaseRef () |
| |
| Bool | operator== (const BaseRef &b) const |
| |
| Bool | operator!= (const BaseRef &b) const |
| |
| Bool | operator< (const BaseRef &b) const |
| |
| | MAXON_OPERATOR_INEQUALITY (BaseRef) |
| |
| Bool | operator== (const T *b) const |
| |
| Bool | operator!= (const T *b) const |
| |
| Bool | operator== (typename std::remove_const< T >::type *b) const |
| |
| Bool | operator!= (typename std::remove_const< T >::type *b) const |
| |
| Bool | operator== (std::nullptr_t) const |
| |
| Bool | operator!= (std::nullptr_t) const |
| |
| HashInt | GetHashCode () const |
| |
| UniqueHash | GetUniqueHashCode () const |
| |
| std::conditional< Bool(HANDLER::KIND &VALUEKIND::COW_MASK), typename std::remove_const< T >::type, T >::type * | Disconnect () |
| |
| void | PrivateSetTarget (T *newPtr) |
| |
| void | PrivateSetPointer (T *ptr) |
| |