WSF
wsf::SensorDetectorTypes Class Reference

#include <WsfSensorDetector.hpp>

Public Types

typedef SensorDetector *(* FactoryPtr) (const std::string &)
typedef std::list< FactoryPtrObjectFactoryList

Public Member Functions

 SensorDetectorTypes (const SensorDetectorTypes &aSrc)=default
SensorDetectorTypesoperator= (const SensorDetectorTypes &aRhs)=default
virtual ~SensorDetectorTypes ()=default

Static Public Member Functions

static bool LoadInstance (UtInput &aInput, std::unique_ptr< SensorDetector > &aSensorDetectorPtr)
static void AddObjectFactory (FactoryPtr aFactoryPtr)

Member Typedef Documentation

◆ FactoryPtr

typedef SensorDetector *(* wsf::SensorDetectorTypes::FactoryPtr) (const std::string &)

◆ ObjectFactoryList

Constructor & Destructor Documentation

◆ SensorDetectorTypes()

wsf::SensorDetectorTypes::SensorDetectorTypes ( const SensorDetectorTypes & aSrc)
default

References SensorDetectorTypes().

Referenced by operator=(), and SensorDetectorTypes().

◆ ~SensorDetectorTypes()

virtual wsf::SensorDetectorTypes::~SensorDetectorTypes ( )
virtualdefault

Member Function Documentation

◆ AddObjectFactory()

void wsf::SensorDetectorTypes::AddObjectFactory ( FactoryPtr aFactoryPtr)
static

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

Referenced by WsfSensorTypes::WsfSensorTypes(), and ~SensorDetectorTypes().

◆ LoadInstance()

bool wsf::SensorDetectorTypes::LoadInstance ( UtInput & aInput,
std::unique_ptr< SensorDetector > & aSensorDetectorPtr )
static

Process error_model type input.

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

Referenced by ~SensorDetectorTypes().

◆ operator=()

SensorDetectorTypes & wsf::SensorDetectorTypes::operator= ( const SensorDetectorTypes & aRhs)
default

References SensorDetectorTypes().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved