source: pacpussensors/trunk/CanGateway/driver/NiCanDriver.h

Last change on this file was 1, checked in by DHERBOMEZ Gérald, 11 years ago

ajout des capteurs CanGateway et Alasca

File size: 917 bytes
Line 
1/*********************************************************************
2// created: 2006/08/08 - 11:43
3// filename: NiCanDriver.h
4//
5// author: Gerald Dherbomez
6//
7// version: $Id: NiCanDriver.h 869 2010-07-23 09:44:33Z gdherbom $
8//
9// purpose:
10*********************************************************************/
11
12
13#ifndef _NICANDRIVER_H_
14#define _NICANDRIVER_H_
15
16
17#include "CanDriverBase.h"
18#include <stdio.h>
19
20
21class NiCanDriver : public CanDriverBase
22{
23public:
24 NiCanDriver(){printf("NI Can Driver used");};
25 ~NiCanDriver(){};
26
27
28 short initPort (void){return 1;};
29 short cleanUpPort (void){return 1;};
30
31 short sendFrame (unsigned char, unsigned char, unsigned char *){return 1;};
32 short receiveFrame (unsigned char *, unsigned char *, unsigned char **){return 1;};
33
34 void waitReceivingFrame (void){};
35
36
37protected:
38
39private:
40};
41
42
43
44#endif
Note: See TracBrowser for help on using the repository browser.