#include <VehicleComm.h>
Collaboration diagram for VehicleComm:
Public Member Functions | |
VehicleComm () | |
VehicleComm (VehicleNetConfig *myConfig) | |
virtual | ~VehicleComm () |
int | Connect (VehicleNetConfig *myConfig) |
int | SendMessage (SystemDefs::VehicleID_t destID, void *pMessage, unsigned int msgLength) |
int | BroadcastMessage (void *pMessage, unsigned int msgLength) |
int | GetMessage (void *pMessage, unsigned int maxMsgLength) |
int | GetMessage (void *pMessage, unsigned int maxMsgLength, SystemDefs::VehicleID_t &srcID) |
Protected Member Functions | |
int | GetMessage (void *pMessage, unsigned int maxMsgLength, ACE_INET_Addr &whoFrom) |
Protected Attributes | |
ACE_SOCK_Dgram_Mcast * | m_pMySocket |
VehicleNetConfig * | m_pMyConfig |
|
Definition at line 17 of file VehicleComm.cpp. |
|
Definition at line 23 of file VehicleComm.cpp. References Connect(). |
|
Definition at line 30 of file VehicleComm.cpp. |
|
Definition at line 91 of file VehicleComm.cpp. References m_pMySocket. Referenced by SendMessage(). |
|
Definition at line 36 of file VehicleComm.cpp. References VehicleNetConfig::GetMulticastAddress(), VehicleNetConfig::GetMulticastInterface(), m_pMyConfig, m_pMySocket, VehicleNetConfig::MulticastLoopbackEnabled(), and VehicleNetConfig::MulticastTimeToLive(). Referenced by VehicleComm(). |
|
Definition at line 125 of file VehicleComm.cpp. References m_pMySocket. |
|
Definition at line 112 of file VehicleComm.cpp. References GetMessage(), m_pMyConfig, and VehicleNetConfig::VehicleAddressToID(). |
|
Definition at line 103 of file VehicleComm.cpp. Referenced by GetMessage(). |
|
Definition at line 73 of file VehicleComm.cpp. References BroadcastMessage(), VehicleNetConfig::GetVehicleAddress(), and m_pMyConfig. |
|
Definition at line 41 of file VehicleComm.h. Referenced by Connect(), GetMessage(), and SendMessage(). |
|
Definition at line 40 of file VehicleComm.h. Referenced by BroadcastMessage(), Connect(), and GetMessage(). |