vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RoadsState.cpp File Reference

Macros

#define GENERAL_MAX_JUNC_SPEED   7.5
 
#define HF_VECS_COEF   1.5
 
#define BMW_LP   1
 
#define BMW_WHITE_LP   2
 
#define IVECO   3
 
#define RS_LOAD_MODEL(variable, dataPartPath, errorNum)
 

Functions

 METHOD_INPUT (InUnregCarForEdge, MessageCarEdge, RoadsState)
 
 METHOD_INPUT (InAddForEdgeRegisteredCarToPutAsideCars, MessageCarEdge, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetReady, MessageVoid, MessageBool, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetDataPath, MessageVoid, MessageString, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetEdgeAbsPos, MessageEdgeOffset, MessageVec3, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetEdgeOutInVec, MessageUnsignedInt, MessageVec3, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetEdgeNormal, MessageUnsignedInt, MessageVec3, RoadsState)
 
 METHOD_REQUEST_INPUT (InFindShortestPath, MessageStartStopDestination, MessageVectorUnsignedInt, RoadsState)
 
 METHOD_REQUEST_INPUT (InCheckCarStopPosition, MessageCarEdgeData, MessageBool, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetStartOrStopEdgeFromRoadAndDirection, MessageRoadAndDir, MessageUnsignedInt, RoadsState)
 
 METHOD_REQUEST_INPUT (InRegCarForEdge, MessageCarEdgeData, MessageBool, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetRecVelOnJunc, MessageFirst3Juncs, MessageFloat, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetTurnOnJunc, MessageFirst3Juncs, MessageUnsignedInt, RoadsState)
 
 METHOD_REQUEST_INPUT (InIsCarFstPutAsideOnEdge, MessageCarEdge, MessageBool, RoadsState)
 
 METHOD_REQUEST_INPUT (InRegisterPutAsideCarForEdge, MessageCarEdgeData, MessageBool, RoadsState)
 
 METHOD_REQUEST_INPUT (InGetCarEnvirons, MessageCarSimParameters, MessageCarEnvirons, RoadsState)
 

Macro Definition Documentation

#define BMW_LP   1
#define BMW_WHITE_LP   2
#define GENERAL_MAX_JUNC_SPEED   7.5
#define HF_VECS_COEF   1.5
#define IVECO   3
#define RS_LOAD_MODEL (   variable,
  dataPartPath,
  errorNum 
)
Value:
Node * variable = ((MessageNode*)world->getEventDispatcherPtr()->request(pCarPartsNodeCache, \
"InGetCarPartNode", new MessageString(dataPath + dataPartPath)).get())->data; \
if (!variable) { \
world->errorLog("Error %d: %s%s can't be found.", errorNum, dataPath.c_str(), dataPartPath); \
return; \
}

Function Documentation

METHOD_INPUT ( InUnregCarForEdge  ,
MessageCarEdge  ,
RoadsState   
)
METHOD_INPUT ( InAddForEdgeRegisteredCarToPutAsideCars  ,
MessageCarEdge  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetReady  ,
MessageVoid  ,
MessageBool  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetDataPath  ,
MessageVoid  ,
MessageString  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetEdgeAbsPos  ,
MessageEdgeOffset  ,
MessageVec3  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetEdgeOutInVec  ,
MessageUnsignedInt  ,
MessageVec3  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetEdgeNormal  ,
MessageUnsignedInt  ,
MessageVec3  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InFindShortestPath  ,
MessageStartStopDestination  ,
MessageVectorUnsignedInt  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InCheckCarStopPosition  ,
MessageCarEdgeData  ,
MessageBool  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetStartOrStopEdgeFromRoadAndDirection  ,
MessageRoadAndDir  ,
MessageUnsignedInt  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InRegCarForEdge  ,
MessageCarEdgeData  ,
MessageBool  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetRecVelOnJunc  ,
MessageFirst3Juncs  ,
MessageFloat  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetTurnOnJunc  ,
MessageFirst3Juncs  ,
MessageUnsignedInt  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InIsCarFstPutAsideOnEdge  ,
MessageCarEdge  ,
MessageBool  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InRegisterPutAsideCarForEdge  ,
MessageCarEdgeData  ,
MessageBool  ,
RoadsState   
)
METHOD_REQUEST_INPUT ( InGetCarEnvirons  ,
MessageCarSimParameters  ,
MessageCarEnvirons  ,
RoadsState   
)