ESIParser Class Reference

#include <armarx/control/ethercat/bus_io/ESI.h>

Public Member Functions

ESIData parseESI (const std::vector< std::byte > &esiBinary)
 Parse a standard-conformant binary in SII format to an ESI structure. More...
 
ESIFMMU parseFMMU (const std::vector< std::byte > &esiBinary, std::uint16_t wordOffset, std::uint16_t len)
 
ESIGeneral parseGeneral (const std::vector< std::byte > &esiBinary, std::uint16_t wordOffset)
 
ESIHeader parseHeader (const std::vector< std::byte > &esiBinary)
 
std::vector< ESIPDOObjectparsePDOs (const std::vector< std::byte > &esiBinary, std::uint16_t wordOffset, std::uint16_t len)
 
std::vector< std::string > parseStrings (const std::vector< std::byte > &esiBinary, std::uint16_t wordOffset)
 
ESISyncM parseSyncM (const std::vector< std::byte > &esiBinary, std::uint16_t wordOffset, std::uint16_t len)
 

Detailed Description

Definition at line 179 of file ESI.h.

Member Function Documentation

◆ parseESI()

ESIData parseESI ( const std::vector< std::byte > &  esiBinary)

Parse a standard-conformant binary in SII format to an ESI structure.

See ETG1000.6 for the SII specification.

Parameters
esiBinarythe binary SII to parse
Returns
the parsed ESI data structure
Exceptions
ParseExceptioniff esiBinary is not standard-conformant

Definition at line 131 of file ESI.cpp.

+ Here is the call graph for this function:

◆ parseFMMU()

ESIFMMU parseFMMU ( const std::vector< std::byte > &  esiBinary,
std::uint16_t  wordOffset,
std::uint16_t  len 
)

Definition at line 260 of file ESI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseGeneral()

ESIGeneral parseGeneral ( const std::vector< std::byte > &  esiBinary,
std::uint16_t  wordOffset 
)

Definition at line 238 of file ESI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseHeader()

ESIHeader parseHeader ( const std::vector< std::byte > &  esiBinary)

Definition at line 188 of file ESI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parsePDOs()

std::vector< ESIPDOObject > parsePDOs ( const std::vector< std::byte > &  esiBinary,
std::uint16_t  wordOffset,
std::uint16_t  len 
)

Definition at line 300 of file ESI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseStrings()

std::vector< std::string > parseStrings ( const std::vector< std::byte > &  esiBinary,
std::uint16_t  wordOffset 
)

Definition at line 216 of file ESI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseSyncM()

ESISyncM parseSyncM ( const std::vector< std::byte > &  esiBinary,
std::uint16_t  wordOffset,
std::uint16_t  len 
)

Definition at line 275 of file ESI.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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