You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
41 lines
1.2 KiB
#include "rgoosePelcoCamera.h"
|
|
|
|
#define LOG( X ) m_pLog->Log( "PELCO_PCAM", this, X )
|
|
#define LOG_ERROR( X ) m_pLog->Log( "PELCO_PCAM", this, _LOG_ERROR, X )
|
|
|
|
ARGUS_PELCOCAM::ARGUS_PELCOCAM( uint32_t id ): ARGUS_Camera( id ){
|
|
m_pLog = basicLogCollection::getInstance();
|
|
};
|
|
|
|
ARGUS_PELCOCAM::~ARGUS_PELCOCAM(){
|
|
};
|
|
|
|
bool ARGUS_PELCOCAM::startService(){
|
|
return false;
|
|
};
|
|
|
|
bool ARGUS_PELCOCAM::relativeMove( float PanSPD, float TiltSPD, float ZoomSPD ){
|
|
if( m_sCamData.online ) {
|
|
//if( m_pOnVif->ptz_ContinuousMove( m_pProfile->profiletoken, PanSPD , TiltSPD ) ){
|
|
// return m_pOnVif->ptz_ContinuousMoveZoom( m_pProfile->profiletoken, ZoomSPD );
|
|
//};
|
|
};
|
|
return false;
|
|
};
|
|
|
|
bool ARGUS_PELCOCAM::relativeStop(){
|
|
if( m_sCamData.online ) {
|
|
//return m_pOnVif->ptz_Stop( m_pProfile->profiletoken, true, true );
|
|
};
|
|
return false;
|
|
};
|
|
|
|
bool ARGUS_PELCOCAM::absoluteMove( float PanPOS, float TiltPOS, float ZoomPOS ){
|
|
if( m_sCamData.online ) {
|
|
//return m_pOnVif->ptz_AbsoluteMove( m_pProfile->profiletoken, PanPOS, TiltPOS, ZoomPOS );
|
|
};
|
|
return false;
|
|
};
|
|
|
|
#undef LOG
|
|
#undef LOG_ERROR
|