Class cell3D

Inheritance Relationships

Base Type

  • public rpdecorator::decorator< fsm::cell3D_fsm >

Class Documentation

class cell3D : public rpdecorator::decorator<fsm::cell3D_fsm>

Representation of a cell on a 3D grid. A combination of FSM + handle to whatever repr::entity3D the cell contains, if any.

Public Functions

cell3D(const cell3D&) = default
cell3D(void)
crepr::sim_block3D *block(void)
crepr::sim_block3D *block(void) const
inline void entity(crepr::entity3D *entity)

Set the entity associated with this cell.

inline const crepr::entity3D *entity(void) const
inline fsm::cell3D_fsm &fsm(void)
inline const fsm::cell3D_fsm &fsm(void) const
template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
inline void loc(const rmath::vector3z &loc)
inline const rmath::vector3z &loc(void) const
cell3D &operator=(const cell3D&) = delete
inline bool operator==(const cell3D &other) const
inline void reset(void)

Reset the cell to its UNKNOWN state.