WSF
WsfSensorSchedulerTypes Namespace Reference

Typedefs

using FactoryPtr = std::function<std::unique_ptr<WsfSensorScheduler>(const std::string&)>

Functions

bool LoadInstance (UtInput &aInput, std::unique_ptr< WsfSensorScheduler > &aSensorSchedulerPtr)
WSF_EXPORT void AddObjectFactory (FactoryPtr aFactoryPtr)

Typedef Documentation

◆ FactoryPtr

using WsfSensorSchedulerTypes::FactoryPtr = std::function<std::unique_ptr<WsfSensorScheduler>(const std::string&)>

Function Documentation

◆ AddObjectFactory()

void WsfSensorSchedulerTypes::AddObjectFactory ( FactoryPtr aFactoryPtr)

Add an object factory for creating an instance from a fundamental type. The factory should be added only once.

Referenced by WsfSensorTypes::WsfSensorTypes().

◆ LoadInstance()

bool WsfSensorSchedulerTypes::LoadInstance ( UtInput & aInput,
std::unique_ptr< WsfSensorScheduler > & aSensorSchedulerPtr )

Process scheduler type input.

Parameters
aInputThe current input stream.
aSensorSchedulerPtrThe pointer to the sensor scheduler.
Returns
'true' if the current command was recognized and processed, 'false' if not recognized.

Referenced by WsfSensor::ProcessInput().

Copyrights Multiple, All Rights Reserved