equal
deleted
inserted
replaced
46 * // the _required_ public API |
46 * // the _required_ public API |
47 * static uint16_t GetUid (void); |
47 * static uint16_t GetUid (void); |
48 * MyContext (); |
48 * MyContext (); |
49 * ~MyContext (); |
49 * ~MyContext (); |
50 * void Print (std::ostream &os) const; |
50 * void Print (std::ostream &os) const; |
|
51 * std::string GetName (void) const; |
51 * |
52 * |
52 * // the user-specific API to manipulate the context. |
53 * // the user-specific API to manipulate the context. |
53 * void SetData (uint8_t data); |
54 * void SetData (uint8_t data); |
54 * uint8_t GetData (void) const; |
55 * uint8_t GetData (void) const; |
55 * private: |
56 * private: |
68 * {} |
69 * {} |
69 * void |
70 * void |
70 * MyContext::Print (std::ostream &os) const |
71 * MyContext::Print (std::ostream &os) const |
71 * { |
72 * { |
72 * os << "mycontext=" << (uint32_t) m_myContextData; |
73 * os << "mycontext=" << (uint32_t) m_myContextData; |
|
74 * } |
|
75 * std::string |
|
76 * MyContext::GetName (void) const |
|
77 * { |
|
78 * return "MyContext"; |
73 * } |
79 * } |
74 * void |
80 * void |
75 * MyContext::SetData (uint8_t data) |
81 * MyContext::SetData (uint8_t data) |
76 * { |
82 * { |
77 * m_myContextData = data; |
83 * m_myContextData = data; |