cornelluniversity::vetserial::control_request Class Reference

base_command Implements a control (or header-only) command. More...

#include <vetprot.h>

Inheritance diagram for cornelluniversity::vetserial::control_request:

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

Public Member Functions

 control_request (void)
virtual ~control_request (void)
void ack_request (void)
 very thin wrapper of a common use-case; configures the header for an ACK request
void ack_response (void)
 very thin wrapper of a common use-case; configures the header to respond to an ACK request
void nak_request (void)
 very thin wrapper of a common use-case; configures the header for a NAK request
void nak_response (void)
 very thin wrapper of a common use-case; configures the header to respond to a NAK request
void set_responsive (void)
 very thin wrapper of a common use-case; configures the header to request the target to ACK or NAK
virtual void execute (void)
 Simply generates the header, utilizing the currently values of the private members, and leaves it in the internal buffers waiting for you to grab it.

Detailed Description

base_command Implements a control (or header-only) command.

Provides the interface required for minimal functionality required to manipulate and generate a header.

Definition at line 314 of file vetprot.h.


Member Function Documentation

virtual void cornelluniversity::vetserial::control_request::execute ( void   )  [inline, virtual]

Simply generates 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.

Definition at line 339 of file vetprot.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 27 11:11:48 2012 for VetSim by  doxygen 1.4.7