VR-Forces 4.1 Class Documentation
5.10 - Remote Attachment

Table of Contents

As described in "Configuring VR-Forces Components on Remote Entities", in VR-Forces Configuration Guide, remote attachment is a mechanism that lets you attach sensors, controllers, and actuators to remote entities.

Depending on your objectives, you may or may not need to write code to take advantage of this capability.

Note:
While remote entities can be configured with various types of components (sensors, controllers, actuators, and systems of components), keep in mind that there are cases in which remote attachment will not make sense. Some examples of limitations to the remote attachment mechanism:

5.10.1 Adding Existing Components to a Remote Entity

If you just want to equip a remote entity with an existing component or system, then you will not need to write any code. For details about how to configure remote attachment, please see "Configuring VR-Forces Components on Remote Entities", in VR-Forces Configuration Guide.

5.10.2 Adding New or Modified Components to a Remote Entity

If you want to customize existing VR-Forces components for remote attachment, or you want to create new kinds of components to attach to remote entities, then you will need to write some code and configure the new components for attachment. Create or extend existing components through the toolkit as you would normally. There are numerous API examples included with VR-Forces that demonstrate how to create or extend components in VR-Forces. Once the new components are available though a back-end plug-in, configure the new components for remote attachment as described in "Configuring VR-Forces Components on Remote Entities", in VR-Forces Configuration Guide.

5.10.3 Overriding the Remote Attachment Process

Typically, you will not need to override the remote attachment process itself. However there are a few hooks in the process which you may want to override and insert your own code, as follows:

To override any of the above functions, you will need to create a derived DtRemoteComponentAttachmentManager class. Create a derived DtVrfObjectManager class, and override its createRemoteComponentAttachmentManager() member function to have it create an instance of your derived class.

[<< Ports and Port Groups] [Home] [Top of Page]


Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)