Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
CecumTextRasterMapPrimitive Class Reference

#include <map_primitives.h>

Inheritance diagram for CecumTextRasterMapPrimitive:
Inheritance graph
[legend]

Public Types

enum  BoundPosition { BoundPosition::Left, BoundPosition::Right, BoundPosition::Top, BoundPosition::Bot }
 

Public Member Functions

 CecumTextRasterMapPrimitive (int w, int h, BoundPosition bnd_pos=BoundPosition::Top)
 
std::vector< Rectanglefree_space () const override
 
int height () const override
 
int width () const override
 
- Public Member Functions inherited from TextRasterMapPrimitive
std::istream & to_stream () const override
 

Protected Member Functions

std::string text_raster () const override
 

Private Member Functions

std::string generate_horizontally_bounded_cecum (BoundPosition bnd_pos)
 
std::string generate_vertically_bounded_cecum (BoundPosition bnd_pos)
 

Private Attributes

BoundPosition _bnd_pos
 
int _height
 
std::string _raw_cecum
 
int _width
 

Additional Inherited Members

- Static Public Attributes inherited from TextRasterMapPrimitive
static constexpr char Completely_Free_Marker = ' '
 
static constexpr char Completely_Occupied_Marker = '+'
 
static constexpr char Row_End_Marker = '\n'
 
- Static Public Attributes inherited from MapPrimitive
static constexpr int Unknown_Value = -1
 

Detailed Description

Definition at line 64 of file map_primitives.h.

Member Enumeration Documentation

Enumerator
Left 
Right 
Top 
Bot 

Definition at line 66 of file map_primitives.h.

Constructor & Destructor Documentation

CecumTextRasterMapPrimitive::CecumTextRasterMapPrimitive ( int  w,
int  h,
BoundPosition  bnd_pos = BoundPosition::Top 
)
inline

Definition at line 68 of file map_primitives.h.

Member Function Documentation

std::vector<Rectangle> CecumTextRasterMapPrimitive::free_space ( ) const
inlineoverridevirtual

Reimplemented from MapPrimitive.

Definition at line 84 of file map_primitives.h.

std::string CecumTextRasterMapPrimitive::generate_horizontally_bounded_cecum ( BoundPosition  bnd_pos)
inlineprivate

Definition at line 104 of file map_primitives.h.

std::string CecumTextRasterMapPrimitive::generate_vertically_bounded_cecum ( BoundPosition  bnd_pos)
inlineprivate

Definition at line 126 of file map_primitives.h.

int CecumTextRasterMapPrimitive::height ( ) const
inlineoverridevirtual

Reimplemented from MapPrimitive.

Definition at line 83 of file map_primitives.h.

std::string CecumTextRasterMapPrimitive::text_raster ( ) const
inlineoverrideprotectedvirtual

Implements TextRasterMapPrimitive.

Definition at line 102 of file map_primitives.h.

int CecumTextRasterMapPrimitive::width ( ) const
inlineoverridevirtual

Reimplemented from MapPrimitive.

Definition at line 82 of file map_primitives.h.

Member Data Documentation

BoundPosition CecumTextRasterMapPrimitive::_bnd_pos
private

Definition at line 153 of file map_primitives.h.

int CecumTextRasterMapPrimitive::_height
private

Definition at line 151 of file map_primitives.h.

std::string CecumTextRasterMapPrimitive::_raw_cecum
private

Definition at line 152 of file map_primitives.h.

int CecumTextRasterMapPrimitive::_width
private

Definition at line 151 of file map_primitives.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26