MADNESS 0.10.1
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:

Public Member Functions

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

Public Attributes

AmArg * arg
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

References arg, madness::copy_am_arg(), handler, and id.

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 PendingMsg(), and invokehandler().

◆ handler

am_handlerT madness::detail::PendingMsg::handler

Referenced by PendingMsg(), and invokehandler().

◆ id

uniqueidT madness::detail::PendingMsg::id

Referenced by PendingMsg().


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