MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / initialize

Method initialize

extensions/gps/GetGPS.cpp:61–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59core::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());
61void 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
74void GetGPS::onSchedule(const std::shared_ptr<core::ProcessContext> &context, const std::shared_ptr<core::ProcessSessionFactory> &sessionFactory) {
75 std::string value;

Callers 12

mainFunction · 0.45
sendSingleCommandFunction · 0.45
updateFlowFunction · 0.45
getFullConnectionsFunction · 0.45
getJstacksFunction · 0.45
getConnectionSizeFunction · 0.45
listComponentsFunction · 0.45
listConnectionsFunction · 0.45
getControllerServiceFunction · 0.45
printManifestFunction · 0.45
setSyslogLoggerFunction · 0.45
mainFunction · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected