CHAI SDK  Version 1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CPNS::Factory Class Reference

This is a CHAI factory. More...

Static Public Member Functions

static ICHAICreateCHAI (CPNS::char8 const *const szSDKKey)
 Create a new CHAI instance. More...
 

Detailed Description

This is a CHAI factory.

Member Function Documentation

static ICHAI* CPNS::Factory::CreateCHAI ( CPNS::char8 const *const  szSDKKey)
static

Create a new CHAI instance.

Parameters
[in]szSDKKeyThe SDK Key to be used. This is aimed to avoid using invalid device identity.
  • use NULL value: root device are forced to use Test identity.
  • use a Manufacturer key: brand ID and name are forced by the key, but you are free to use any model ID and name.
  • use a Freeware key: brand ID, model ID, and related names are forced by the key.
Returns
a new CHAI object to be destroyed using ICHAI::Destroy()
Remarks
It is always possible to set a custom name of you choice to the root device. But the strong root device identity is under control of this key.