MADNESS  0.10.1
Public Types | Public Member Functions | Public Attributes | List of all members
madness::detail::info< memfunT > Struct Template Reference

#include <world_object.h>

Inheritance diagram for madness::detail::info< memfunT >:
Inheritance graph
[legend]
Collaboration diagram for madness::detail::info< memfunT >:
Collaboration graph
[legend]

Public Types

typedef Future< REMFUTURE(MEMFUN_RETURNT(memfunT)) > futureT
 Future for a return value of the memory function. More...
 
typedef RemoteReference< FutureImpl< REMFUTURE(MEMFUN_RETURNT(memfunT)) > > refT
 
- Public Types inherited from madness::detail::info_base< memfunT >
using memfunT_rel_ptr = decltype(archive::to_rel_memfn_ptr(std::declval< memfunT >()))
 

Public Member Functions

 info ()
 
 info (const AmArg &arg)
 
 info (const uniqueidT &id, ProcessID requestor, memfunT memfun, const refT &ref, const TaskAttributes &attr=TaskAttributes())
 
template<typename Archive >
void serialize (const Archive &ar)
 Serializes a info for I/O. More...
 
- Public Member Functions inherited from madness::detail::info_base< memfunT >
memfunT memfun () const
 

Public Attributes

refT ref
 
- Public Attributes inherited from madness::detail::info_base< memfunT >
TaskAttributes attr
 
uniqueidT id
 
memfunT_rel_ptr memfun_rel_ptr
 
ProcessID requestor
 

Additional Inherited Members

- Protected Member Functions inherited from madness::detail::info_base< memfunT >
 info_base ()
 
 info_base (const uniqueidT &id, ProcessID requestor, memfunT memfun, const TaskAttributes &attr=TaskAttributes())
 
template<typename Archive >
void serialize (const Archive &ar)
 Serializes a info_base for I/O. More...
 

Detailed Description

template<typename memfunT>
struct madness::detail::info< memfunT >

Todo:
Brief description needed.
Todo:
Descriptions needed.
Template Parameters
memfunTVerify: Signature of the member function in the derived class to be invoked for the task.

Member Typedef Documentation

◆ futureT

template<typename memfunT >
typedef Future< REMFUTURE(MEMFUN_RETURNT(memfunT)) > madness::detail::info< memfunT >::futureT

Future for a return value of the memory function.

Todo:
Verify.

◆ refT

template<typename memfunT >
typedef RemoteReference< FutureImpl< REMFUTURE(MEMFUN_RETURNT(memfunT)) > > madness::detail::info< memfunT >::refT
Todo:
Description needed.

Constructor & Destructor Documentation

◆ info() [1/3]

template<typename memfunT >
madness::detail::info< memfunT >::info ( )
inline

◆ info() [2/3]

template<typename memfunT >
madness::detail::info< memfunT >::info ( const AmArg arg)
inline
Todo:
Constructor that [brief description needed].
Todo:
Descriptions needed.
Parameters
[in]argDescription needed.

References madness::arg().

◆ info() [3/3]

template<typename memfunT >
madness::detail::info< memfunT >::info ( const uniqueidT id,
ProcessID  requestor,
memfunT  memfun,
const refT ref,
const TaskAttributes attr = TaskAttributes() 
)
inline
Todo:
Constructor that [brief description needed].
Todo:
Descriptions needed.
Parameters
[in]idDescription needed.
[in]requestorDescription needed.
memfunVerify: The member function to be invoked for the task.
[in]refDescription needed.
[in]attrDescription needed.

Member Function Documentation

◆ serialize()

template<typename memfunT >
template<typename Archive >
void madness::detail::info< memfunT >::serialize ( const Archive &  ar)
inline

Serializes a info for I/O.

Template Parameters
Archivethe type of I/O archive.
Parameters
[in]arThe I/O archive.

References madness::detail::info< memfunT >::ref, and madness::detail::info_base< memfunT >::serialize().

Member Data Documentation

◆ ref

template<typename memfunT >
refT madness::detail::info< memfunT >::ref

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