趣味で作ってるロボット用ソフトウェア
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Files
Functions
Enumerations
Enumerator
Friends
Pages
lib
system
Battery.h
Go to the documentation of this file.
1
#ifndef HRK_BATTERY_H
2
#define HRK_BATTERY_H
3
9
#include <memory>
10
11
12
namespace
hrk
13
{
14
class
Battery
15
{
16
public
:
17
enum
{
18
Error = -1,
19
};
20
21
Battery
();
22
~
Battery
();
23
24
bool
is_available()
const
;
25
bool
is_charging()
const
;
26
33
int
remaining_percent
()
const
;
34
35
int
remaining_second()
const
;
36
37
private
:
38
Battery
(
const
Battery
& rhs);
39
Battery
& operator = (
const
Battery
& rhs);
40
41
struct
pImpl;
42
std::auto_ptr<pImpl> pimpl;
43
};
44
}
45
46
#endif
hrk::Battery
Definition:
Battery.h:14
hrk::Battery::remaining_percent
int remaining_percent() const
Definition:
Battery.cpp:177
Generated on Tue Oct 24 2017 04:56:04 for 趣味で作ってるロボット用ソフトウェア by
1.8.6