adevs
Public Member Functions
adevs::MessageManager Class Reference

#include <adevs_msg_manager.h>

List of all members.

Public Member Functions

virtual X clone (X &value)=0
virtual void destroy (X &value)=0

Detailed Description

This class is for managing memory used by objects that are passed between processors in a parallel simulation.


Member Function Documentation

virtual X adevs::MessageManager::clone ( X &  value) [pure virtual]

Create a copy of the value. This is called by the simulator when the value object is about to leave a thread boundary.

Implemented in adevs::NullMessageManager.

virtual void adevs::MessageManager::destroy ( X &  value) [pure virtual]

Free the value. This is called when the thread that received the object is done with it. Note that the original object may or may not have been deleted when this method is finally called for the copy.

Implemented in adevs::NullMessageManager.


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