CRobotControlWLANConfiguration Class Reference

#include <RobotControlPhysicalRobots.h>

List of all members.

Public Member Functions

 CRobotControlWLANConfiguration ()
void readFromProfile (int index)
void writeToProfile (int index)
void deleteProfile (int index)

Public Attributes

char name [65]
unsigned long ipRedRouter
unsigned long ipBlueRouter
int portRedRouter
int portBlueRouter
bool autostartRed
bool autostartBlue
unsigned long ipRed [4]
unsigned long ipBlue [4]
bool useRed [4]
bool useBlue [4]
char essidRed [65]
char essidBlue [65]
unsigned long netmaskRed
unsigned long netmaskBlue
int apmodeRed
int apmodeBlue
int channelRed
int channelBlue
char wepkeyRed [17]
char wepkeyBlue [17]
char teamIdentifierBlue [17]
char teamIdentifierRed [17]


Detailed Description

Stores all information of a (team) wlan configuration

Author:
Uwe Düffert

Max Risler

Definition at line 26 of file RobotControlPhysicalRobots.h.


Constructor & Destructor Documentation

CRobotControlWLANConfiguration::CRobotControlWLANConfiguration (  ) 

constructor

Definition at line 160 of file RobotControlPhysicalRobots.cpp.

References readFromProfile().


Member Function Documentation

void CRobotControlWLANConfiguration::deleteProfile ( int  index  ) 

deletes a WLAN configuration in the Registry

Parameters:
index number of the WLAN configuration in the Registry to delete

Definition at line 325 of file RobotControlPhysicalRobots.cpp.

Referenced by CWLANToolBar::WriteConfigs().

void CRobotControlWLANConfiguration::readFromProfile ( int  index  ) 

Fills this configuration with data read from the Registry

Parameters:
index number of the WLAN configuration in the Registry to read from

Definition at line 165 of file RobotControlPhysicalRobots.cpp.

References apmodeBlue, apmodeRed, autostartBlue, autostartRed, channelBlue, channelRed, essidBlue, essidRed, ipBlue, ipBlueRouter, ipRed, ipRedRouter, name, netmaskBlue, netmaskRed, portBlueRouter, portRedRouter, teamIdentifierBlue, teamIdentifierRed, useBlue, useRed, wepkeyBlue, wepkeyRed, and writeToProfile().

Referenced by CRobotControlWLANConfiguration().

void CRobotControlWLANConfiguration::writeToProfile ( int  index  ) 

Writes the data in this configuration to the Registry

Parameters:
index number of the WLAN configuration in the Registry to write to

Definition at line 284 of file RobotControlPhysicalRobots.cpp.

References apmodeBlue, apmodeRed, autostartBlue, autostartRed, channelBlue, channelRed, essidBlue, essidRed, ipBlue, ipBlueRouter, ipRed, ipRedRouter, name, netmaskBlue, netmaskRed, portBlueRouter, portRedRouter, teamIdentifierBlue, teamIdentifierRed, useBlue, useRed, wepkeyBlue, and wepkeyRed.

Referenced by readFromProfile(), and CWLANToolBar::WriteConfigs().


Member Data Documentation

int CRobotControlWLANConfiguration::apmodeBlue

The apmode of the blue team

Definition at line 66 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

int CRobotControlWLANConfiguration::apmodeRed

The apmode of the red team

Definition at line 65 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

bool CRobotControlWLANConfiguration::autostartBlue

???

Definition at line 56 of file RobotControlPhysicalRobots.h.

Referenced by readFromProfile(), and writeToProfile().

bool CRobotControlWLANConfiguration::autostartRed

???

Definition at line 55 of file RobotControlPhysicalRobots.h.

Referenced by readFromProfile(), and writeToProfile().

int CRobotControlWLANConfiguration::channelBlue

The WLAN channel of the blue team

Definition at line 68 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

int CRobotControlWLANConfiguration::channelRed

The WLAN channel of the red team

Definition at line 67 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

char CRobotControlWLANConfiguration::essidBlue[65]

The essid of the blue team

Definition at line 62 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

char CRobotControlWLANConfiguration::essidRed[65]

The essid of the red team

Definition at line 61 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

unsigned long CRobotControlWLANConfiguration::ipBlue[4]

The ips for the blue team

Definition at line 58 of file RobotControlPhysicalRobots.h.

Referenced by CRobotControlPhysicalRobots::connect(), CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), readFromProfile(), and writeToProfile().

unsigned long CRobotControlWLANConfiguration::ipBlueRouter

The ip of the router for the blue robots

Definition at line 52 of file RobotControlPhysicalRobots.h.

Referenced by readFromProfile(), and writeToProfile().

unsigned long CRobotControlWLANConfiguration::ipRed[4]

The ips for the red team

Definition at line 57 of file RobotControlPhysicalRobots.h.

Referenced by CRobotControlPhysicalRobots::connect(), CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), readFromProfile(), and writeToProfile().

unsigned long CRobotControlWLANConfiguration::ipRedRouter

The ip of the router for the red robots

Definition at line 51 of file RobotControlPhysicalRobots.h.

Referenced by readFromProfile(), and writeToProfile().

char CRobotControlWLANConfiguration::name[65]

The name of the configuration

Definition at line 50 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), readFromProfile(), and writeToProfile().

unsigned long CRobotControlWLANConfiguration::netmaskBlue

The netmask of the blue team

Definition at line 64 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), readFromProfile(), and writeToProfile().

unsigned long CRobotControlWLANConfiguration::netmaskRed

The netmask of the red team

Definition at line 63 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

int CRobotControlWLANConfiguration::portBlueRouter

The port of the router for the blue robots

Definition at line 54 of file RobotControlPhysicalRobots.h.

Referenced by readFromProfile(), and writeToProfile().

int CRobotControlWLANConfiguration::portRedRouter

The port of the router for the red robots

Definition at line 53 of file RobotControlPhysicalRobots.h.

Referenced by readFromProfile(), and writeToProfile().

char CRobotControlWLANConfiguration::teamIdentifierBlue[17]

Definition at line 71 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnCopy(), CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

char CRobotControlWLANConfiguration::teamIdentifierRed[17]

Definition at line 72 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnCopy(), CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

bool CRobotControlWLANConfiguration::useBlue[4]

Which of the red robots shall be connected

Definition at line 60 of file RobotControlPhysicalRobots.h.

Referenced by CRobotControlPhysicalRobots::connect(), CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), readFromProfile(), and writeToProfile().

bool CRobotControlWLANConfiguration::useRed[4]

Which of the red robots shall be connected

Definition at line 59 of file RobotControlPhysicalRobots.h.

Referenced by CRobotControlPhysicalRobots::connect(), CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), readFromProfile(), and writeToProfile().

char CRobotControlWLANConfiguration::wepkeyBlue[17]

The wepkey of the blue team

Definition at line 70 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().

char CRobotControlWLANConfiguration::wepkeyRed[17]

The wepkey of the red team

Definition at line 69 of file RobotControlPhysicalRobots.h.

Referenced by CWLANConfigurationDialog::OnInitDialog(), CWLANConfigurationDialog::OnOK(), CWLANDeployDialog::prepareImage(), readFromProfile(), and writeToProfile().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:24:29 2006 for DT2005.panorama by  doxygen 1.4.7