cornelluniversity::vetserial::status_request Class Reference

Implements a control command soliciting a status check from the remote machine. More...

#include <vetprot.h>

Inheritance diagram for cornelluniversity::vetserial::status_request:

cornelluniversity::vetserial::base_command List of all members.

Public Member Functions

 status_request (void)
 status_request (const uint8_ *in_pkt, uint32_ nbytes)
virtual ~status_request (void)
virtual void serialize (void)
 forces the setting of the NAK flag and then proceeds to generate the header, utilizing the currently values of the private members, and leaves it in the internal buffers waiting for you to grab it.
virtual void deserialize (void)
 parses apart a received packet into the appropriate private members for use via the typical accessor process.
Exceptions:
cornelluniversity::vetsim_badchksum if the crc validation fails
cornelluniversity::vetsim_exception if the header size is deemed irregular
cornelluniversity::vetsim_exception if packet_ buffer is empty (null pointer)


Detailed Description

Implements a control command soliciting a status check from the remote machine.

base_command


Constructor & Destructor Documentation

cornelluniversity::vetserial::status_request::status_request ( void   )  [inline]

cornelluniversity::vetserial::status_request::status_request ( const uint8_ in_pkt,
uint32_  nbytes 
) [inline]

virtual cornelluniversity::vetserial::status_request::~status_request ( void   )  [inline, virtual]


Member Function Documentation

virtual void cornelluniversity::vetserial::status_request::deserialize ( void   )  [virtual]

parses apart a received packet into the appropriate private members for use via the typical accessor process.

Exceptions:
cornelluniversity::vetsim_badchksum if the crc validation fails
cornelluniversity::vetsim_exception if the header size is deemed irregular
cornelluniversity::vetsim_exception if packet_ buffer is empty (null pointer)

Implements cornelluniversity::vetserial::base_command.

virtual void cornelluniversity::vetserial::status_request::serialize ( void   )  [virtual]

forces the setting of the NAK flag and then proceeds to generate the header, utilizing the currently values of the private members, and leaves it in the internal buffers waiting for you to grab it.

See also:
header(void)

Implements cornelluniversity::vetserial::base_command.


The documentation for this class was generated from the following file:
Generated on Wed Nov 14 12:01:02 2012 for VetSim Applications by  doxygen 1.4.7