Commit 1fc2ff95 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Merge branch 'master' of https://git.rwth-aachen.de/ita/VANet

parents 1f774353 594205d7
......@@ -7,14 +7,10 @@ list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaInterProcComm )
vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaInterProcComm FIND_DEPENDENCIES )
vista_use_package( VABase REQUIRED )
if( NOT DEFINED ITA_VANET_WITH_VISTACORELIBS_GREATER_1_15 )
set( ITA_VANET_WITH_VISTACORELIBS_GREATER_1_15 OFF CACHE BOOL "SetWaitForDescriptorEventSelectIsEnabled available in VistaCoreLibs?" )
endif( NOT DEFINED ITA_VANET_WITH_VISTACORELIBS_GREATER_1_15 )
if( NOT DEFINED ITA_VANET_INSTALL_WITH_DLLS )
set( ITA_VANET_INSTALL_WITH_DLLS ON CACHE BOOL "Install VANet with depending DLLs (use this switch with care)" )
endif( NOT DEFINED ITA_VANET_INSTALL_WITH_DLLS )
......@@ -28,10 +24,6 @@ include_directories( "include" )
add_definitions( -DVABASE_DLL -DVANET_DLL -DVANET_EXPORTS )
if( ITA_VANET_WITH_VISTACORELIBS_GREATER_1_15 )
add_definitions( -DVISTACORELIBS_VERSION_GREATER_1_15 )
endif( ITA_VANET_WITH_VISTACORELIBS_GREATER_1_15 )
add_library( VANet "${ProjectSources}" )
target_link_libraries( VANet ${VISTA_USE_PACKAGE_LIBRARIES} )
......
......@@ -5,4 +5,20 @@ VANet is the protocol, server and client library that enables to communicate the
### License
Copyright 2015-2016 Institute of Technical Acoustics, RWTH Aachen University.
Any usage and distribution is prohibited, unless explicitly granted by the authors.
\ No newline at end of file
Any usage and distribution is prohibited, unless explicitly granted by the authors.
### Bindings
There are bindings for different scripting and programming languages available for VANet
* C# (project [VACS](https://git.rwth-aachen.de/ita/VACS))
* Matlab (project [VAMatlab](https://git.rwth-aachen.de/ita/VAMatlab))
* LUA (project [VALUA](https://git.rwth-aachen.de/ita/VALUA))
* Python (in planning phase)
### Applications
* VAServer (project [VAServer](https://git.rwth-aachen.de/ita/VAServer))
* VAGUI (project [VAGUI](https://git.rwth-aachen.de/ita/VAGUI))
* Inside (project [Inside](https://devhub.vr.rwth-aachen.de/VR-Group/Inside), collaboration with the IT Center, requires github account)
* Unity (project [VAUnity](https://git.rwth-aachen.de/ita/VAUnity), using VA C# binding)
......@@ -214,19 +214,15 @@ public:
try
{
#ifdef VISTACORELIBS_VERSION_GREATER_1_15
m_mapConnections[nUpdateID]->SetWaitForDescriptorEventSelectIsEnabled( false );
#endif // VISTACORELIBS_VERSION_GREATER_1_15
if( m_pProtocol->ProcessMessageFromClient( m_mapConnections[nUpdateID] ) == false )
{
m_pParent->RemoveClient( m_mapConnections[nUpdateID], CVANetNetworkProtocol::VA_NET_SERVER_DISCONNECT );
}
else
{
#ifdef VISTACORELIBS_VERSION_GREATER_1_15
if( m_mapConnections[nUpdateID] )
m_mapConnections[nUpdateID]->SetWaitForDescriptorEventSelectIsEnabled( true );
#endif // VISTACORELIBS_VERSION_GREATER_1_15
}
}
catch( CVAException& )
......@@ -238,7 +234,7 @@ public:
virtual void PreLoop()
{
#if VANET_SERVER_VERBOSE==1
#if VANET_SERVER_VERBOSE == 1
std::cout << "VA Server: starting connection update loop" << std::endl;
#endif
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment