![]() |
VR-Forces 4.0.4 Class Documentation
|
The Proxy base class. More...

Public Member Functions | |
| DtProxy () | |
| CTOR. | |
| virtual void | makeInvalid () |
| Make this proxy invalid. | |
| bool | isValid () const |
| Return the valid state of the proxy. | |
| void | validate () const |
| Check to see if the proxy is valid. | |
Protected Attributes | |
| bool | myValidFlag |
The Proxy base class.
Proxies are objects that let users interact with objects that may or may not exist locally on their machine. For example, if a programmer wants to resize a window it would be nice if he could do that the same way whether or not the code was running on a slave (with a window) or as a master (with the window in another process, possibly another machine). Proxies are the solution.
Proxies provide an interface to objects that don't necessarily exist in the same process as the proxy. Proxies exist only for realized configurations. If the proxy does exist in the same process as the object it uses a proctor to direct the call to the object. If the proxy does not exist in the same process as the object it sends a message.
CTOR.
| virtual void makVrv::DtProxy::makeInvalid | ( | ) | [virtual] |
Make this proxy invalid.
| bool makVrv::DtProxy::isValid | ( | ) | const [inline] |
Return the valid state of the proxy.
| true | if proxy is valid. |
| false | otherwise. |
| void makVrv::DtProxy::validate | ( | ) | const [inline] |
Check to see if the proxy is valid.
This function must be called at the beginning of any public function in a derived proctor class.
| DtCorruptedState | if proxy is in an invalid state. |
bool makVrv::DtProxy::myValidFlag [protected] |