blob: 724dbac90719fbdbd38de29a66ee345d824eb565 (
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
40
|
#ifndef __ASURA_ENGINE_DATA_H__
#define __ASURA_ENGINE_DATA_H__
#include <cstdlib>
#include <asura-utils/threading/thread.h>
#include "../scripting/portable.hpp"
#include "data_buffer.h"
namespace AsuraEngine
{
namespace IO
{
///
/// һ̹߳data̳дࡣͼƬݡƵݵȣһ߳нԭ
/// ļڲݸʽصȡ
///
ASURA_ABSTRACT class DecodedData
{
public:
///
/// ڴйdataԷһ߳棬Դϵͳء
///
DecodedData() {};
virtual ~DecodedData() {};
///
/// ڴеݲijָʽ档
///
virtual void Decode(DataBuffer& buffer) = 0;
};
}
}
#endif
|