NeuroDactyl
decoder.h
Go to the documentation of this file.
1 
6 #ifndef _DECODER_H_
7 #define _DECODER_H_
8 
9 #pragma once
10 
11 #include <memory>
12 
13 #include "image.h"
14 #include "config.h"
15 #include "export.h"
16 
17 
18 namespace NeuroDactyl {
24  class Decoder {
25  public:
32  virtual NeuroDactyl::Image* decode(size_t size, const void* data) const = 0;
33 
39  virtual NeuroDactyl::Image* read(const std::string& path) const = 0;
40 
41  virtual ~Decoder() = default;
42  };
43 
51 }
52 
53 
54 #endif /* _DECODER_H_ */
Class for system configuration.
Definition: config.h:27
Image decoder Decodes images from memory or hard drive.
Definition: decoder.h:24
virtual NeuroDactyl::Image * decode(size_t size, const void *data) const =0
virtual NeuroDactyl::Image * read(const std::string &path) const =0
Image Class for work with images.
Definition: image.h:23
Header file with configuration description.
FPSERVERSDK_API NeuroDactyl::Decoder * createDecoder(const NeuroDactyl::Config *cfg)
Header file with Image description.
Namespace containing all symbols from the NeuroDactyl SDK.
Definition: config.h:21