VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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...

Public Member Functions

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

Protected Attributes

int myColor
DtString myAttachTo
DtVrfRemoteControllermyController
charmyUserData
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 attachTo,
char userData,
int  iUserDataSize,
DtOverlayCreatedCallbackFcn  fcn,
DtVrfRemoteController control 
)
virtual DtVrfOverlayObjectModify::~DtVrfOverlayObjectModify ( )
virtual

Member Function Documentation

virtual int DtVrfOverlayObjectModify::color ( ) const
virtual
virtual const DtString& DtVrfOverlayObjectModify::attachTo ( ) const
virtual
virtual void DtVrfOverlayObjectModify::userData ( char **  data,
int userDataSize 
)
virtual
virtual DtVrfRemoteController* DtVrfOverlayObjectModify::remoteController ( )
virtual
virtual DtOverlayCreatedCallbackFcn DtVrfOverlayObjectModify::userCallback ( )
virtual

Member Data Documentation

int DtVrfOverlayObjectModify::myColor
protected
DtString DtVrfOverlayObjectModify::myAttachTo
protected
DtVrfRemoteController* DtVrfOverlayObjectModify::myController
protected
char* DtVrfOverlayObjectModify::myUserData
protected
int DtVrfOverlayObjectModify::myUserDataSize
protected
DtOverlayCreatedCallbackFcn DtVrfOverlayObjectModify::myUserCallback
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)