IFMCameraAddress
Description
Aggregates connection parameters for use with IFM filters
Structure fields and default values (if defined) are described below:
- File CameraPluginPath - Path of the camera plugin. For instance: O3D3xxCamera.W32.pap
- String CameraIP - Camera IP address
- int PCICPort = 80 - PCIC Port
- int XMLRPCPort = 50010 - XMLRPC Port
- String ApplicationId - Camera application ID. If it is not given, then SDK creates a new application while connecting to camera
- File ProcessingPluginPath - Path of the processing plugin. For instance: O3D3xxProc.W32.ppp
- String ProcessingPluginParameters - Parameters of the processing plugin
struct IFMCameraAddress
{
File CameraPluginPath;
String CameraIP;
int PCICPort;
int XMLRPCPort;
String ApplicationId;
File ProcessingPluginPath;
String ProcessingPluginParameters;
explicit IFMCameraAddress
(
int PCICPort_ = 80,
int XMLRPCPort_ = 50010
) :
PCICPort(PCICPort_),
XMLRPCPort(XMLRPCPort_)
{}
File CameraPluginPath( void ) const { return CameraPluginPath; };
String CameraIP( void ) const { return CameraIP; };
int PCICPort( void ) const { return PCICPort; };
int XMLRPCPort( void ) const { return XMLRPCPort; };
String ApplicationId( void ) const { return ApplicationId; };
File ProcessingPluginPath( void ) const { return ProcessingPluginPath; };
String ProcessingPluginParameters( void ) const { return ProcessingPluginParameters; };
bool operator == ( const avs::IFMCameraAddress& rhs ) const
{
return CameraPluginPath == rhs.CameraPluginPath &&
CameraIP == rhs.CameraIP && PCICPort == rhs.PCICPort &&
XMLRPCPort == rhs.XMLRPCPort && ApplicationId == rhs.ApplicationId &&
ProcessingPluginPath == rhs.ProcessingPluginPath && ProcessingPluginParameters == rhs.ProcessingPluginParameters
;
}
bool operator != ( const avs::IFMCameraAddress& rhs ) const
{
return !(operator==(rhs));
}
};
