AIC_CAN Class Reference
[AIC Host Interface]

#include <aiccan.h>

Inheritance diagram for AIC_CAN:

Inheritance graph
[legend]
Collaboration diagram for AIC_CAN:

Collaboration graph
[legend]
List of all members.

Detailed Description

Implements a CAN communication channel.

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


Public Member Functions

 AIC_CAN (int aic, int bus=0)
 Creates a CAN channel to AIC.

virtual ~AIC_CAN (void)
 Closes the CAN 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_CAN::AIC_CAN int  aic,
int  bus = 0
 

Creates a CAN channel to AIC.

Parameters:
aic number of aic to be connected to
bus CAN bus to use


Member Function Documentation

int AIC_CAN::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_CAN::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:33 2008 for Actuator Interface Card by doxygen 1.3.6