AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ get()

template<class T >
T drama::Future< T >::get ( )
inline

Get value of future.

This method is used to wait for a future to become available and returns the value.

This method will log a message on entry and before exit, if logging is enabled. The exit message will indicate if an exception was thrown. As a result, this is critical debugging point - you see the future starting to wait for a message and you see it after the result.

Returns
The value of the future.

References drama::CreateRunDramaTask(), drama::Future< T >::get(), and drama::TSafePrintf().

Referenced by drama::Future< T >::get(), and drama::Future< void >::get().