SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
FutureValue< Item > Class Template Reference

#include <FutureValue.h>

Public Member Functions

 FutureValue (const char *name)
 
 ~FutureValue ()
 Destroy the object. More...
 
Item receive ()
 
void send (const Item &reply)
 Send the reply to the waiting thread. More...
 

Constructor & Destructor Documentation

FutureValue ( const char *  name)

Create the FutureValue object. name should be a static string which describes the primitive for debugging purposes.

Destroy the object.

Member Function Documentation

Item receive ( )

Wait until the reply is sent by anothe thread, then return that reply.

void send ( const Item &  reply)

Send the reply to the waiting thread.


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