FindDeviceEthernet Class Reference

Class that tries to find apogee devices on the ethernet. More...

#include <FindDeviceEthernet.h>

List of all members.

Public Member Functions

std::string Find (const std::string &subnet)
int32_t GetElapsedSecs ()
int32_t GetTimeout ()

Detailed Description

Class that tries to find apogee devices on the ethernet.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright(c) 2009 Apogee Instruments, Inc.


Member Function Documentation

std::string FindDeviceEthernet::Find ( const std::string &  subnet  ) 

Start search for Apogee ethernet device on a particular subnet

Parameters:
[in] subnet Subnet address to search, 192.168.0.255 for example.
Returns:
Returns a <d></d> demlited string with the ethernet devices found . A null string of <d></d> is returned if no device is found. Example of one camera string
<d>address=192.168.0.20,interface=ethernet,port=80,mac=0009510000FF,deviceType=camera,id=0xfeff,firmwareRev=0x0</d> 
int32_t FindDeviceEthernet::GetElapsedSecs (  ) 

Returns The number of seconds the search has taken

int32_t FindDeviceEthernet::GetTimeout (  ) 

Returns Socket time out value


The documentation for this class was generated from the following file:
Generated on Sun Jul 8 13:39:54 2012 for libapogee by  doxygen 1.6.3