![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Abstract coupling point between a 1D SWMM object and a 2D mesh cell. More...
#include <SpatialFrame.hpp>
Public Member Functions | |
| virtual | ~ICouplingPoint ()=default |
| Destroy the concrete coupling point through its interface. | |
| virtual int | object_index () const noexcept=0 |
| Identify the referenced 1D object within its type-specific table. | |
| virtual const char * | object_type () const noexcept=0 |
| Identify the referenced 1D object category. | |
| virtual void | exchange_to_2d (double value)=0 |
| Deliver a 1D-side sample to the concrete coupling implementation. | |
| virtual double | receive_from_2d () const =0 |
| Read the sample provided by the concrete 2D coupling implementation. | |
Abstract coupling point between a 1D SWMM object and a 2D mesh cell.
This will be implemented by the 2D SWMM component to register exchange points. The 1D engine does not depend on the 2D implementation — coupling is always optional.
|
virtualdefault |
Destroy the concrete coupling point through its interface.
SpatialFrame stores non-owning pointers and never invokes this destructor on registration or destruction.
|
pure virtual |
Deliver a 1D-side sample to the concrete coupling implementation.
This abstract interface imposes no clock, ownership, synchronization or conservation policy.
| [in] | value | Sample whose physical quantity, units and sign convention are defined by that implementation. |
|
pure virtualnoexcept |
Identify the referenced 1D object within its type-specific table.
|
pure virtualnoexcept |
Identify the referenced 1D object category.
|
pure virtual |
Read the sample provided by the concrete 2D coupling implementation.