BVB Source Codes

CRYENGINE Show ProceduralClipFactory.h Source code

Return Download CRYENGINE: download ProceduralClipFactory.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __PROCEDURAL_CLIP_FACTORY__H__
  4. #define __PROCEDURAL_CLIP_FACTORY__H__
  5.  
  6. #include "ICryMannequinProceduralClipFactory.h"
  7.  
  8. class CProceduralClipFactory
  9.         : public IProceduralClipFactory
  10. {
  11. public:
  12.         CProceduralClipFactory();
  13.         virtual ~CProceduralClipFactory();
  14.  
  15.         // IProceduralClipFactory
  16.         virtual const char*          FindTypeName(const THash& typeNameHash) const;
  17.  
  18.         virtual size_t               GetRegisteredCount() const;
  19.         virtual THash                GetTypeNameHashByIndex(const size_t index) const;
  20.         virtual const char*          GetTypeNameByIndex(const size_t index) const;
  21.  
  22.         virtual bool                 Register(const char* const typeName, const SProceduralClipFactoryRegistrationInfo& registrationInfo);
  23.  
  24.         virtual IProceduralParamsPtr CreateProceduralClipParams(const char* const typeName) const;
  25.         virtual IProceduralParamsPtr CreateProceduralClipParams(const THash& typeNameHash) const;
  26.  
  27.         virtual IProceduralClipPtr   CreateProceduralClip(const char* const typeName) const;
  28.         virtual IProceduralClipPtr   CreateProceduralClip(const THash& typeNameHash) const;
  29.         // ~IProceduralClipFactory
  30.  
  31. private:
  32.         const SProceduralClipFactoryRegistrationInfo* FindRegistrationInfo(const THash& typeNameHash) const;
  33.  
  34. private:
  35.         typedef VectorMap<THash, string> THashToNameMap;
  36.         THashToNameMap m_typeHashToName;
  37.  
  38.         typedef VectorMap<THash, SProceduralClipFactoryRegistrationInfo> TTypeHashToRegistrationInfoMap;
  39.         TTypeHashToRegistrationInfoMap m_typeHashToRegistrationInfo;
  40. };
  41.  
  42. #endif
  43.  
downloadProceduralClipFactory.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top