Rev | Line | |
---|
[1] | 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 |
|
---|
| 21 | class NiCanDriver : public CanDriverBase
|
---|
| 22 | {
|
---|
| 23 | public:
|
---|
| 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 |
|
---|
| 37 | protected:
|
---|
| 38 |
|
---|
| 39 | private:
|
---|
| 40 | };
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.