AIC_UDP Class Reference
[AIC Host Interface]

#include <aicudp.h>

Inheritance diagram for AIC_UDP:

Inheritance graph
[legend]
Collaboration diagram for AIC_UDP:

Collaboration graph
[legend]
List of all members.

Detailed Description

Implements an UDP communication channel.

Author:
Walter Fetter Lages (w.fetter@ieee.org)
Version:
AIC-1.3.0


Public Member Functions

 AIC_UDP (const char *aicname, int statport=STATUS_PORT, int cmdport=CMD_PORT)
 Creates an UDP channel to AIC.

virtual ~AIC_UDP (void)
 Closes the UDP channel.

void send_command (int command,...)
 Sends a command and its arguments to AIC.

int get_status (int status,...)
 Receives a status message from AIC.


Constructor & Destructor Documentation

AIC_UDP::AIC_UDP const char *  aicname,
int  statport = STATUS_PORT,
int  cmdport = CMD_PORT
 

Creates an UDP channel to AIC.

Parameters:
aicname pointer to a string with the name of AIC to be connected to
statport UDP port used to receive status from AIC
cmdport UDP port to send commands to
See also:
aicnet.h


Member Function Documentation

int AIC_UDP::get_status int  status,
  ...
[virtual]
 

Receives a status message from AIC.

Parameters:
status Code of the status sent by AIC
... Pointers to status arguments
See also:
AIC_COMMAND

Implements AIC_COMM.

void AIC_UDP::send_command int  command,
  ...
[virtual]
 

Sends a command and its arguments to AIC.

Parameters:
command Code of the command to send to AIC
... Command arguments
See also:
AIC_COMMAND

Implements AIC_COMM.


The documentation for this class was generated from the following file:
Generated on Thu Mar 27 15:33:37 2008 for Actuator Interface Card by doxygen 1.3.6