VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtProxy Class Reference

The Proxy base class. More...

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

Public Member Functions

 DtProxy ()
 CTOR. More...
 
virtual void makeInvalid ()
 Make this proxy invalid. More...
 
bool isValid () const
 Return the valid state of the proxy. More...
 
void validate () const
 Check to see if the proxy is valid. More...
 

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

makVrv::DtProxy::DtProxy ( )

CTOR.

Member Function Documentation

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

Make this proxy invalid.

bool makVrv::DtProxy::isValid ( void  ) 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

bool makVrv::DtProxy::myValidFlag
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)