Apollo 10.0
自动驾驶开放平台
apollo::perception::camera::PatchIndicator结构体 参考

#include <frame_list.h>

apollo::perception::camera::PatchIndicator 的协作图:

Public 成员函数

EIGEN_MAKE_ALIGNED_OPERATOR_NEW PatchIndicator ()
 
 PatchIndicator (int frame_id, int patch_id)
 
 PatchIndicator (int frame_id, int patch_id, const std::string &sensor_name)
 
bool operator== (const PatchIndicator &indicator)
 
std::string to_string () const
 

Public 属性

int frame_id
 
int patch_id
 
std::string sensor_name
 

详细描述

在文件 frame_list.h31 行定义.

构造及析构函数说明

◆ PatchIndicator() [1/3]

EIGEN_MAKE_ALIGNED_OPERATOR_NEW apollo::perception::camera::PatchIndicator::PatchIndicator ( )
inline

◆ PatchIndicator() [2/3]

apollo::perception::camera::PatchIndicator::PatchIndicator ( int  frame_id,
int  patch_id 
)
inline

在文件 frame_list.h38 行定义.

38 {
39 this->frame_id = frame_id;
40 this->patch_id = patch_id;
41 sensor_name = "";
42 }

◆ PatchIndicator() [3/3]

apollo::perception::camera::PatchIndicator::PatchIndicator ( int  frame_id,
int  patch_id,
const std::string &  sensor_name 
)
inline

在文件 frame_list.h43 行定义.

43 {
44 this->frame_id = frame_id;
45 this->patch_id = patch_id;
47 }

成员函数说明

◆ operator==()

bool apollo::perception::camera::PatchIndicator::operator== ( const PatchIndicator indicator)
inline

在文件 frame_list.h48 行定义.

48 {
49 return (frame_id == indicator.frame_id && patch_id == indicator.patch_id);
50 }

◆ to_string()

std::string apollo::perception::camera::PatchIndicator::to_string ( ) const
inline

在文件 frame_list.h52 行定义.

52 {
53 std::stringstream str;
54 str << sensor_name << " | " << frame_id << " (" << patch_id << ")";
55 return str.str();
56 }

类成员变量说明

◆ frame_id

int apollo::perception::camera::PatchIndicator::frame_id

在文件 frame_list.h58 行定义.

◆ patch_id

int apollo::perception::camera::PatchIndicator::patch_id

在文件 frame_list.h59 行定义.

◆ sensor_name

std::string apollo::perception::camera::PatchIndicator::sensor_name

在文件 frame_list.h60 行定义.


该结构体的文档由以下文件生成: