SPI
1.2101.8
Secured Payment Interface
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
Device.h
Go to the documentation of this file.
1
14
#ifndef __DEVICE_H
15
#define __DEVICE_H
16
17
#include <cstdio>
18
19
#include "
SPIDEF.h
"
20
#include "
Config.h
"
21
22
namespace
Modularity {
23
namespace
SPI {
30
class
Device
{
31
friend
class
SPI
;
32
public
:
42
SPILIBRARY_API
virtual
43
SPI_RET_VAL
Init
() = 0;
44
54
SPILIBRARY_API
virtual
55
SPI_RET_VAL
SetConfig
(
Config
& ConfigObj) = 0;
56
57
62
SPILIBRARY_API
63
string
GetName
()
const
;
64
68
APIHandle
GetDeviceHandle
()
const
;
69
73
Device
(
string
Name,
Config
&);
74
78
virtual
~Device
();
79
protected
:
80
APIHandle
DeviceHandle
;
84
};
85
}
86
}
87
88
#endif //__DEVICE_H
Generated by
1.8.2