Motorola CoreScanner Driver Wrapper
Protected Member Functions | Protected Attributes | List of all members
Motorola.Snapi.Attributes.MotorolaAttributeSet Class Reference

Base class for all attribute sets. Contains methods for setting and getting attributes. More...

Inheritance diagram for Motorola.Snapi.Attributes.MotorolaAttributeSet:
Motorola.Snapi.Attributes.Adf Motorola.Snapi.Attributes.Beeper Motorola.Snapi.Attributes.Chinese2Of5 Motorola.Snapi.Attributes.Codabar Motorola.Snapi.Attributes.Code11 Motorola.Snapi.Attributes.Code128 Motorola.Snapi.Attributes.Code32 Motorola.Snapi.Attributes.Code39 Motorola.Snapi.Attributes.Code93 Motorola.Snapi.Attributes.DataMatrixQr Motorola.Snapi.Attributes.Discovery Motorola.Snapi.Attributes.Discrete2Of5 Motorola.Snapi.Attributes.Imaging Motorola.Snapi.Attributes.Interleaved2Of5 Motorola.Snapi.Attributes.LicenseParsing Motorola.Snapi.Attributes.Maxicode Motorola.Snapi.Attributes.Msi Motorola.Snapi.Attributes.Ocr Motorola.Snapi.Attributes.Pdf Motorola.Snapi.Attributes.Postal Motorola.Snapi.Attributes.RssGs1Databar Motorola.Snapi.Attributes.SignatureCapture Motorola.Snapi.Attributes.Status Motorola.Snapi.Attributes.SymbologySecurity Motorola.Snapi.Attributes.Synapse Motorola.Snapi.Attributes.SystemEvents Motorola.Snapi.Attributes.UpcEan

Protected Member Functions

 MotorolaAttributeSet (int scannerId, CCoreScanner scannerDriver)
 Initializes this base class. Must be inherited More...
 
ScannerAttribute GetAttribute (ushort id)
 Get an attribute from the scanner given it's ID. More...
 
IDictionary< ushort, ScannerAttributeGetAttributes (List< ushort > ids)
 Get a Dictionary of attributes from the scanner given a List of attribute IDs. More...
 
void SetAttribute (ScannerAttribute attribute)
 Sets an attribute on the scanner given a ScannerAttribute object. More...
 

Protected Attributes

readonly string _getAttributesXml
 
readonly string _setAttributeXml
 
CCoreScanner _scannerDriver
 
int _scannerId
 

Detailed Description

Base class for all attribute sets. Contains methods for setting and getting attributes.

Constructor & Destructor Documentation

Motorola.Snapi.Attributes.MotorolaAttributeSet.MotorolaAttributeSet ( int  scannerId,
CCoreScanner  scannerDriver 
)
protected

Initializes this base class. Must be inherited

Parameters
scannerIdID number of the scanner to get/set data from.
scannerDriver

Member Function Documentation

ScannerAttribute Motorola.Snapi.Attributes.MotorolaAttributeSet.GetAttribute ( ushort  id)
protected

Get an attribute from the scanner given it's ID.

Parameters
idAttribute ID
Returns
ScannerAttribute object holding identification info and the value of the attribute.
IDictionary<ushort, ScannerAttribute> Motorola.Snapi.Attributes.MotorolaAttributeSet.GetAttributes ( List< ushort >  ids)
protected

Get a Dictionary of attributes from the scanner given a List of attribute IDs.

Parameters
idsAttribute ID list
Returns
Dictionary of ScannerAttribute objects holding identification info and the value of their corrisponding attribute. Keyed by id.
void Motorola.Snapi.Attributes.MotorolaAttributeSet.SetAttribute ( ScannerAttribute  attribute)
protected

Sets an attribute on the scanner given a ScannerAttribute object.

Parameters
attributeScannerAttribute object containing identification info and the value of the attribute to set.

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