1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/********************************************************************
*
*	Created:	25/6/2015   11:48
*
*	File:		fsCVec2dTransformation.h
*
*	Author:		Martin P. King
*	
*	Purpose:	Transformation graph of vec2d's
*
*********************************************************************/

#ifndef fsCVec2dTransformationhdr
#define fsCVec2dTransformationhdr

#include <fsCore/fsVec2d.h>

#include "fsITransformation.h"

#include "../../../src/fsCGraph.h"


class fsCVec2dTransformation : public fsITransformation
{
public:

	fsVec2d vec2dGet(fsS32 pTime) const override;
	fsS32 periodGet() const override;

	fsCVec2dTransformation(fsStr& pFileData);
	virtual ~fsCVec2dTransformation();<--- Destructor in derived class

protected:

private:

	fsCVec2dTransformation(fsCVec2dTransformation const& pLHS);
	
	std::unique_ptr<fsCGraph<fsVec2d>> mTransformation;
};

#endif