xc
Public Member Functions | List of all members
XC::MachineBroker Class Referenceabstract

A MachineBroker is responsible for getting an actor process running on the parallel machine. More...

#include <MachineBroker.h>

Inheritance diagram for XC::MachineBroker:
Inheritance graph
[legend]
Collaboration diagram for XC::MachineBroker:
Collaboration graph
[legend]

Public Member Functions

 MachineBroker (FEM_ObjectBroker *)
 Constructor. Set the object broker.
 
virtual ~MachineBroker ()
 Destructor.
 
virtual int getPID (void)=0
 
virtual int getNP (void)=0
 
virtual int shutdown (void)
 
virtual int runActors (void)
 
virtual ChannelstartActor (int actorType, int compDemand=0)
 Invoked to start the program. More...
 
virtual int finishedWithActor (Channel *)
 
virtual ChannelgetMyChannel (void)=0
 
virtual ChannelgetRemoteProcess (void)=0
 
virtual int freeProcess (Channel *)=0
 
- Public Member Functions inherited from XC::ObjectWithObjBroker
 ObjectWithObjBroker (FEM_ObjectBroker *)
 Object broker to use. More...
 
 ObjectWithObjBroker (FEM_ObjectBroker &)
 Constructor. Sets the broker.
 
FEM_ObjectBrokergetObjectBrokerPtr (void) const
 Returns a pointer to the broker #theBroker.
 

Additional Inherited Members

- Protected Attributes inherited from XC::ObjectWithObjBroker
FEM_ObjectBrokertheBroker
 

Detailed Description

A MachineBroker is responsible for getting an actor process running on the parallel machine.

Member Function Documentation

◆ startActor()

XC::Channel * XC::MachineBroker::startActor ( int  actorType,
int  compDemand = 0 
)
virtual

Invoked to start the program.

Invoked to start the program, #actorProgram, on the parallel machine. The remote actor process uses information supplied by #theChannel to allow the remote process to connect to the local process. The integer compDemand provides an indication of the computational demands of the remote process in a heterogeneous environment.


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