xvsdk  3.2.0
Public Types | Public Member Functions | List of all members
xv::IrisStream Class Referenceabstract

A class to handle callbacks of the Iris data. More...

#include <xv-sdk.h>

Public Types

using Data = XV_IRIS_DATA const &
 

Public Member Functions

virtual void setUserName (std::string name)=0
 Set user name. More...
 
virtual int registerEnrollCallback (std::function< void(XV_IRIS_DATA const &)>)=0
 Callback to get the enroll information. More...
 
virtual bool UnregisterEnrollCallback (int callbackID)=0
 
virtual int registerIdentifyCallback (std::function< void(XV_IRIS_DATA const &)>)=0
 Callback to get the identify information. More...
 
virtual bool UnregisterIdentifyCallback (int callbackID)=0
 
virtual bool loadIrisInfo (unsigned char *iris_features, int size)=0
 Load the iris features the identify information. More...
 
virtual void setConfigPath (std::string config)=0
 Set coe configuration file path. More...
 
virtual bool start ()=0
 start streaming.
 
virtual bool stop ()=0
 stop streaming.
 
virtual int registerCallback (std::function< void(XV_IRIS_DATA const &)>)=0
 Register callback to receive data.
 
virtual bool unregisterCallback (int callbackId)=0
 Unregister callback.
 

Detailed Description

A class to handle callbacks of the Iris data.

Member Function Documentation

◆ loadIrisInfo()

virtual bool xv::IrisStream::loadIrisInfo ( unsigned char *  iris_features,
int  size 
)
pure virtual

Load the iris features the identify information.

Returns
result of the method, true is successful, false is failure.

◆ registerEnrollCallback()

virtual int xv::IrisStream::registerEnrollCallback ( std::function< void(XV_IRIS_DATA const &)>  )
pure virtual

Callback to get the enroll information.

Returns
Id of the callback (used to unregister the callback).

◆ registerIdentifyCallback()

virtual int xv::IrisStream::registerIdentifyCallback ( std::function< void(XV_IRIS_DATA const &)>  )
pure virtual

Callback to get the identify information.

Returns
Id of the callback (used to unregister the callback).

◆ setConfigPath()

virtual void xv::IrisStream::setConfigPath ( std::string  config)
pure virtual

Set coe configuration file path.

Parameters
[in]configstring value, end with "/"

◆ setUserName()

virtual void xv::IrisStream::setUserName ( std::string  name)
pure virtual

Set user name.

Parameters
[in]namestring value

The documentation for this class was generated from the following file: