#include <vetprot.h>
Inheritance diagram for cornelluniversity::vetserial::mp3_stop_request:
Public Member Functions | |
mp3_stop_request (void) | |
Default constructor Zeroes out device, track. | |
mp3_stop_request (const uint8_ dev, const uint8_ trk) | |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Overloaded constructor Accepts values for initializing the device and track numbers. | |
virtual | ~mp3_stop_request (void) |
const uint8_ | track (void) const |
Track number private member accessor. | |
void | track (const uint8_ track_number) |
Track number private member mutator. | |
const uint8_ | device (void) const |
Device number private member accessor. | |
void | device (const uint8_ device_number) |
Device number private member mutator. | |
virtual void | execute (void) |
Overridden virtual function. |
Definition at line 510 of file vetprot.h.
cornelluniversity::vetserial::mp3_stop_request::mp3_stop_request | ( | void | ) | [inline] |
Default constructor Zeroes out device, track.
cornelluniversity::vetserial::mp3_stop_request::mp3_stop_request | ( | const uint8_ | dev, | |
const uint8_ | trk | |||
) | [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Overloaded constructor Accepts values for initializing the device and track numbers.
Determine the range of acceptble track numbers (255, but starting at zero or one)?
void cornelluniversity::vetserial::mp3_stop_request::device | ( | const uint8_ | device_number | ) | [inline] |
const uint8_ cornelluniversity::vetserial::mp3_stop_request::device | ( | void | ) | const [inline] |
virtual void cornelluniversity::vetserial::mp3_stop_request::execute | ( | void | ) | [virtual] |
Overridden virtual function.
Builds a stop request packet by instantiating a header, adding the payload, and capping it off with a trailer. The full packet is left in buffer for you to access via this->packet().
std::bad_alloc | standard memory allocation failure |
Implements cornelluniversity::vetserial::base_command.
void cornelluniversity::vetserial::mp3_stop_request::track | ( | const uint8_ | track_number | ) | [inline] |
const uint8_ cornelluniversity::vetserial::mp3_stop_request::track | ( | void | ) | const [inline] |