Class cell2D_op
Defined in File cell2D_op.hpp
Inheritance Relationships
Derived Types
public cosm::ds::operations::cell2D_empty
(Class cell2D_empty)public cosm::ds::operations::cell2D_unknown
(Class cell2D_unknown)
Class Documentation
-
class cell2D_op
Non-abstract interface specifying the minimum set of classes that all operations that operate on cds::cell2D objects within an cads::arena_grid need to visit.
Also provided are the (x, y) coordinates of the cell to which the event is directed. Not all derived operations may need them, but they are there.
This class should never be instantiated, only derived from. To visit cell2D objects, use cell2D_visitor.
Subclassed by cosm::ds::operations::cell2D_empty, cosm::ds::operations::cell2D_unknown
Public Types
-
using visit_typelist = rmpl::typelist<ds::cell2D, fsm::cell2D_fsm>
Public Functions
-
virtual ~cell2D_op(void) = default
-
inline const rmath::vector2z &coord(void) const
-
inline size_t x(void) const
-
inline size_t y(void) const
Protected Functions
-
inline explicit cell2D_op(const rmath::vector2z &coord)
-
using visit_typelist = rmpl::typelist<ds::cell2D, fsm::cell2D_fsm>