File Information
Library: IoT/Datapoints
Package: Datapoints
Header: IoT/Datapoints/DatapointFactoryImpl.h
Description
The default implementation of DatapointFactory.
Inheritance
Direct Base Classes: DatapointFactory
All Base Classes: DatapointFactory
Member Summary
Member Functions: createBoolean, createComposite, createCounter, createEnum, createFlags, createId, createMovingAverage, createScalar, createService, createString, createVector, remove
Inherited Functions: createBoolean, createComposite, createCounter, createEnum, createFlags, createMovingAverage, createScalar, createString, createVector, remove
Enumerations
Anonymous
Constructors
DatapointFactoryImpl
DatapointFactoryImpl(
Poco::OSP::BundleContext::Ptr pBundleContext
);
Creates the DatapointFactoryImpl.
Destructor
~DatapointFactoryImpl
Destroys the DatapointFactoryImpl.
Member Functions
createBoolean
ServiceID createBoolean(
const BooleanDatapointParams & params
);
createComposite
ServiceID createComposite(
const CompositeParams & params
);
createCounter
ServiceID createCounter(
const CounterDatapointParams & params
);
createEnum
ServiceID createEnum(
const EnumDatapointParams & params
);
createFlags
ServiceID createFlags(
const FlagsDatapointParams & params
);
createMovingAverage
ServiceID createMovingAverage(
const MovingAverageDatapointParams & params
);
createScalar
ServiceID createScalar(
const ScalarDatapointParams & params
);
createString
ServiceID createString(
const StringDatapointParams & params
);
createVector
ServiceID createVector(
const VectorDatapointParams & params
);
remove
void remove(
const ServiceID serviceID
);
createId
unsigned createId(
unsigned type
);
createService
template < typename ServiceType, typename ParamsType > Poco::OSP::ServiceRef::Ptr createService(
Poco::SharedPtr < ServiceType > pService,
const std::string & id,
const ParamsType & params
);