Exemple #1
0
AMActionInfo3::AMActionInfo3(const AMActionInfo3& other)
	: AMDbObject(),
	  longDescription_(other.longDescription_),
	  iconFileName_(other.iconFileName_)
{
	setName(other.name());
	setShortDescription(other.shortDescription());
	expectedDuration_ = other.expectedDuration_;
	canCopy_ = other.canCopy();
}
AMActionInfo3 *AMScanActionInfo::createCopy() const
{
    AMActionInfo3 *info = new AMScanActionInfo(*this);
    info->dissociateFromDb(true);
    return info;
}
AMActionInfo3* AMDetectorSetDarkCurrentValidStateActionInfo::createCopy() const
{
	AMActionInfo3 *info = new AMDetectorSetDarkCurrentValidStateActionInfo(*this);
	info->dissociateFromDb(true);
	return info;
}
AMActionInfo3* CLSSIS3820ScalerTriggerActionInfo::createCopy() const
{
	AMActionInfo3 *info = new CLSSIS3820ScalerTriggerActionInfo(*this);
	info->dissociateFromDb(true);
	return info;
}