Public Member Functions | Private Member Functions | Private Attributes | Friends
Controller Class Reference

#include <Controller.h>

List of all members.

Public Member Functions

void CallMessageBroadCasting (unsigned char)
void CallMessageChannelOnOff (char, char)
void CallMessageRequest ()
void chnl2dev_mapping ()
 Controller ()
 Controller (unsigned char, string, int)
char get_chnl_from_map (string)
void initController ()
void processBuffer (unsigned char *, char)
void recv_Thread ()
 ~Controller ()

Private Member Functions

void create_threads ()

Private Attributes

tug_ist_diagnosis_msgs::DBoardMeasurments board_msr
unsigned char buffer [255]
int bytes_recieved
map< char, string > chnl2dev_map
struct hostent * host
unsigned char initFrq
Messagemsg
ros::NodeHandle n_
unsigned char * p
ros::Publisher pub_board_msr_
MSGQUEUE rcvQueue
unsigned char recv_data [255]
unsigned char send_data [255]
struct sockaddr_in server_addr
int sock

Friends

void * run_recv_Thread (void *)

Detailed Description

Definition at line 48 of file Controller.h.


Constructor & Destructor Documentation

Controller::Controller ( unsigned char  frq,
string  ip,
int  port 
)

Definition at line 23 of file Controller.cpp.

Definition at line 35 of file Controller.cpp.


Member Function Documentation

void Controller::CallMessageBroadCasting ( unsigned char  frq)

Definition at line 171 of file Controller.cpp.

void Controller::CallMessageChannelOnOff ( char  chnl,
char  status 
)

Definition at line 192 of file Controller.cpp.

Definition at line 181 of file Controller.cpp.

Definition at line 55 of file Controller.cpp.

void Controller::create_threads ( ) [private]

Definition at line 91 of file Controller.cpp.

char Controller::get_chnl_from_map ( string  dev)

Definition at line 72 of file Controller.cpp.

Definition at line 40 of file Controller.cpp.

void Controller::processBuffer ( unsigned char *  buf,
char  command 
)

Definition at line 96 of file Controller.cpp.

Definition at line 128 of file Controller.cpp.


Friends And Related Function Documentation

void* run_recv_Thread ( void *  contrl_ptr) [friend]

Definition at line 87 of file Controller.cpp.


Member Data Documentation

Definition at line 69 of file Controller.h.

unsigned char Controller::buffer[255] [private]

Definition at line 72 of file Controller.h.

Definition at line 70 of file Controller.h.

map<char,string> Controller::chnl2dev_map [private]

Definition at line 79 of file Controller.h.

struct hostent* Controller::host [private]

Definition at line 74 of file Controller.h.

unsigned char Controller::initFrq [private]

Definition at line 78 of file Controller.h.

Definition at line 76 of file Controller.h.

Definition at line 67 of file Controller.h.

unsigned char* Controller::p [private]

Definition at line 73 of file Controller.h.

Definition at line 68 of file Controller.h.

Definition at line 77 of file Controller.h.

unsigned char Controller::recv_data[255] [private]

Definition at line 71 of file Controller.h.

unsigned char Controller::send_data[255] [private]

Definition at line 71 of file Controller.h.

struct sockaddr_in Controller::server_addr [private]

Definition at line 75 of file Controller.h.

int Controller::sock [private]

Definition at line 70 of file Controller.h.


The documentation for this class was generated from the following files:


tug_ist_diagnosis_board
Author(s): Safdar Zaman, Gerald Steinbauer
autogenerated on Mon Jan 6 2014 11:51:23