summaryrefslogtreecommitdiff
path: root/Source/modules/asura-base/FileSystem/DecodedData.h
blob: f83d1c35ad66d4b39eae3be932a47e03873109d0 (plain)
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
#ifndef _ASURA_ENGINE_DATA_H_
#define _ASURA_ENGINE_DATA_H_

#include <cstdlib>

#include <asura-base/Threads/Thread.h>

#include "../Scripting/Scripting.h"

#include "DataBuffer.h"

namespace_begin(AsuraEngine)
namespace_begin(FileSystem)

///
/// һ̹߳data̳дࡣͼƬݡƵݵȣһ߳нԭ
/// ļڲݸʽصȡ
///
ASURA_ABSTRACT class DecodedData
{
public:

	///
	/// ڴйdataԷһ߳棬Դϵͳء
	///
	DecodedData() {};
	virtual ~DecodedData() {};

	///
	/// ڴеݲijָʽ档
	///
	virtual void Decode(DataBuffer& buffer) = 0;

};

namespace_end
namespace_end

#endif