MeshTex  3.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
MeshEntity::TexInfoCallbackMethod< ObjectClass, member > Class Template Reference

An instance of this class can be used as a MeshEntity::TexInfoCallback, in situations where the callback is a method to be invoked on a target object. More...

#include <MeshEntity.h>

Inherits BindFirstOpaque2< Member2< ObjectClass, float, float, void, member > >.

List of all members.

Public Member Functions

 TexInfoCallbackMethod (ObjectClass &object)
 Constructor.

Detailed Description

template<typename ObjectClass, void(ObjectClass::*)(float, float) member>
class MeshEntity::TexInfoCallbackMethod< ObjectClass, member >

An instance of this class can be used as a MeshEntity::TexInfoCallback, in situations where the callback is a method to be invoked on a target object.

When invoking this constructor, the target object is the constructor argument, and the target object class and method are template parameters. The target object's method must have an appropriate signature for TexInfoCallback: two float arguments, void return.


Constructor & Destructor Documentation

template<typename ObjectClass , void(ObjectClass::*)(float, float) member>
MeshEntity::TexInfoCallbackMethod< ObjectClass, member >::TexInfoCallbackMethod ( ObjectClass &  object)
inline

Constructor.

Parameters:
objectThe object on which to invoke the callback method.

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