session/1.0/inc/SessionFactory.h
Structures
com::quic::sensinghub::session::V1_0::sessionFactory
Runtime factory for creating ISession instances.
Functions
sessionFactory
Construct a sessionFactory instance.
Creates a factory object that can be used to obtain ISession instances and query supported Sensing Hub IDs. Multiple sessionFactory instances are allowed; they may share the same underlying runtime resources.
~sessionFactory
Destroy the sessionFactory instance.
Once the client no longer needs to create sessions or query hub IDs, it should destroy the sessionFactory instance to release any associated resources.
getSession
Creates ISession instance for the specified sensing-hub ID.
This API loads the ISession implementation at runtime and constructs a ISession object that can be used to communicate with the Sensing Hub.
int
Hub ID of the desired sensing-hub Default value = -1.

