| 59 | core::Property GetGPS::GPSDWaitTime( |
| 60 | core::PropertyBuilder::createProperty("GPSD Wait Time")->withDescription("Timeout value for waiting for data from the GPSD instance")->withDefaultValue<uint64_t>(50000000)->build()); |
| 61 | void GetGPS::initialize() { |
| 62 | //! Set the supported properties |
| 63 | std::set<core::Property> properties; |
| 64 | properties.insert(GPSDHost); |
| 65 | properties.insert(GPSDPort); |
| 66 | properties.insert(GPSDWaitTime); |
| 67 | setSupportedProperties(properties); |
| 68 | //! Set the supported relationships |
| 69 | std::set<core::Relationship> relationships; |
| 70 | relationships.insert(Success); |
| 71 | setSupportedRelationships(relationships); |
| 72 | } |
| 73 | |
| 74 | void GetGPS::onSchedule(const std::shared_ptr<core::ProcessContext> &context, const std::shared_ptr<core::ProcessSessionFactory> &sessionFactory) { |
| 75 | std::string value; |
no test coverage detected