VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtVrfOverlayObjectModify Class Reference

This class will hold information that can be used to modify a overlay object after it has been created (this is called as part of the callback to processOverlayObjectCreated()) More...

List of all members.

Public Member Functions

 DtVrfOverlayObjectModify (int color, const DtString &parentName, const DtString &attachTo, char *userData, int iUserDataSize, DtOverlayCreatedCallbackFcn fcn, DtVrfRemoteController *control)
virtual ~DtVrfOverlayObjectModify ()
virtual int color () const
virtual const DtStringparentName () const
virtual const DtStringattachTo () const
virtual void userData (char **data, int *userDataSize)
virtual DtVrfRemoteControllerremoteController ()
virtual DtOverlayCreatedCallbackFcn userCallback ()

Protected Attributes

int myColor
DtString myParentName
DtString myAttachTo
DtVrfRemoteControllermyController
char * myUserData
int myUserDataSize
DtOverlayCreatedCallbackFcn myUserCallback

Detailed Description

This class will hold information that can be used to modify a overlay object after it has been created (this is called as part of the callback to processOverlayObjectCreated())

When the user data is set, memory is allocated to hold the size of the data and then the data is copied into a local buffer. You can retrieve a pointer to this buffer and the size by calling the userBuffer() call. Note that this memory will be freed when this object is deleted


Constructor & Destructor Documentation

DtVrfOverlayObjectModify::DtVrfOverlayObjectModify ( int  color,
const DtString parentName,
const DtString attachTo,
char *  userData,
int  iUserDataSize,
DtOverlayCreatedCallbackFcn  fcn,
DtVrfRemoteController control 
)

Member Function Documentation

virtual int DtVrfOverlayObjectModify::color ( ) const [virtual]
virtual const DtString& DtVrfOverlayObjectModify::parentName ( ) const [virtual]
virtual const DtString& DtVrfOverlayObjectModify::attachTo ( ) const [virtual]
virtual void DtVrfOverlayObjectModify::userData ( char **  data,
int *  userDataSize 
) [virtual]

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)