Apollo  6.0
Open source self driving car software
Classes | Namespaces
async_logger.h File Reference
#include <atomic>
#include <condition_variable>
#include <cstdint>
#include <ctime>
#include <deque>
#include <iostream>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <unordered_map>
#include <utility>
#include <vector>
#include "glog/logging.h"
#include "cyber/common/macros.h"
#include "cyber/logger/log_file_object.h"
Include dependency graph for async_logger.h:

Go to the source code of this file.

Classes

class  apollo::cyber::logger::AsyncLogger
 Wrapper for a glog Logger which asynchronously writes log messages. This class starts a new thread responsible for forwarding the messages to the logger, and performs double buffering. Writers append to the current buffer and then wake up the logger thread. The logger swaps in a new buffer and writes any accumulated messages to the wrapped Logger. More...
 

Namespaces

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