The structure stores the release period of ConnectionPt. The main purpose is to provide a single, consistent definition when a given timestamp is considered within this period or not.
The structure is used in class that support the mapping of real objects to connection points.
Definition at line 312 of file cpmapper.h.
OSB_LIB::MappedCp::MappedCp | ( | ) |
Empty default constructor.
OSB_LIB::MappedCp::MappedCp | ( | const ConnectionPt & | cp | ) |
Construct from connection point.
bool OSB_LIB::MappedCp::withinPeriod | ( | const DateTime & | ts | ) | const |
Assignment from a connection point.Connection point released at a given time?
The function checks if a given timestamp ts is within the time period [start, end[ of a mapped connection point. The function returns true if either
ts | Timestamp to check. |