chrono::utils::ChExceptionSocket Class Reference

Description

Class for exceptions that are thrown by TCP socket connections, used for example when connecting with other sw for cosimulation.

#include <ChSocket.h>

Inheritance diagram for chrono::utils::ChExceptionSocket:
Collaboration diagram for chrono::utils::ChExceptionSocket:

Public Member Functions

 ChExceptionSocket (int code, const std::string &what)
 
int getErrCode ()
 
void response ()
 
- Public Member Functions inherited from chrono::ChException
 ChException (std::string swhat)
 Constructor for a basic exception: sets the exception message as a string 'swhat'.
 
 ChException (const ChException &right)
 Copy constructor.
 
ChExceptionoperator= (const ChException &right)
 Assignment = operator.
 
virtual const char * what () const throw ()
 

Additional Inherited Members

- Protected Attributes inherited from chrono::ChException
std::string m_swhat
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/utils/ChSocket.h