For a given usage record type, the class defines which type of CpMapper is used to determine the mapped orgin and mapped destination.
The class is owner of the two pointers to CpMapper. Where appropriate, the member function uses the CpMapperFactory or CpMapper::clone to create the appropriate objects.
Definition at line 672 of file tcdist.h.
OSB_LIB::UsageMapping::UsageMapping | ( | UsageType | ut = UsageType() , |
|
TypeId< CpMapper > | ot = TypeId< CpMapper >() , |
|||
TypeId< CpMapper > | dt = TypeId< CpMapper >() | |||
) | [explicit] |
Member constructor.
When used as default constructor, the pointer members are initalized with 0.
OSB_LIB::UsageMapping::~UsageMapping | ( | ) |
Destructor.
OSB_LIB::UsageMapping::UsageMapping | ( | const UsageMapping & | rhs | ) |
Copy constructor.
void OSB_LIB::UsageMapping::createMappers | ( | ) |
Create the CpMapper objects.
Deletes the existing connection point mappers and uses CpMapperFactory to (re)create them.
const CpMapper* OSB_LIB::UsageMapping::destMapper | ( | ) | const |
Connection point mapper to determine the destination.
Connection point mapper type for the destination.
UsageMapping& OSB_LIB::UsageMapping::operator= | ( | const UsageMapping & | rhs | ) |
Assignment operator.
const CpMapper* OSB_LIB::UsageMapping::originMapper | ( | ) | const |
Connection point mapper to determine the origin.
Connection point mapper type for the origin.
UsageType OSB_LIB::UsageMapping::usageType | ( | ) | const |
Type of mapped usage record.
CpMapper* OSB_LIB::UsageMapping::destMapper_ [private] |
TypeId<CpMapper> OSB_LIB::UsageMapping::destType_ [private] |
CpMapper* OSB_LIB::UsageMapping::originMapper_ [private] |
TypeId<CpMapper> OSB_LIB::UsageMapping::originType_ [private] |
UsageType OSB_LIB::UsageMapping::usageType_ [private] |