| 104 | } |
| 105 | |
| 106 | void |
| 107 | DirectionComponent::registerDirectionHandler(DirectionHandler handler) { |
| 108 | if (m_cb.empty()) { |
| 109 | m_registerHandler(&DirectionComponent::m_handleDirectionRecord, |
| 110 | this, directionRecord.getMessageType()); |
| 111 | } |
| 112 | m_cb.push_back(handler); |
| 113 | } |
| 114 | void DirectionComponent::m_parentSet() { |
| 115 | m_getParent().registerMessageType(directionRecord); |
| 116 | } |
no test coverage detected