Animatable.h File Reference

#include "CoreExport.h"
#include "Noncopyable.h"
#include "baseinterface.h"
#include "autoptr.h"
#include "strclass.h"
#include "AnimPropertyList.h"
#include "interval.h"
#include "TrackHitRecord.h"
#include "box2.h"
#include "svcore.h"
#include "FileEnumConstants.h"
#include "ParamDimension.h"
#include "TrackFlags.h"
#include "SysNodeContext.h"
#include "EditParamFlags.h"
#include "AnimatableFlags.h"
#include "AnimatableInterfaceIDs.h"

Classes

class  Animatable
 
class  Animatable::EnumAnimList
 A callback class for enumerating animatables. More...
 

Typedefs

typedef UINT_PTR AnimHandle
 
typedef void(* APPDATALOADPROC) (Animatable *anim, const Class_ID &cid, SClass_ID sid, ILoad *iload, Tab< DWORD > &subIDs)
 Signature of the AppDataLoadCallback callback function that can be registered via Animatable::RegisterAppDataLoadCallback. More...
 

Functions

__inline int GetClassName (HWND hWnd, LPMSTR lpClassName, int nMaxCount)
 

Typedef Documentation

typedef UINT_PTR AnimHandle
typedef void(* APPDATALOADPROC) (Animatable *anim, const Class_ID &cid, SClass_ID sid, ILoad *iload, Tab< DWORD > &subIDs)

Signature of the AppDataLoadCallback callback function that can be registered via Animatable::RegisterAppDataLoadCallback.

When an AppDataChunk with a specified SuperClassID and Class_ID is read from the scene file, the specified callback proc is called. This is to permit versioning of the AppDataChunk. The values passed through the procs argument list are the Animatable holding the AppData, the Class_ID and SClass_ID of the owner of the AppDataChunk, the ILoad*, and a Tab containing the sub-chunk ids.

Function Documentation

__inline int GetClassName ( HWND  hWnd,
LPMSTR  lpClassName,
int  nMaxCount 
)
81 {
82 #ifdef UNICODE
83  return GetClassNameW(
84 #else
85  return GetClassNameA(
86 #endif
87  hWnd,
88  lpClassName,
89  nMaxCount
90  );
91 }