OSB_LIB::MappedCp Struct Reference

Collaboration diagram for OSB_LIB::MappedCp:

Collaboration graph
[legend]
List of all members.

Detailed Description

Time period of a mapped connection point.

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.

Remarks:
All constructors, assignment and destructor by compiler.

Definition at line 312 of file cpmapper.h.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

OSB_LIB::MappedCp::MappedCp (  ) 

Empty default constructor.

OSB_LIB::MappedCp::MappedCp ( const ConnectionPt cp  ) 

Construct from connection point.


Member Function Documentation

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

Parameters:
ts Timestamp to check.
Returns:
True if `ts' is within the time period, else false.


Member Data Documentation

DateTime OSB_LIB::MappedCp::cpEnd_

End of released period.

Definition at line 315 of file cpmapper.h.

Id<ConnectionPt> OSB_LIB::MappedCp::cpId_

Connection point id.

Definition at line 313 of file cpmapper.h.

DateTime OSB_LIB::MappedCp::cpStart_

Start of released period.

Definition at line 314 of file cpmapper.h.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 2 14:15:28 2006 for OSB Library by  doxygen 1.4.7