Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

phMessage Class Reference

#include <phMessage.h>

Inheritance diagram for phMessage:

phObject List of all members.

Detailed Description

Definition at line 72 of file phMessage.h.

Public Member Functions

 phMessage ()
 phMessage (phMessage &message)
 ~phMessage ()
phMessageoperator= (phMessage &m)
int set (uint32_t src_id, uint32_t dst_id, uint32_t src_class, uint32_t dst_class, uint32_t message_id, uint32_t mutex_id, uint32_t timestamp)
int set (phMessage &message)
int setSrcId (uint32_t src_id)
int setDstId (uint32_t dst_id)
int setSrcClass (uint32_t src_class)
int setDstClass (uint32_t dst_class)
int setMessageId (uint32_t message_id)
int setMutexId (uint32_t mutex_id)
int setTimestamp (uint32_t timestamp)
uint32_t getSrcId ()
uint32_t getDstId ()
uint32_t getSrcClass ()
uint32_t getDstClass ()
uint32_t getMessageId ()
uint32_t getMutexId ()
uint32_t getTimestamp ()
int receive (phSocket *sock)
int send (phSocket *sock)
int print (FILE *fd=stdout, int short_print=0)

Private Member Functions

void reset ()
uint32_t getDataSize ()
int alloc_buffer (uint8_t **pbuf, uint32_t *psize)
int getData (uint8_t **pbuf, uint32_t *psize)
int setData (uint8_t *buf, uint32_t size)

Private Attributes

uint32_t m_src_id
uint32_t m_dst_id
uint32_t m_src_class
uint32_t m_dst_class
uint32_t m_message_id
uint32_t m_mutex_id
uint32_t m_timestamp
uint32_t m_buf_size

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

Copyright (C) 2002 - 2007 Philip D.S. Thoren ( )
University Of Massachusetts at Lowell
Robotics Lab Logo

Generated on Sat Jun 16 02:44:59 2007 for phission by  doxygen 1.4.4