VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtProxy Class Reference

The Proxy base class. More...

Inheritance diagram for makVrv::DtProxy:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

CTOR.


Member Function Documentation

virtual void makVrv::DtProxy::makeInvalid ( ) [virtual]

Make this proxy invalid.

bool makVrv::DtProxy::isValid ( ) const [inline]

Return the valid state of the proxy.

Return values:
trueif proxy is valid.
falseotherwise.
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.

Exceptions:
DtCorruptedStateif proxy is in an invalid state.

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)