Rev 1642 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1642 | Rev 1987 | ||
|---|---|---|---|
| Line 24... | Line 24... | ||
| 24 | #include <string> |
24 | #include <string> |
| 25 | 25 | ||
| 26 | #include <boost/shared_ptr.hpp> |
26 | #include <boost/shared_ptr.hpp> |
| 27 | 27 | ||
| 28 | #include "common/Byteset.h" |
28 | #include "common/Byteset.h" |
| 29 | #include "logging/Logger.h" |
- | |
| 30 | 29 | ||
| 31 | namespace atom { |
30 | namespace atom { |
| 32 | namespace control { |
31 | namespace control { |
| 33 | 32 | ||
| 34 | class Code |
33 | class Code |
| Line 55... | Line 54... | ||
| 55 | common::Byteset data_; |
54 | common::Byteset data_; |
| 56 | bool is_valid_; |
55 | bool is_valid_; |
| 57 | unsigned int address_lower_; |
56 | unsigned int address_lower_; |
| 58 | unsigned int address_upper_; |
57 | unsigned int address_upper_; |
| 59 | unsigned int checksum_; |
58 | unsigned int checksum_; |
| 60 | - | ||
| 61 | logging::Logger LOG; |
- | |
| 62 | - | ||
| 63 | 59 | ||
| 64 | void CalculateChecksum(); |
60 | void CalculateChecksum(); |
| 65 | - | ||
| 66 | }; |
61 | }; |
| 67 | 62 | ||
| 68 | }; // namespace control |
63 | }; // namespace control |
| 69 | }; // namespace atom |
64 | }; // namespace atom |
| 70 | 65 | ||