dtAnim::AttachmentMover Class Reference

This is a helper functor for moving attachments. More...

#include <attachmentcontroller.h>

List of all members.

Public Member Functions

 AttachmentMover (const dtAnim::Cal3DModelWrapper &model)
 AttachmentMover (const AttachmentMover &same)
AttachmentMoveroperator= (const AttachmentMover &same)
void operator() (dtCore::RefPtr< dtCore::HotSpotAttachment > &attachment)
 For use with dtCore::HotSpotAttachments using for_each or similar This method takes a ref ptr because containers tend to hold then, and it is for use with for_each or something similar.
void operator() (AttachmentPair &attachment)
 For use with AttachmentPair typedef above using for_each or similar.


Detailed Description

This is a helper functor for moving attachments.

It's exposed to allow use in other classes.


Constructor & Destructor Documentation

dtAnim::AttachmentMover::AttachmentMover ( const dtAnim::Cal3DModelWrapper model  ) 

dtAnim::AttachmentMover::AttachmentMover ( const AttachmentMover same  ) 


Member Function Documentation

AttachmentMover & dtAnim::AttachmentMover::operator= ( const AttachmentMover same  ) 

void dtAnim::AttachmentMover::operator() ( dtCore::RefPtr< dtCore::HotSpotAttachment > &  attachment  ) 

For use with dtCore::HotSpotAttachments using for_each or similar This method takes a ref ptr because containers tend to hold then, and it is for use with for_each or something similar.

The ref ptr is takes by reference, so it is not copied.

void dtAnim::AttachmentMover::operator() ( AttachmentPair attachment  ) 

For use with AttachmentPair typedef above using for_each or similar.

This method technically passes a refptr as a parameter, but it won't be copied because its a member of the pair which is passed by reference.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008