Atoms Crowd  7.0.0
BaseAnimLoader.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 <Atoms/AnimationClip.h>
11 
12 #include <AtomsCore/Globals.h>
13 
14 #include <string>
15 
16 namespace Atoms
17 {
19 
22  class ATOMS_EXPORT BaseAnimLoader
23  {
24  public:
25 
27 
31  virtual std::string typeStr() const = 0;
32 
34 
38  virtual unsigned int typeId() const = 0;
39 
42 
44  virtual ~BaseAnimLoader() = 0;
45 
47 
50  virtual Atoms::AnimationClip load(const std::string &filePath, const std::string& filter = "*") = 0;
51 
52  };
53 }
Animation clip.
Definition: AnimationClip.h:221
BaseAnimLoader class.
Definition: BaseAnimLoader.h:23
BaseAnimLoader()
Constructor.
virtual unsigned int typeId() const =0
Type id.
virtual ~BaseAnimLoader()=0
Virtual Destructor.
virtual std::string typeStr() const =0
Type string.
virtual Atoms::AnimationClip load(const std::string &filePath, const std::string &filter="*")=0
load
Atoms namespace.
Definition: Agent.h:29