Fraxinus  16.5.0-fx-rc8
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cxSocketConnection.h File Reference
#include <QPointer>
#include <QTcpServer>
#include <QMutex>
#include "cxEnumConverter.h"
#include "boost/shared_ptr.hpp"

Go to the source code of this file.

Classes

class  cx::SocketConnection
 
struct  cx::SocketConnection::ConnectionInfo
 

Namespaces

 cx
 Namespace for all CustusX production code.
 

Macros

#define assertRunningInObjectThread()
 

Typedefs

typedef boost::shared_ptr
< class SocketConnector > 
cx::SocketConnectorPtr
 

Enumerations

enum  cx::CX_SOCKETCONNECTION_STATE {
  cx::scsINACTIVE, cx::scsCONNECTED, cx::scsLISTENING, cx::scsCONNECTING,
  cx::scsCOUNT
}
 

Functions

 SNW_DECLARE_ENUM_STRING_CONVERTERS (cx, CX_SOCKETCONNECTION_STATE)
 

Macro Definition Documentation

#define assertRunningInObjectThread ( )
Value:
{ \
if (QThread::currentThread()!=this->thread()) \
{ \
<< QString("Method should be called in the object's thread [%1] only, current thread = [%2]") \
.arg(this->thread()->objectName()) \
.arg(QThread::currentThread()->objectName()); \
} \
} \
#define CX_LOG_ERROR
Definition: cxLogger.h:114

Insert into every method that is only allowed to be called inside the object's own thread.

Definition at line 58 of file cxSocketConnection.h.

Function Documentation

SNW_DECLARE_ENUM_STRING_CONVERTERS ( cx  ,
CX_SOCKETCONNECTION_STATE   
)