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:		fsCF32Transformation.h
*
*	Author:		Martin P. King
*	
*	Purpose:	Transformation graph of f32's
*
*********************************************************************/

#ifndef fsCF32Transformationhdr
#define fsCF32Transformationhdr

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

#include "fsITransformation.h"

class fsCF32Transformation : public fsITransformation
{
public:
	fsF32 f32Get(fsS32 pTime) const override;
	fsS32 periodGet() const override;

	void simpleTransformSet(fsF32 pStart, fsF32 pEnd, fsS32 pDuration) override;

	fsCF32Transformation();

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

protected:

private:

	fsCF32Transformation(fsCF32Transformation const& pLHS);

	std::unique_ptr<fsCGraph<fsF32>> mTransformation;
};

#endif