Classes | Defines | Functions | Variables
CANOpenMaster.h File Reference
#include <pthread.h>
#include <queue>
#include <cob_utilities/Mutex.h>
#include <cob_generic_can/CanItf.h>
#include <cob_generic_can/CanPeakSysUSB.h>
#include <CANOpen_buffer.h>
#include <CANOpenCiA401_Schunk.h>
Include dependency graph for CANOpenMaster.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Thread_data

Defines

#define MAX_InBuffer_Lenght   32
#define MAX_PDOS   32

Functions

void AcitvatePDO (int, int, double)
void AssignValue2PDO (int, char *)
void * EvaluateBuffers (void *)
int GetRecievedMsgs (CanMsg *)
void InitMaster ()
void * MasterThreadFunc (void *)
void SendSYNC ()
void StartMasterThread (double)

Variables

CANPeakSysUSB * can_itf
CANOpenCiA401_Schunk CANObj
std::queue< CanMsg > InBuffer
CANOpen_bufferPDO_buffer
struct Thread_data TD_Master

Define Documentation

#define MAX_InBuffer_Lenght   32

Definition at line 74 of file CANOpenMaster.h.

#define MAX_PDOS   32

Definition at line 73 of file CANOpenMaster.h.


Function Documentation

void AcitvatePDO ( int  ,
int  ,
double   
)

Definition at line 83 of file CANOpenMaster.cpp.

void AssignValue2PDO ( int  ,
char *   
)

Definition at line 91 of file CANOpenMaster.cpp.

void* EvaluateBuffers ( void *  )

Definition at line 145 of file CANOpenMaster.cpp.

int GetRecievedMsgs ( CanMsg *  )

Definition at line 99 of file CANOpenMaster.cpp.

void InitMaster ( )

Definition at line 58 of file CANOpenMaster.cpp.

void* MasterThreadFunc ( void *  )

Definition at line 118 of file CANOpenMaster.cpp.

void SendSYNC ( )

Definition at line 183 of file CANOpenMaster.cpp.

void StartMasterThread ( double  )

Definition at line 70 of file CANOpenMaster.cpp.


Variable Documentation

CANPeakSysUSB* can_itf

Definition at line 78 of file CANOpenMaster.h.

CANOpenCiA401_Schunk CANObj

Definition at line 76 of file CANOpenMaster.h.

std::queue<CanMsg> InBuffer

Definition at line 79 of file CANOpenMaster.h.

Definition at line 77 of file CANOpenMaster.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


CANOpen_driver
Author(s): Tim Fröhlich
autogenerated on Mon Jan 14 2013 16:55:42