Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
Message Class Reference

#include <Board.h>

Inheritance diagram for Message:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual unsigned char * getBuffer (int &buf_len)
char getBuffer (int *length)
void initMessage ()
 Message ()
 Message ()
 Message (char dlm, char cmd, ushort len)
virtual unsigned char * parseBuffer ()
void parseBuffer ()
virtual void parseBuffer (unsigned char *buf)
 ~Message ()
 ~Message ()

Protected Attributes

unsigned char * body

Private Member Functions

void create_threads ()

Private Attributes

int bytes_recieved
char command
char delim
struct hostent * host
ushort length
int max_curr
int max_vol
char n
unsigned char nbuffer [255]
unsigned char * p
unsigned char recv_data [255]
unsigned char send_data [255]
bool sendSignal
struct sockaddr_in server_addr
int sock

Detailed Description

Definition at line 33 of file Board.h.


Constructor & Destructor Documentation

Definition at line 22 of file Message.cpp.

Definition at line 29 of file Message.cpp.

Message::Message ( char  dlm,
char  cmd,
ushort  len 
)

Definition at line 24 of file Message.cpp.


Member Function Documentation

void Message::create_threads ( ) [private]
virtual unsigned char* Message::getBuffer ( int &  buf_len) [inline, virtual]

Reimplemented in MessageChannelOnOff, MessageRequest, and MessageBroadCasting.

Definition at line 38 of file Message.h.

char Message::getBuffer ( int *  length)
virtual unsigned char* Message::parseBuffer ( ) [inline, virtual]

Definition at line 39 of file Message.h.

virtual void Message::parseBuffer ( unsigned char *  buf) [inline, virtual]

Reimplemented in MessageAcknowledgment, MessageMeasurments, and MessageSpefications.

Definition at line 40 of file Message.h.


Member Data Documentation

unsigned char* Message::body [protected]

Definition at line 46 of file Message.h.

int Message::bytes_recieved [private]

Definition at line 53 of file Board.h.

char Message::command [private]

Definition at line 46 of file Board.h.

char Message::delim [private]

Definition at line 45 of file Board.h.

struct hostent* Message::host [private]

Definition at line 55 of file Board.h.

ushort Message::length [private]

Definition at line 47 of file Board.h.

int Message::max_curr [private]

Definition at line 49 of file Board.h.

int Message::max_vol [private]

Definition at line 50 of file Board.h.

char Message::n [private]

Definition at line 48 of file Board.h.

unsigned char Message::nbuffer[255] [private]

Definition at line 51 of file Board.h.

unsigned char* Message::p [private]

Definition at line 52 of file Board.h.

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

Definition at line 54 of file Board.h.

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

Definition at line 54 of file Board.h.

bool Message::sendSignal [private]

Definition at line 57 of file Board.h.

struct sockaddr_in Message::server_addr [private]

Definition at line 56 of file Board.h.

int Message::sock [private]

Definition at line 53 of file Board.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