Planeshift
Classes | Public Member Functions | Protected Member Functions | Protected Attributes

google_breakpad::MachMessage Class Reference

#include <MachIPC.h>

List of all members.

Classes

struct  MessageDataPacket

Public Member Functions

bool AddDescriptor (const MachMsgPortDescriptor &desc)
uint8_t * GetData ()
uint32_t GetDataLength ()
MachMsgPortDescriptorGetDescriptor (int n)
int GetDescriptorCount () const
int32_t GetMessageID ()
mach_port_t GetTranslatedPort (int n)
bool IsSimpleMessage () const
bool SetData (void *data, int32_t data_length)
void SetMessageID (int32_t message_id)

Protected Member Functions

mach_msg_size_t CalculateSize ()
MessageDataPacketGetDataPacket ()
 MachMessage ()
void SetDescriptor (int n, const MachMsgPortDescriptor &desc)
void SetDescriptorCount (int n)

Protected Attributes

mach_msg_body_t body
mach_msg_header_t head
uint8_t padding [1024]

Detailed Description

Definition at line 163 of file MachIPC.h.


Constructor & Destructor Documentation

google_breakpad::MachMessage::MachMessage ( ) [inline, protected]

Definition at line 202 of file MachIPC.h.


Member Function Documentation

bool google_breakpad::MachMessage::AddDescriptor ( const MachMsgPortDescriptor desc)
mach_msg_size_t google_breakpad::MachMessage::CalculateSize ( ) [protected]
uint8_t* google_breakpad::MachMessage::GetData ( ) [inline]

Definition at line 167 of file MachIPC.h.

uint32_t google_breakpad::MachMessage::GetDataLength ( ) [inline]

Definition at line 171 of file MachIPC.h.

MessageDataPacket* google_breakpad::MachMessage::GetDataPacket ( ) [protected]
MachMsgPortDescriptor* google_breakpad::MachMessage::GetDescriptor ( int  n)
int google_breakpad::MachMessage::GetDescriptorCount ( ) const [inline]

Definition at line 186 of file MachIPC.h.

int32_t google_breakpad::MachMessage::GetMessageID ( ) [inline]

Definition at line 180 of file MachIPC.h.

mach_port_t google_breakpad::MachMessage::GetTranslatedPort ( int  n)
bool google_breakpad::MachMessage::IsSimpleMessage ( ) const [inline]

Definition at line 193 of file MachIPC.h.

bool google_breakpad::MachMessage::SetData ( void *  data,
int32_t  data_length 
)
void google_breakpad::MachMessage::SetDescriptor ( int  n,
const MachMsgPortDescriptor desc 
) [protected]
void google_breakpad::MachMessage::SetDescriptorCount ( int  n) [protected]
void google_breakpad::MachMessage::SetMessageID ( int32_t  message_id) [inline]

Definition at line 176 of file MachIPC.h.


Member Data Documentation

mach_msg_body_t google_breakpad::MachMessage::body [protected]

Definition at line 225 of file MachIPC.h.

mach_msg_header_t google_breakpad::MachMessage::head [protected]

Definition at line 224 of file MachIPC.h.

uint8_t google_breakpad::MachMessage::padding[1024] [protected]

Definition at line 226 of file MachIPC.h.


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