ViSP  2.8.0
vpLaserScanner Class Reference

#include <vpLaserScanner.h>

Public Member Functions

 vpLaserScanner ()
 
 vpLaserScanner (const vpLaserScanner &scanner)
 
virtual ~vpLaserScanner ()
 
void setIpAddress (std::string ip)
 
void setPort (int port)
 

Protected Attributes

std::string ip
 
int port
 

Detailed Description

Class that defines a generic laser scanner.

Definition at line 60 of file vpLaserScanner.h.

Constructor & Destructor Documentation

vpLaserScanner::vpLaserScanner ( )
inline

Default constructor that initialize all the internal variable to zero.

Definition at line 64 of file vpLaserScanner.h.

vpLaserScanner::vpLaserScanner ( const vpLaserScanner scanner)
inline

Copy constructor.

Definition at line 69 of file vpLaserScanner.h.

References ip, and port.

virtual vpLaserScanner::~vpLaserScanner ( )
inlinevirtual

Default destructor that does nothing.

Definition at line 74 of file vpLaserScanner.h.

Member Function Documentation

void vpLaserScanner::setIpAddress ( std::string  ip)
inline

Set the Ethernet address of the laser.

Definition at line 77 of file vpLaserScanner.h.

void vpLaserScanner::setPort ( int  port)
inline

Set the communication port.

Definition at line 82 of file vpLaserScanner.h.

Member Data Documentation

std::string vpLaserScanner::ip
protected

Definition at line 84 of file vpLaserScanner.h.

Referenced by vpLaserScanner().

int vpLaserScanner::port
protected

Definition at line 88 of file vpLaserScanner.h.

Referenced by vpLaserScanner().