CARMA C++
nearestInfoUtils.h
1 #ifndef CARMA_CONTROL_NEARESTINFO_UTILS_H
2 #define CARMA_CONTROL_NEARESTINFO_UTILS_H
3 
4 #include "carma/corba/corba.h"
5 #include "carma/control/NearestInfo.h"
7 
8 namespace carma {
9  namespace control {
10 
19  NearestInfoSeq_var convertNeighborSetToNearestInfoSeq(
20  const carma::services::NeighborSet & neighborSet );
21 
27  NearestInfo copyNeighbor( const carma::services::Neighbor & neighbor );
28 
29  };
30 };
31 
32 #endif //CARMA_CONTROL_NEARESTINFO_UTILS_H
Data on nearest neighbor to a source.
Definition: Neighbor.h:24
NearestInfo copyNeighbor(const carma::services::Neighbor &neighbor)
Copy the data from a single services::Neighbor object to a control::NearestInfo object.
Nearby neighbor source data structure definition.
NearestInfoSeq_var convertNeighborSetToNearestInfoSeq(const carma::services::NeighborSet &neighborSet)
Convert Neighbor objects to an IDL sequence of NearestInfo objects.