Apollo  6.0
Open source self driving car software
Classes | Namespaces | Macros
stage.h File Reference
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "modules/common/status/status.h"
#include "modules/common/util/factory.h"
#include "modules/planning/common/frame.h"
#include "modules/planning/proto/planning_config.pb.h"
#include "modules/planning/tasks/task.h"
Include dependency graph for stage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  apollo::planning::scenario::Stage
 

Namespaces

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

Macros

#define DECLARE_STAGE(NAME, CONTEXT)
 

Macro Definition Documentation

◆ DECLARE_STAGE

#define DECLARE_STAGE (   NAME,
  CONTEXT 
)
Value:
class NAME : public Stage { \
public: \
explicit NAME(const ScenarioConfig::StageConfig& config) \
: Stage(config) {} \
Stage::StageStatus Process( \
const common::TrajectoryPoint& planning_init_point, \
Frame* frame) override; \
CONTEXT* GetContext() { return GetContextAs<CONTEXT>(); } \
}