Zebra Scanner SDK for Linux
 All Files Functions Enumerations Enumerator
Cslibcorescanner_xml.h
Go to the documentation of this file.
1 /*
2  * ©2015 Symbol Technologies LLC. All rights reserved.
3  */
4 
5 #ifndef SCANNERCLIENTAPI_H
6 #define SCANNERCLIENTAPI_H
7 
8 #include <cstddef>
9 #include <vector>
10 #include <string>
11 
12 #include <CsUserDefs.h>
13 #include <CsIEventListenerXml.h>
14 
24 unsigned short Open(
25  IEventListenerXml* pEventListener,
26  unsigned int scannerTypeFlags,
27  StatusID *status);
28 
29 
34 unsigned short GetScanners(
35  unsigned short *numberOfScanners,
36  std::vector<unsigned int> *scannerIDList,
37  std::string& outXML,
38  StatusID *status);
39 
46 unsigned short GetScannerIdList(
47  unsigned short *numberOfScanners,
48  std::vector<unsigned int> *scannerIDList,
49  StatusID *status);
50 
57 
63 unsigned short ExecCommand(
64  unsigned int opcode ,
65  const std::string inXML ,
66  std::string& outXML,
67  StatusID *status);
68 
69 //@cond
77 unsigned short ExecCommandAsync(
78  unsigned int opcode ,
79  const std::string inXML ,
80  StatusID *status );
81 //@endcond
82 
87 unsigned short Close(
88  unsigned int appHandle,
89  StatusID *status);
90 
96 std::string GetErrorMessage(StatusID eStatus);
97 
98 
99 
100 #endif // SCANNERCLIENTAPI_H
101 
void RefreshDevicelTopology()
unsigned short GetScannerIdList(unsigned short *numberOfScanners, std::vector< unsigned int > *scannerIDList, StatusID *status)
StatusID
Definition: CsUserDefs.h:90
Define the events provided by CoreScanner.
unsigned short Open(IEventListenerXml *pEventListener, unsigned int scannerTypeFlags, StatusID *status)
unsigned short ExecCommand(unsigned int opcode, const std::string inXML, std::string &outXML, StatusID *status)
Definitions related to CoreScanner interface.
unsigned short GetScanners(unsigned short *numberOfScanners, std::vector< unsigned int > *scannerIDList, std::string &outXML, StatusID *status)