Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
GeneralMessage Class Reference

#include <general_message.h>

Inheritance diagram for GeneralMessage:
Inheritance graph
Collaboration diagram for GeneralMessage:
Collaboration graph

Public Member Functions

 GeneralMessage (GeneralMessageBase *parent, const google::protobuf::Message *msg, const google::protobuf::Reflection *reflection, const google::protobuf::FieldDescriptor *field)
 
 ~GeneralMessage ()
 
int Render (const Screen *s, int key) override
 
- Public Member Functions inherited from RenderableMessage
 RenderableMessage (RenderableMessage *parent=nullptr, int line_no=0)
 
virtual ~RenderableMessage ()
 
virtual double frame_ratio (void)
 
RenderableMessageparent (void) const
 
void set_parent (RenderableMessage *parent)
 
int page_item_count (void) const
 

Additional Inherited Members

- Static Public Attributes inherited from RenderableMessage
static constexpr int FrameRatio_Precision = 2
 
- Protected Member Functions inherited from GeneralMessageBase
void InsertRepeatedMessage (int line_no, GeneralMessageBase *item)
 
RenderableMessageChild (int line_no) const override
 
 GeneralMessageBase (RenderableMessage *parent=nullptr)
 
 ~GeneralMessageBase (void)
 
void clear (void)
 
 GeneralMessageBase (const GeneralMessageBase &)=delete
 
GeneralMessageBaseoperator= (const GeneralMessageBase &)=delete
 
- Protected Member Functions inherited from RenderableMessage
int * line_no (void)
 
void set_line_no (int line_no)
 
void reset_line_page (void)
 
void SplitPages (int key)
 
- Static Protected Member Functions inherited from GeneralMessageBase
static void PrintMessage (GeneralMessageBase *baseMsg, const google::protobuf::Message &msg, int *jump_lines, const Screen *s, int *line_no, int indent)
 
static void PrintField (GeneralMessageBase *baseMsg, const google::protobuf::Message &msg, int *jump_lines, const Screen *s, int *line_no, int indent, const google::protobuf::Reflection *ref, const google::protobuf::FieldDescriptor *field, int index)
 
static int LineCount (const google::protobuf::Message &msg, int screen_width)
 
static int LineCountOfField (const google::protobuf::Message &msg, int screen_width, const google::protobuf::FieldDescriptor *field, const google::protobuf::Reflection *reflection, bool is_folded=true)
 
- Protected Attributes inherited from GeneralMessageBase
std::map< const int, GeneralMessageBase * > children_map_
 
- Protected Attributes inherited from RenderableMessage
int line_no_
 
int pages_
 
int page_index_
 
int page_item_count_
 
RenderableMessageparent_
 
double frame_ratio_
 

Constructor & Destructor Documentation

◆ GeneralMessage()

GeneralMessage::GeneralMessage ( GeneralMessageBase parent,
const google::protobuf::Message *  msg,
const google::protobuf::Reflection *  reflection,
const google::protobuf::FieldDescriptor *  field 
)

◆ ~GeneralMessage()

GeneralMessage::~GeneralMessage ( )
inline

Member Function Documentation

◆ Render()

int GeneralMessage::Render ( const Screen s,
int  key 
)
overridevirtual

Implements RenderableMessage.


The documentation for this class was generated from the following file: