Go to the documentation of this file.
   62 #include <condition_variable> 
   88             std::unique_lock<std::mutex> lock(
mtx_);
 
   95             std::unique_lock<std::mutex> lock(
mtx_);
 
  105         std::condition_variable 
cv_;
 
  154         void handleSbf(
const std::shared_ptr<Telegram>& telegram);
 
  155         void handleNmea(
const std::shared_ptr<Telegram>& telegram);
 
  157         void handleError(
const std::shared_ptr<Telegram>& telegram);
 
  158         void handleCd(
const std::shared_ptr<Telegram>& telegram);
 
  
void resetWaitforMainCd()
Returns the connection descriptor.
void handleNmea(const std::shared_ptr< Telegram > &telegram)
std::string getMainCd()
Returns the connection descriptor.
ROSaicNodeBase * node_
Pointer to Node.
void handleResponse(const std::shared_ptr< Telegram > &telegram)
This class is the base class for abstraction.
std::string mainConnectionDescriptor_
Can search buffer for messages, read/parse them, and so on.
Semaphore capabilitiesSemaphore_
MessageHandler messageHandler_
MessageHandler parser.
TelegramHandler(ROSaicNodeBase *node)
void handleSbf(const std::shared_ptr< Telegram > &telegram)
std::condition_variable cv_
void handleError(const std::shared_ptr< Telegram > &telegram)
void waitForCapabilities()
Waits for capabilities.
void handleCd(const std::shared_ptr< Telegram > &telegram)
Represents ensemble of (to be constructed) ROS messages, to be handled at once by this class.
void waitForResponse()
Waits for response.
Semaphore responseSemaphore_
void handleTelegram(const std::shared_ptr< Telegram > &telegram)
Called every time a telegram is received.