Public Member Functions | Protected Member Functions | Protected Attributes
DevApplanix Class Reference

#include <applanix.h>

Inheritance diagram for DevApplanix:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int connect_socket (void)
 DevApplanix (void)
virtual int get_packet (applanix_data_t *adata)
virtual ~DevApplanix ()

Protected Member Functions

virtual int read_packet (ros::Time *time)
virtual void unpack_grp1 (applanix_data_t *adata, GRP1_MSG *msg)
virtual void unpack_grp4 (applanix_data_t *adata, GRP4_MSG *msg)

Protected Attributes

size_t buffer_length
bool have_DGPS
char packet_buffer [APPLANIX_MAXMSGSIZE]
struct sockaddr_in serveraddr
const char * serverhost
struct hostent * serverhostp
int sockfd

Detailed Description

Definition at line 142 of file applanix.h.


Constructor & Destructor Documentation

DevApplanix::DevApplanix ( void  ) [inline]

Definition at line 146 of file applanix.h.

virtual DevApplanix::~DevApplanix ( ) [inline, virtual]

Definition at line 152 of file applanix.h.


Member Function Documentation

int DevApplanix::connect_socket ( void  ) [virtual]

Reimplemented in DevApplanixTest, and DevApplanixPCAP.

Definition at line 84 of file applanix.cc.

int DevApplanix::get_packet ( applanix_data_t adata) [virtual]

Reimplemented in DevApplanixTest.

Definition at line 181 of file applanix.cc.

int DevApplanix::read_packet ( ros::Time time) [protected, virtual]

Reimplemented in DevApplanixPCAP.

Definition at line 140 of file applanix.cc.

void DevApplanix::unpack_grp1 ( applanix_data_t adata,
GRP1_MSG msg 
) [protected, virtual]

Definition at line 26 of file applanix.cc.

void DevApplanix::unpack_grp4 ( applanix_data_t adata,
GRP4_MSG msg 
) [protected, virtual]

Definition at line 66 of file applanix.cc.


Member Data Documentation

size_t DevApplanix::buffer_length [protected]

Definition at line 167 of file applanix.h.

Definition at line 158 of file applanix.h.

Definition at line 166 of file applanix.h.

struct sockaddr_in DevApplanix::serveraddr [protected]

Definition at line 162 of file applanix.h.

const char* DevApplanix::serverhost [protected]

Definition at line 163 of file applanix.h.

struct hostent* DevApplanix::serverhostp [protected]

Definition at line 164 of file applanix.h.

int DevApplanix::sockfd [protected]

Definition at line 161 of file applanix.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


applanix
Author(s): Jack O'Quin, Patrick Beeson, Alberto Alonso
autogenerated on Tue Sep 24 2013 10:42:52