TwiceAsNice  2019-02-18
Functions | Variables
CamModel Namespace Reference

Functions

bool DLL_EXPORT IsAlta (uint16_t FirmwareRev)
 
bool DLL_EXPORT IsGen2Platform (uint16_t FirmwareRev)
 
bool DLL_EXPORT IsFirmwareRevGood (uint16_t FirmwareRev)
 
uint16_t DLL_EXPORT MaskRawId (uint16_t FirmwareRev, uint16_t CamId)
 
CamModel::PlatformType DLL_EXPORT GetPlatformType (uint16_t FixedId, bool IsEthernet=false)
 
CamModel::PlatformType DLL_EXPORT GetPlatformType (const std::string &cameraLine)
 
std::string DLL_EXPORT GetPlatformStr (uint16_t FixedId, bool IsEthernet=false)
 
std::string DLL_EXPORT GetModelStr (uint16_t CamId)
 
std::string DLL_EXPORT GetNoOpFirmwareRev ()
 

Variables

const uint16_t FIRMWARE_PLATFORM_MASK = 0xFF00
 
const uint16_t MAX_ALTA_FIRMWARE_REV = 0x0064
 
const uint16_t MIN_GEN2_FIRMWARE = 0x0064
 
const uint16_t MAX_GEN2_FIRMWARE = 0x0400
 
const uint16_t ALTA_CAMERA_ID_MASK = 0x007F
 
const uint16_t GEN2_CAMERA_ID_MASK = 0x01FF
 
const uint16_t NO_OP_FRMWR_REV = 0x0
 

Detailed Description

Namespace that supports different camera models

Function Documentation

◆ GetModelStr()

std::string CamModel::GetModelStr ( uint16_t  CamId)

◆ GetNoOpFirmwareRev()

std::string CamModel::GetNoOpFirmwareRev ( )

◆ GetPlatformStr()

std::string CamModel::GetPlatformStr ( uint16_t  FixedId,
bool  IsEthernet = false 
)

◆ GetPlatformType() [1/2]

CamModel::PlatformType CamModel::GetPlatformType ( uint16_t  FixedId,
bool  IsEthernet = false 
)

◆ GetPlatformType() [2/2]

CamModel::PlatformType CamModel::GetPlatformType ( const std::string &  cameraLine)

◆ IsAlta()

bool CamModel::IsAlta ( uint16_t  FirmwareRev)

◆ IsFirmwareRevGood()

bool CamModel::IsFirmwareRevGood ( uint16_t  FirmwareRev)

◆ IsGen2Platform()

bool CamModel::IsGen2Platform ( uint16_t  FirmwareRev)

◆ MaskRawId()

uint16_t CamModel::MaskRawId ( uint16_t  FirmwareRev,
uint16_t  CamId 
)

Variable Documentation

◆ ALTA_CAMERA_ID_MASK

const uint16_t CamModel::ALTA_CAMERA_ID_MASK = 0x007F

◆ FIRMWARE_PLATFORM_MASK

const uint16_t CamModel::FIRMWARE_PLATFORM_MASK = 0xFF00

◆ GEN2_CAMERA_ID_MASK

const uint16_t CamModel::GEN2_CAMERA_ID_MASK = 0x01FF

◆ MAX_ALTA_FIRMWARE_REV

const uint16_t CamModel::MAX_ALTA_FIRMWARE_REV = 0x0064

◆ MAX_GEN2_FIRMWARE

const uint16_t CamModel::MAX_GEN2_FIRMWARE = 0x0400

◆ MIN_GEN2_FIRMWARE

const uint16_t CamModel::MIN_GEN2_FIRMWARE = 0x0064

◆ NO_OP_FRMWR_REV

const uint16_t CamModel::NO_OP_FRMWR_REV = 0x0