Spinnaker SDK C++
4.3.0.189
 
Functions | Variables
GigEConfig.cpp File Reference

Functions

void Usage ()
 
gcstring GetDottedAddress (int64_t value)
 
gcstring GetMACAddress (int64_t value)
 
std::string GetMACAddress (const char *macAddrString)
 
vector< string > split (const string &str)
 
string IPV4ToLongString (string ipAddress)
 
bool IsDigits (const std::string &str)
 
bool ValidateIPV4Address (string ipAddress, bool isSubnetMask=false)
 
void PrintDeviceInfo (CameraPtr pCamera)
 
void QueryInterface (InterfacePtr pInterface)
 
void ListAllDeviceInfo ()
 
void ListDeviceInfoBySerial (std::string serialNumber)
 
void ListDeviceInfoByMAC (std::string macAddress)
 
void AutoConfigure ()
 
void ConfigureCamera (std::string serial, std::string ipAddress, std::string netMask, std::string gateway)
 
int main (int argc, char **argv)
 

Variables

const std::string zeroSerial = "0"
 
const std::string zeroIPAddress = "0.0.0.0"
 
const std::string broadcastAddress = "255.255.255.255"
 

Function Documentation

◆ AutoConfigure()

void AutoConfigure ( )

◆ ConfigureCamera()

void ConfigureCamera ( std::string  serial,
std::string  ipAddress,
std::string  netMask,
std::string  gateway 
)

◆ GetDottedAddress()

gcstring GetDottedAddress ( int64_t  value)

◆ GetMACAddress() [1/2]

std::string GetMACAddress ( const char *  macAddrString)

◆ GetMACAddress() [2/2]

gcstring GetMACAddress ( int64_t  value)

◆ IPV4ToLongString()

string IPV4ToLongString ( string  ipAddress)

◆ IsDigits()

bool IsDigits ( const std::string &  str)

◆ ListAllDeviceInfo()

void ListAllDeviceInfo ( )

◆ ListDeviceInfoByMAC()

void ListDeviceInfoByMAC ( std::string  macAddress)

◆ ListDeviceInfoBySerial()

void ListDeviceInfoBySerial ( std::string  serialNumber)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ PrintDeviceInfo()

void PrintDeviceInfo ( CameraPtr  pCamera)

◆ QueryInterface()

void QueryInterface ( InterfacePtr  pInterface)

◆ split()

vector<string> split ( const string &  str)

◆ Usage()

void Usage ( )

◆ ValidateIPV4Address()

bool ValidateIPV4Address ( string  ipAddress,
bool  isSubnetMask = false 
)

Variable Documentation

◆ broadcastAddress

const std::string broadcastAddress = "255.255.255.255"

◆ zeroIPAddress

const std::string zeroIPAddress = "0.0.0.0"

◆ zeroSerial

const std::string zeroSerial = "0"