Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
Stg::Cell Class Reference

#include <region.hh>

Public Member Functions

void AddBlock (Block *b, unsigned int index)
 
 Cell ()
 
const std::vector< Block * > & GetBlocks (unsigned int index)
 
void RemoveBlock (Block *b, unsigned int index)
 

Public Attributes

Regionregion
 

Private Attributes

std::vector< Block * > blocks [2]
 

Friends

class SuperRegion
 
class World
 

Detailed Description

Definition at line 42 of file region.hh.

Constructor & Destructor Documentation

◆ Cell()

Stg::Cell::Cell ( )
inline

Definition at line 50 of file region.hh.

Member Function Documentation

◆ AddBlock()

void Stg::Cell::AddBlock ( Block b,
unsigned int  index 
)

Definition at line 274 of file region.cc.

◆ GetBlocks()

const std::vector<Block *>& Stg::Cell::GetBlocks ( unsigned int  index)
inline

Definition at line 61 of file region.hh.

◆ RemoveBlock()

void Stg::Cell::RemoveBlock ( Block b,
unsigned int  index 
)

Definition at line 313 of file region.cc.

Friends And Related Function Documentation

◆ SuperRegion

friend class SuperRegion
friend

Definition at line 43 of file region.hh.

◆ World

friend class World
friend

Definition at line 44 of file region.hh.

Member Data Documentation

◆ blocks

std::vector<Block *> Stg::Cell::blocks[2]
private

Definition at line 47 of file region.hh.

◆ region

Region* Stg::Cell::region

Definition at line 62 of file region.hh.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Feb 28 2022 23:48:56