RCL - RoboCLuedo  v1.0
Francesco Ganci - S4143910 - Experimental Robotics Lab - Assignment 1

◆ Connect()

bool ArmorTools::Connect ( float  timeout = ARMOR_DEFAULT_TIMEOUT)

open a connection with the aRMOR service.

This function simply asks the aRMOR service client. The client handle is stored inside the class, so you don't have to worry about it.

Parameters
timeouthow much time to wait until to stop the connection attempt; see ARMOR_DEFAULT_TIMEOUT .
Returns
success or not
Note
The function returns false anso when, after opened the connection, you try to connect again. This is not allowed: you cannot reconnect.
Examples
ArmorTools - 001 - Essential usage of ArmorTools.

Definition at line 187 of file armor_tools.cpp.

References ARMOR_ERR, ARMOR_INFO, ARMOR_SERVICE_SINGLE_REQUEST, and LOGSQUARE.

Referenced by ConnectAndLoad().

+ Here is the caller graph for this function: