FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kAlgInfo Class Reference

Description

Abstract base class for camera algorithm parameters.

Note to implementers: kAlgInfo and its derived types are used in both client and server/hardware contexts. This approach reduces code duplication, but imposes some complexity/limitations on the implementation. Because these types can be used separately from the kFireSync/Client object hierarchy, it cannot be assumed that an algorithm object has a reference to its client-side parent (kCameraState).

Inheritance diagram for kAlgInfo:
Inheritance graph

Public Member Functions

kStatus kAlgInfo_Construct (kAlgInfo *info, kCameraAlgorithm typeId, kCameraCapability capabilities, kAlloc allocator)
 Constructs a suitable kAlgInfo object based on the given type id. More...
 
kStatus kAlgInfo_Export (kAlgInfo info, kXml xml, kXml item)
 Exports settings from an algorithm info object to the given XML object. More...
 
kStatus kAlgInfo_Import (kAlgInfo info, kXml xml, kXml item)
 Imports settings to an existing algorithm info object based on the given XML content. More...
 
kStatus kAlgInfo_Load (kAlgInfo *info, kCameraCapability capabilities, kXml xml, kXmlItem item, kAlloc allocator)
 Constructs a suitable algorithm info object based on the given XML content. More...
 
kStatus kAlgInfo_LoadReplace (kAlgInfo *info, kCameraCapability capabilities, kXml xml, kXmlItem item, kAlloc allocator)
 Constructs a new algorithm object or reuses the given algorithm object based on the XML content. More...
 
kStatus kAlgInfo_Save (kAlgInfo info, kXml xml, kXmlItem item)
 Saves the algorithm info to the specified XML object. More...
 

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