Public Member Functions | Private Member Functions | Private Attributes | List of all members
visionary::CoLa2ProtocolHandler Class Reference

#include <CoLa2ProtocolHandler.h>

Inheritance diagram for visionary::CoLa2ProtocolHandler:
Inheritance graph
[legend]

Public Member Functions

void closeSession ()
 
 CoLa2ProtocolHandler (ITransport &rTransport)
 
bool openSession (uint8_t sessionTimeout)
 
CoLaCommand send (CoLaCommand cmd)
 
 ~CoLa2ProtocolHandler ()
 

Private Member Functions

uint8_t calculateChecksum (const std::vector< uint8_t > &buffer)
 
std::vector< std::uint8_t > createCoLa2Header ()
 
uint16_t getReqId ()
 

Private Attributes

uint16_t m_ReqID
 
ITransportm_rTransport
 
uint32_t m_sessionID
 

Detailed Description

Definition at line 29 of file CoLa2ProtocolHandler.h.

Constructor & Destructor Documentation

◆ CoLa2ProtocolHandler()

visionary::CoLa2ProtocolHandler::CoLa2ProtocolHandler ( ITransport rTransport)

Definition at line 27 of file CoLa2ProtocolHandler.cpp.

◆ ~CoLa2ProtocolHandler()

visionary::CoLa2ProtocolHandler::~CoLa2ProtocolHandler ( )

Definition at line 34 of file CoLa2ProtocolHandler.cpp.

Member Function Documentation

◆ calculateChecksum()

uint8_t visionary::CoLa2ProtocolHandler::calculateChecksum ( const std::vector< uint8_t > &  buffer)
private

Definition at line 183 of file CoLa2ProtocolHandler.cpp.

◆ closeSession()

void visionary::CoLa2ProtocolHandler::closeSession ( )
virtual

Implements visionary::IProtocolHandler.

Definition at line 88 of file CoLa2ProtocolHandler.cpp.

◆ createCoLa2Header()

std::vector< std::uint8_t > visionary::CoLa2ProtocolHandler::createCoLa2Header ( )
private

Definition at line 98 of file CoLa2ProtocolHandler.cpp.

◆ getReqId()

uint16_t visionary::CoLa2ProtocolHandler::getReqId ( )
private

Definition at line 93 of file CoLa2ProtocolHandler.cpp.

◆ openSession()

bool visionary::CoLa2ProtocolHandler::openSession ( uint8_t  sessionTimeout)
virtual

Implements visionary::IProtocolHandler.

Definition at line 36 of file CoLa2ProtocolHandler.cpp.

◆ send()

CoLaCommand visionary::CoLa2ProtocolHandler::send ( CoLaCommand  cmd)
virtual

Implements visionary::IProtocolHandler.

Definition at line 128 of file CoLa2ProtocolHandler.cpp.

Member Data Documentation

◆ m_ReqID

uint16_t visionary::CoLa2ProtocolHandler::m_ReqID
private

Definition at line 43 of file CoLa2ProtocolHandler.h.

◆ m_rTransport

ITransport& visionary::CoLa2ProtocolHandler::m_rTransport
private

Definition at line 42 of file CoLa2ProtocolHandler.h.

◆ m_sessionID

uint32_t visionary::CoLa2ProtocolHandler::m_sessionID
private

Definition at line 44 of file CoLa2ProtocolHandler.h.


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


sick_safevisionary_base
Author(s):
autogenerated on Sat Oct 21 2023 02:24:26