Apollo  6.0
Open source self driving car software
Namespaces | Functions | Variables
util.h File Reference
#include <cstring>
#include <memory>
#include <string>
#include <vector>
#include "modules/bridge/common/bridge_buffer.h"
#include "modules/bridge/common/macro.h"
Include dependency graph for util.h:

Go to the source code of this file.

Namespaces

 apollo
 PlanningContext is the runtime context in planning. It is persistent across multiple frames.
 
 apollo::bridge
 

Functions

template<typename T >
void apollo::bridge::WriteToBuffer (BridgeBuffer< char > *buf, const std::shared_ptr< T > &pb_msg)
 
template<typename T >
bool apollo::bridge::RemoveItem (std::vector< T *> *list, const T *t)
 
template<typename T >
bool apollo::bridge::RemoveItem (std::vector< std::shared_ptr< T >> *list, std::shared_ptr< T > t)
 
int apollo::bridge::GetProtoSize (const char *buf, size_t size)
 

Variables

const int apollo::bridge::HEADER_BUF_SIZE = sizeof(size_t)