CellCapacity Struct Reference

CPP API: mio::abm::CellCapacity Struct Reference
mio::abm::CellCapacity Struct Reference

CellCapacity describes the size of a Cell. More...

#include <location.h>

Public Member Functions

 CellCapacity ()
 
auto default_serialize ()
 This method is used by the default serialization feature. More...
 

Public Attributes

uint32_t persons
 Maximal number of Persons at the Cell. More...
 
uint32_t volume
 Volume of the Cell. More...
 

Detailed Description

CellCapacity describes the size of a Cell.

It consists of a volume and a capacity in Persons which is an upper bound for the number of people that can be in the Cell at the same time.

Constructor & Destructor Documentation

◆ CellCapacity()

mio::abm::CellCapacity::CellCapacity ( )
inline

Member Function Documentation

◆ default_serialize()

auto mio::abm::CellCapacity::default_serialize ( )
inline

This method is used by the default serialization feature.

Member Data Documentation

◆ persons

uint32_t mio::abm::CellCapacity::persons

Maximal number of Persons at the Cell.

◆ volume

uint32_t mio::abm::CellCapacity::volume

Volume of the Cell.