Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
FedmIscMyAxxessReader Class Reference

#include <FedmIscMyAxxessReader.h>

List of all members.

Public Member Functions

_FEDM_MYAXXESS_EXT_CLASS int AddTableItem (FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int AddTableItem (FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int AddTableItem (FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int AddTableItem (unsigned int uiTableID, char *sItem)
_FEDM_MYAXXESS_EXT_CLASS int ClearTable (unsigned int uiTableID)
_FEDM_MYAXXESS_EXT_CLASS FedmIscMyAxxessReader (unsigned char ucIDDLength, unsigned char ucIDDFormat=FEDM_MYAXXESS_IDD_FORMAT_NUM)
_FEDM_MYAXXESS_EXT_CLASS FedmIscMyAxxessReader (FEDM_ISCReaderModule *pReaderModule, unsigned char ucIDDLength, unsigned char ucIDDFormat=FEDM_MYAXXESS_IDD_FORMAT_NUM)
_FEDM_MYAXXESS_EXT_CLASS
unsigned char 
GetDateFormat (void)
_FEDM_MYAXXESS_EXT_CLASS char * GetErrorText (int iErrorCode)
_FEDM_MYAXXESS_EXT_CLASS
unsigned char 
GetIDDFormat (void)
_FEDM_MYAXXESS_EXT_CLASS
unsigned char 
GetIDDLength (void)
_FEDM_MYAXXESS_EXT_CLASS int GetLastError ()
_FEDM_MYAXXESS_EXT_CLASS
FEDM_ISCReaderModule
GetReaderObject ()
_FEDM_MYAXXESS_EXT_CLASS int GetTableItem (unsigned int uiIndex, FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int GetTableItem (unsigned int uiIndex, FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int GetTableItem (unsigned int uiIndex, FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int GetTableItem (FEDM_ISC_MYAXXESS_EVENT_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int GetTableItem (unsigned int uiTableID, unsigned int uiIndex, char *sItem)
_FEDM_MYAXXESS_EXT_CLASS int ModifyTableItem (unsigned int uiIndex, FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int ModifyTableItem (unsigned int uiIndex, FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int ModifyTableItem (unsigned int uiIndex, FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM *pItem)
_FEDM_MYAXXESS_EXT_CLASS int ModifyTableItem (unsigned int uiTableID, unsigned int uiIndex, char *sItem)
_FEDM_MYAXXESS_EXT_CLASS int ReadTable (unsigned int uiTableID)
_FEDM_MYAXXESS_EXT_CLASS int RemoveTableItem (unsigned int uiTableID, unsigned int uiIndex)
_FEDM_MYAXXESS_EXT_CLASS int SerializeTableIn (char *szFilename, unsigned int uiFileType=FEDM_MYAXXESS_FILETYPE_XML)
_FEDM_MYAXXESS_EXT_CLASS int SerializeTableOut (unsigned int uiTableID, char *szFilename, unsigned int uiFileType=FEDM_MYAXXESS_FILETYPE_XML)
_FEDM_MYAXXESS_EXT_CLASS int SetDateFormat (unsigned char ucDateType)
_FEDM_MYAXXESS_EXT_CLASS int StartEventHandler (unsigned int uiPortNr, void *pAny, LPFN_FEDM_MYAXXESS_EVENT_CB cbEvent, LPFN_FEDM_MYAXXESS_KEEPALIVE_CB cbKeepAlive, int iAuthentType=-1, char *sAuthentKey=NULL)
_FEDM_MYAXXESS_EXT_CLASS int StartEventHandler4DotNet (unsigned int uiPortNr, void *pAny, LPFN_FEDM_MYAXXESS_EVENT_DOTNET_CB cbEvent, LPFN_FEDM_MYAXXESS_KEEPALIVE_DOTNET_CB cbKeepAlive, int iAuthentType=-1, char *sAuthentKey=NULL)
_FEDM_MYAXXESS_EXT_CLASS int StopEventHandler ()
_FEDM_MYAXXESS_EXT_CLASS int WriteTables ()
_FEDM_MYAXXESS_EXT_CLASS ~FedmIscMyAxxessReader ()

Static Public Member Functions

static _FEDM_MYAXXESS_EXT_CLASS int cbsTaskRsp3 (void *pAny, int iReaderHnd, int iTaskID, int iError, unsigned char ucCmd, unsigned char *ucRspData, int iRspLen, char *cIPAdr, int iPortNr, unsigned char &ucAction)

Protected Member Functions

int BuildTableItem (vector< string > aName, vector< string > aValue, FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM *pItem)
int BuildTableItem (vector< string > aName, vector< string > aValue, FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM *pItem)
int BuildTableItem (vector< string > aName, vector< string > aValue, FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM *pItem)
unsigned int CalcCRC16CheckSum (unsigned short int uiCrcStart, unsigned short int uiCrcPoly, unsigned char *ucBuffer, unsigned int uiBufLen)
int cbNewMaxEvent (int iReaderHnd, int iTaskID, int iError, unsigned char *ucRspData, int iRspLen, char *cIPAdr, int iPortNr, unsigned char &ucAction)
void cbNewReaderDiagnostic (int iReaderHnd, int iTaskID, int iError, unsigned char *ucRspData, int iRspLen, char *cIPAdr, int iPortNr)
int GetTableItem_Access (unsigned int uiIndex, char *sItem)
int GetTableItem_Event (char *sItem)
int GetTableItem_Holiday (unsigned int uiIndex, char *sItem)
int GetTableItem_Timezone (unsigned int uiIndex, char *sItem)
int ReadTable_Access ()
int ReadTable_CrcList ()
int ReadTable_Event ()
int ReadTable_Holiday ()
int ReadTable_Metadata ()
int ReadTable_Timezone ()
int SetIDDFormat (unsigned char ucIDDFormat)
int SetIDDLength (unsigned char ucIDDLength)
void SetLastError (int iError)
int ValidateIDDSettings ()
int WriteTables_Access ()
int WriteTables_CrcList ()
int WriteTables_Holiday ()
int WriteTables_Metadata ()
int WriteTables_Timezone ()

Protected Attributes

vector
< FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM * > 
m_AccessTable
bool m_bInternalReaderModule
LPFN_FEDM_MYAXXESS_EVENT_CB m_cbEvent
LPFN_FEDM_MYAXXESS_KEEPALIVE_CB m_cbKeepAlive
LPFN_FEDM_MYAXXESS_EVENT_DOTNET_CB m_cbStdCallEvent
LPFN_FEDM_MYAXXESS_KEEPALIVE_DOTNET_CB m_cbStdCallKeepAlive
FEDM_ISC_MYAXXESS_CRCLIST m_CrcList
queue
< FEDM_ISC_MYAXXESS_EVENT_TABLE_ITEM * > 
m_EventTable
vector
< FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM * > 
m_HolidayTable
FEDM_ISC_MYAXXESS_METADATA m_Metadata
FedmIscMyAxxess_CsvParserm_pCsvParser
FEDM_ISCReaderModulem_pReaderModule
vector
< FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM * > 
m_TimezoneTable
unsigned char m_ucDateFormat
unsigned char m_ucIn [FEDM_MYAXXESS_MAX_BLOCKSIZE+20]
unsigned char m_ucOut [FEDM_MYAXXESS_MAX_BLOCKSIZE+20]
unsigned int m_uiEventCallerType
unsigned int m_uiPackageLen
unsigned int m_uiTimeout

Friends

class FedmIscMyAxxess_CsvParser

Detailed Description

Definition at line 160 of file FedmIscMyAxxessReader.h.


Constructor & Destructor Documentation

FedmIscMyAxxessReader::FedmIscMyAxxessReader ( unsigned char  ucIDDLength,
unsigned char  ucIDDFormat = FEDM_MYAXXESS_IDD_FORMAT_NUM 
)

Definition at line 53 of file FedmIscMyAxxessReader.cpp.

FedmIscMyAxxessReader::FedmIscMyAxxessReader ( FEDM_ISCReaderModule pReaderModule,
unsigned char  ucIDDLength,
unsigned char  ucIDDFormat = FEDM_MYAXXESS_IDD_FORMAT_NUM 
)

Definition at line 87 of file FedmIscMyAxxessReader.cpp.

Definition at line 122 of file FedmIscMyAxxessReader.cpp.


Member Function Documentation

Definition at line 442 of file FedmIscMyAxxessReader.cpp.

Definition at line 534 of file FedmIscMyAxxessReader.cpp.

Definition at line 591 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::AddTableItem ( unsigned int  uiTableID,
char *  sItem 
)

Definition at line 653 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::BuildTableItem ( vector< string >  aName,
vector< string >  aValue,
FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM pItem 
) [protected]

Definition at line 1817 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::BuildTableItem ( vector< string >  aName,
vector< string >  aValue,
FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM pItem 
) [protected]

Definition at line 2342 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::BuildTableItem ( vector< string >  aName,
vector< string >  aValue,
FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM pItem 
) [protected]

Definition at line 2551 of file FedmIscMyAxxessReader.cpp.

unsigned int FedmIscMyAxxessReader::CalcCRC16CheckSum ( unsigned short int  uiCrcStart,
unsigned short int  uiCrcPoly,
unsigned char *  ucBuffer,
unsigned int  uiBufLen 
) [protected]

Definition at line 1790 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::cbNewMaxEvent ( int  iReaderHnd,
int  iTaskID,
int  iError,
unsigned char *  ucRspData,
int  iRspLen,
char *  cIPAdr,
int  iPortNr,
unsigned char &  ucAction 
) [protected]

Definition at line 4129 of file FedmIscMyAxxessReader.cpp.

void FedmIscMyAxxessReader::cbNewReaderDiagnostic ( int  iReaderHnd,
int  iTaskID,
int  iError,
unsigned char *  ucRspData,
int  iRspLen,
char *  cIPAdr,
int  iPortNr 
) [protected]

Definition at line 4291 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::cbsTaskRsp3 ( void *  pAny,
int  iReaderHnd,
int  iTaskID,
int  iError,
unsigned char  ucCmd,
unsigned char *  ucRspData,
int  iRspLen,
char *  cIPAdr,
int  iPortNr,
unsigned char &  ucAction 
) [static]

Definition at line 4057 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::ClearTable ( unsigned int  uiTableID)

Definition at line 262 of file FedmIscMyAxxessReader.cpp.

Definition at line 186 of file FedmIscMyAxxessReader.h.

char * FedmIscMyAxxessReader::GetErrorText ( int  iErrorCode)

Definition at line 4390 of file FedmIscMyAxxessReader.cpp.

Definition at line 183 of file FedmIscMyAxxessReader.h.

Definition at line 182 of file FedmIscMyAxxessReader.h.

Definition at line 4385 of file FedmIscMyAxxessReader.cpp.

Definition at line 180 of file FedmIscMyAxxessReader.h.

Definition at line 759 of file FedmIscMyAxxessReader.cpp.

Definition at line 819 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::GetTableItem ( unsigned int  uiIndex,
FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM pItem 
)

Definition at line 879 of file FedmIscMyAxxessReader.cpp.

Definition at line 934 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::GetTableItem ( unsigned int  uiTableID,
unsigned int  uiIndex,
char *  sItem 
)

Definition at line 983 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::GetTableItem_Access ( unsigned int  uiIndex,
char *  sItem 
) [protected]

Definition at line 2907 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::GetTableItem_Event ( char *  sItem) [protected]

Definition at line 2996 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::GetTableItem_Holiday ( unsigned int  uiIndex,
char *  sItem 
) [protected]

Definition at line 2839 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::GetTableItem_Timezone ( unsigned int  uiIndex,
char *  sItem 
) [protected]

Definition at line 2702 of file FedmIscMyAxxessReader.cpp.

Definition at line 1087 of file FedmIscMyAxxessReader.cpp.

Definition at line 1188 of file FedmIscMyAxxessReader.cpp.

Definition at line 1254 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::ModifyTableItem ( unsigned int  uiTableID,
unsigned int  uiIndex,
char *  sItem 
)

Definition at line 1306 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::ReadTable ( unsigned int  uiTableID)

Definition at line 1489 of file FedmIscMyAxxessReader.cpp.

Definition at line 3827 of file FedmIscMyAxxessReader.cpp.

Definition at line 3550 of file FedmIscMyAxxessReader.cpp.

Definition at line 3906 of file FedmIscMyAxxessReader.cpp.

Definition at line 3752 of file FedmIscMyAxxessReader.cpp.

Definition at line 3607 of file FedmIscMyAxxessReader.cpp.

Definition at line 3677 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::RemoveTableItem ( unsigned int  uiTableID,
unsigned int  uiIndex 
)

Definition at line 1033 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::SerializeTableIn ( char *  szFilename,
unsigned int  uiFileType = FEDM_MYAXXESS_FILETYPE_XML 
)

Definition at line 349 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::SerializeTableOut ( unsigned int  uiTableID,
char *  szFilename,
unsigned int  uiFileType = FEDM_MYAXXESS_FILETYPE_XML 
)

Definition at line 394 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::SetDateFormat ( unsigned char  ucDateType)

Definition at line 241 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::SetIDDFormat ( unsigned char  ucIDDFormat) [protected]

Definition at line 190 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::SetIDDLength ( unsigned char  ucIDDLength) [protected]

Definition at line 157 of file FedmIscMyAxxessReader.cpp.

void FedmIscMyAxxessReader::SetLastError ( int  iError) [protected]

Definition at line 4380 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::StartEventHandler ( unsigned int  uiPortNr,
void *  pAny,
LPFN_FEDM_MYAXXESS_EVENT_CB  cbEvent,
LPFN_FEDM_MYAXXESS_KEEPALIVE_CB  cbKeepAlive,
int  iAuthentType = -1,
char *  sAuthentKey = NULL 
)

Definition at line 1569 of file FedmIscMyAxxessReader.cpp.

int FedmIscMyAxxessReader::StartEventHandler4DotNet ( unsigned int  uiPortNr,
void *  pAny,
LPFN_FEDM_MYAXXESS_EVENT_DOTNET_CB  cbEvent,
LPFN_FEDM_MYAXXESS_KEEPALIVE_DOTNET_CB  cbKeepAlive,
int  iAuthentType = -1,
char *  sAuthentKey = NULL 
)

Definition at line 1679 of file FedmIscMyAxxessReader.cpp.

Definition at line 1762 of file FedmIscMyAxxessReader.cpp.

Definition at line 209 of file FedmIscMyAxxessReader.cpp.

Definition at line 1408 of file FedmIscMyAxxessReader.cpp.

Definition at line 3444 of file FedmIscMyAxxessReader.cpp.

Definition at line 3146 of file FedmIscMyAxxessReader.cpp.

Definition at line 3357 of file FedmIscMyAxxessReader.cpp.

Definition at line 3181 of file FedmIscMyAxxessReader.cpp.

Definition at line 3260 of file FedmIscMyAxxessReader.cpp.


Friends And Related Function Documentation

friend class FedmIscMyAxxess_CsvParser [friend]

Definition at line 166 of file FedmIscMyAxxessReader.h.


Member Data Documentation

Definition at line 328 of file FedmIscMyAxxessReader.h.

Definition at line 321 of file FedmIscMyAxxessReader.h.

Definition at line 347 of file FedmIscMyAxxessReader.h.

Definition at line 348 of file FedmIscMyAxxessReader.h.

Definition at line 349 of file FedmIscMyAxxessReader.h.

Definition at line 350 of file FedmIscMyAxxessReader.h.

Definition at line 324 of file FedmIscMyAxxessReader.h.

Definition at line 329 of file FedmIscMyAxxessReader.h.

Definition at line 327 of file FedmIscMyAxxessReader.h.

Definition at line 325 of file FedmIscMyAxxessReader.h.

Definition at line 335 of file FedmIscMyAxxessReader.h.

Definition at line 323 of file FedmIscMyAxxessReader.h.

Definition at line 326 of file FedmIscMyAxxessReader.h.

unsigned char FedmIscMyAxxessReader::m_ucDateFormat [protected]

Definition at line 337 of file FedmIscMyAxxessReader.h.

Definition at line 345 of file FedmIscMyAxxessReader.h.

Definition at line 344 of file FedmIscMyAxxessReader.h.

Definition at line 340 of file FedmIscMyAxxessReader.h.

unsigned int FedmIscMyAxxessReader::m_uiPackageLen [protected]

Definition at line 339 of file FedmIscMyAxxessReader.h.

unsigned int FedmIscMyAxxessReader::m_uiTimeout [protected]

Definition at line 338 of file FedmIscMyAxxessReader.h.


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


maggie_rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Mon Sep 14 2015 03:05:32