Atoms Crowd  4.1.0
AtomsClipLoader.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <AtomsCore/Globals.h>
11 
12 #include <Atoms/AnimationClip.h>
13 #include <Atoms/Loaders/BaseAnimLoader.h>
14 
15 namespace Atoms
16 {
17  class ATOMS_EXPORT AtomsClipLoader : public BaseAnimLoader
18  {
19  public:
21 
24  std::string typeStr() const;
25 
27  static std::string const staticTypeStr;
28 
30 
33  unsigned int typeId() const;
34 
36  static const unsigned int staticTypeId;
37 
40 
43 
45 
49  static AtomsPtr<BaseAnimLoader> creator();
50 
52 
55  Atoms::AnimationClip load(const std::string &filePath, const std::string& filter = "*");
56  };
57 }
Atoms::AtomsClipLoader::typeId
unsigned int typeId() const
Type id.
Atoms::AtomsClipLoader::staticTypeStr
static std::string const staticTypeStr
Class static type string.
Definition: AtomsClipLoader.h:27
Atoms::AtomsClipLoader::staticTypeId
static const unsigned int staticTypeId
Class static type id.
Definition: AtomsClipLoader.h:36
Atoms::AtomsClipLoader::AtomsClipLoader
AtomsClipLoader()
Constructor.
Atoms
Atoms namespace.
Definition: Agent.h:28
Atoms::AtomsClipLoader::~AtomsClipLoader
~AtomsClipLoader()
Destructor.
Atoms::AtomsClipLoader::creator
static AtomsPtr< BaseAnimLoader > creator()
Creator function.
Atoms::AnimationClip
Animation clip.
Definition: AnimationClip.h:218
Atoms::BaseAnimLoader
BaseAnimLoader class.
Definition: BaseAnimLoader.h:23
Atoms::AtomsClipLoader::typeStr
std::string typeStr() const
Type string.
Atoms::AtomsClipLoader::load
Atoms::AnimationClip load(const std::string &filePath, const std::string &filter="*")
load
Atoms::AtomsClipLoader
Definition: AtomsClipLoader.h:18