Searched refs:SensorEvent (Results 1 – 5 of 5) sorted by relevance
31 std::unique_ptr<SensorEvent> SensorEvent::FromBytes( in FromBytes()33 SensorEvent *sensor_event = nullptr; in FromBytes()97 return std::unique_ptr<SensorEvent>(sensor_event); in FromBytes()100 SensorType SensorEvent::GetSensorType() const { in GetSensorType()
89 class SensorEvent : public ReadEventResponse {97 static std::unique_ptr<SensorEvent> FromBytes(113 class TimestampedSensorEvent : public SensorEvent {
265 auto event_printer = [&limit, continuous](const SensorEvent& event) -> bool { in PrintAllEvents()274 auto event_printer = [type, &limit, continuous](const SensorEvent& event) -> bool { in PrintSensorEvents()287 auto event_printer = [&sensors, &limit, continuous](const SensorEvent& event) -> bool { in PrintSensorEvents()448 void ContextHub::ReadSensorEvents(std::function<bool(const SensorEvent&)> callback) { in ReadSensorEvents()456 SensorEvent *sensor_event = reinterpret_cast<SensorEvent*>( in ReadSensorEvents()
30 class SensorEvent; variable221 void ReadSensorEvents(std::function<bool(const SensorEvent&)> callback);
117 return SensorEvent::FromBytes(buffer); in FromBytes()