Atoms Crowd
4.1.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
41
BaseAnimLoader
();
42
44
virtual
~BaseAnimLoader
() = 0;
45
47
50
virtual
Atoms::AnimationClip
load
(
const
std::string &filePath,
const
std::string& filter =
"*"
) = 0;
51
52
};
53
}
Atoms::BaseAnimLoader::typeId
virtual unsigned int typeId() const =0
Type id.
Atoms
Atoms namespace.
Definition:
Agent.h:28
Atoms::BaseAnimLoader::load
virtual Atoms::AnimationClip load(const std::string &filePath, const std::string &filter="*")=0
load
Atoms::AnimationClip
Animation clip.
Definition:
AnimationClip.h:218
Atoms::BaseAnimLoader
BaseAnimLoader class.
Definition:
BaseAnimLoader.h:23
Atoms::BaseAnimLoader::~BaseAnimLoader
virtual ~BaseAnimLoader()=0
Virtual Destructor.
Atoms::BaseAnimLoader::BaseAnimLoader
BaseAnimLoader()
Constructor.
Atoms::BaseAnimLoader::typeStr
virtual std::string typeStr() const =0
Type string.
Atoms
include
Atoms
Loaders
BaseAnimLoader.h