Пример #1
0
//////////////////////////// 
// CFG      CAM       FROM  ID
void Alta::CfgCamFromId( const uint16_t CameraId )
{
    //verify that this is an alta id
    if( !CamModel::IsAlta( m_FirmwareVersion ) )
    {
        std::stringstream ss;
        ss << "Invalid firmware version, " << m_FirmwareVersion << ", for Alta's." << std::endl;
        apgHelper::throwRuntimeException( m_fileName, ss.str(), 
            __LINE__, Apg::ErrorType_InvalidUsage );
    }

    //create and set the camera's cfg data
    DefaultCfgCamFromId( CameraId );
}
Пример #2
0
//////////////////////////// 
// CFG      CAM       FROM  ID
void Ascent::CfgCamFromId( const uint16_t CameraId )
{
     //create and set the camera's cfg data
    DefaultCfgCamFromId( CameraId );
}