MADNESS  0.10.1
Public Member Functions | Public Attributes | List of all members
madness::detail::PendingMsg Struct Reference

Common base class for pending messages to ensure in-order processing. More...

#include <world_object.h>

Collaboration diagram for madness::detail::PendingMsg:
Collaboration graph
[legend]

Public Member Functions

 PendingMsg (uniqueidT id, am_handlerT handler, const AmArg &arg)
 
void invokehandler ()
 

Public Attributes

AmArgarg
 
am_handlerT handler
 
uniqueidT id
 

Detailed Description

Common base class for pending messages to ensure in-order processing.

To eliminate synchronization when a distributed object is first constructed, we buffer pending messages for containers that don't have their ID yet registered.

Constructor & Destructor Documentation

◆ PendingMsg()

madness::detail::PendingMsg::PendingMsg ( uniqueidT  id,
am_handlerT  handler,
const AmArg arg 
)
inline

Member Function Documentation

◆ invokehandler()

void madness::detail::PendingMsg::invokehandler ( )
inline

References arg, madness::free_am_arg(), and handler.

Member Data Documentation

◆ arg

AmArg* madness::detail::PendingMsg::arg

Referenced by invokehandler().

◆ handler

am_handlerT madness::detail::PendingMsg::handler

Referenced by invokehandler().

◆ id

uniqueidT madness::detail::PendingMsg::id

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