AIC_HOST_CAN Class Reference
[AIC Simulator Interface]

#include <aichostcan.h>

Inheritance diagram for AIC_HOST_CAN:

Inheritance graph
[legend]
Collaboration diagram for AIC_HOST_CAN:

Collaboration graph
[legend]
List of all members.

Detailed Description

Provides CAN communication between AIC simulator and host.

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


Public Member Functions

 AIC_HOST_CAN (int aicid, int bus=0)
 Creates a CAN channel to host.

 ~AIC_HOST_CAN (void)
 Closes the CAN channel.

int command (void)
 Gets the command code received from host.

void send_status (double disp, int index)
 Send AIC simulator motor displacement and sync-switch status to host.


Constructor & Destructor Documentation

AIC_HOST_CAN::AIC_HOST_CAN int  aicid,
int  bus = 0
 

Creates a CAN channel to host.

Parameters:
aicid number of aic connecting to host
bus CAN bus to use


Member Function Documentation

int AIC_HOST_CAN::command void   )  [virtual]
 

Gets the command code received from host.

Returns:
command code
See also:
AIC_COMMAND

Implements AIC_HOST.

void AIC_HOST_CAN::send_status double  disp,
int  index
[virtual]
 

Send AIC simulator motor displacement and sync-switch status to host.

Parameters:
disp motor displacement in radians
index sync-switch index

Implements AIC_HOST.


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