Public Member Functions
sick::cola2::CloseSession Class Reference

Command to close a cola2 session between host and sensor. More...

#include <CloseSession.h>

Inheritance diagram for sick::cola2::CloseSession:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addTelegramData (sick::datastructure::PacketBuffer::VectorBuffer &telegram) const
 Adds data to the telegram. The close cola2 session command does not carry any extra data and therefor this function does not add any data.
bool canBeExecutedWithoutSessionID () const
 Returns if the command can be executed without a session ID. Will return false for most commands except the commands to establish a connection.
 CloseSession (Cola2Session &session)
 Constructor of the command to close a cola2 session.
bool processReply ()
 Processes the return from the sensor.

Detailed Description

Command to close a cola2 session between host and sensor.

Definition at line 47 of file CloseSession.h.


Constructor & Destructor Documentation

Constructor of the command to close a cola2 session.

Parameters:
sessionThe currents cola2 session, which will be closed on executing the command.

Definition at line 44 of file CloseSession.cpp.


Member Function Documentation

Adds data to the telegram. The close cola2 session command does not carry any extra data and therefor this function does not add any data.

Parameters:
telegramThe telegram which will be modified.

Implements sick::cola2::Command.

Definition at line 49 of file CloseSession.cpp.

Returns if the command can be executed without a session ID. Will return false for most commands except the commands to establish a connection.

Returns:
If the command needs a session ID to be executed.

Definition at line 53 of file CloseSession.cpp.

Processes the return from the sensor.

Returns:
If processing of the returned data was successful.

Implements sick::cola2::Command.

Definition at line 58 of file CloseSession.cpp.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:36