Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
Shadow Class Reference#include <Shadow.h>
List of all members.
Detailed Description
Shadow is meant as an abstract class, i.e. no instances of Shadow should exist. A Shadow object is associated with an Actor object which may exist in another process. The Shadow acts like a normal object in the users address space, data and processing that is done by the Shadow may be stored and processed in a remote process, the Actor object resides in this remote address space. The Actor and the Shadow both have a Channel, a communication port. This allows the two to communicate with each other.\
Definition at line 67 of file Shadow.h.
Constructor & Destructor Documentation
|
FEM\_ObjectBroker &theBroker,
Definition at line 49 of file Shadow.cpp. |
|
if actor process up and running.
Definition at line 57 of file Shadow.cpp. |
Shadow::~Shadow (
|
) [virtual]
|
|
|
to get an actor process up and running.
Definition at line 80 of file Shadow.cpp. |
Member Function Documentation
|
A method which returns a pointer to the channel in the actors address space.
Definition at line 162 of file Shadow.cpp. |
Channel * Shadow::getChannelPtr (
|
void ) const
|
|
|
A method which returns a pointer to the channel currently set.
Definition at line 150 of file Shadow.cpp. |
|
A method which returns a pointer to the FEM\_ObjectBroker passed in the constructor.
Definition at line 156 of file Shadow.cpp. |
int Shadow::recvID (
|
ID & theID ) [virtual]
|
|
|
A method which will cause the object to read the ID {theID} from the channel. It will return the result of invoking {recvID(0,0,theID, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 143 of file Shadow.cpp. |
int Shadow::recvMatrix (
|
Matrix & theMatrix ) [virtual]
|
|
|
A method which will cause the object to read the Matrix {theMatrix} from the channel. It will return the result of invoking {recvMatrix(0,0,theMatrix, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 119 of file Shadow.cpp. |
int Shadow::recvMessage (
|
Message & theMessage ) [virtual]
|
|
|
A method which will cause the object to read the message {theMessage} from the channel. It will return the result of invoking {recvMsg(0,0,theMessage, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 99 of file Shadow.cpp. |
|
A method which will cause the object to read the MovableObject {theObject} from the channel. It will return the result of invoking {recvObj(0,0,theObject, theBroker, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 92 of file Shadow.cpp. |
int Shadow::recvVector (
|
Vector & theVector ) [virtual]
|
|
|
A method which will cause the object to read the Vector {theVector} from the channel. It will return the result of invoking {recvVector(0,0,theVector, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 131 of file Shadow.cpp. |
int Shadow::sendID (
|
const ID & theID ) [virtual]
|
|
|
A method which will send the ID {theID} to the actor object through the shadows channel. It will return the result of invoking {sendID(0,0,theID, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 137 of file Shadow.cpp. |
int Shadow::sendMatrix (
|
const Matrix & theMatrix ) [virtual]
|
|
|
A method which will send the Matrix {theMatrix} to the actor object through the shadows channel. It will return the result of invoking {sendMatrix(0,0,theMatrix, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 113 of file Shadow.cpp. |
int Shadow::sendMessage (
|
const Message & theMessage ) [virtual]
|
|
|
A method which will send the message {theMessage} to the actor object through the shadows channel. It will return the result of invoking {sendMsg(0,0,theMessage, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 105 of file Shadow.cpp. |
|
A method which will send the MovableObject {theObject} to the actor object through the shadows channel. It returns the result of invoking {sendObj(0,0,theObject, theBroker, theActorsAddress)} on the shadow's associated channel {theChannel}.
Definition at line 86 of file Shadow.cpp. |
int Shadow::sendVector (
|
const Vector & theVector ) [virtual]
|
|
|
A method which will send the Vector {theVector} to the actor object through the shadows channel. It will return the result of invoking {sendVector(0,0,theVector, theActorsAddress)} on the shadows associated channel {theChannel}.
Definition at line 125 of file Shadow.cpp. |
Member Data Documentation
Channel * Shadow::theChannel [protected]
|
|
The documentation for this class was generated from the following files:
|