Aria: ArAMPTUPacket Class Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArAMPTUPacket Class Reference

`#include <ArAMPTU.h>`

Inheritance diagram for ArAMPTUPacket:

List of all members.

## Detailed Description

A class for for making commands to send to the AMPTU.

There are only a few functioning ways to put things into this packet, you MUST use thse, if you use anything else your commands won't work. You must use byteToBuf and byte2ToBuf.

See also:
  getUnitNumber

  setUnitNumber

## Public Member Functions
| ArAMPTUPacket (ArTypes::UByte2 bufferSize=30)
| Constructor.
virtual void | byte2ToBuf (ArTypes::Byte2 val)
virtual void | byteToBuf (ArTypes::Byte val)
virtual void | finalizePacket (void)
unsigned char | getUnitNumber (void)
| Gets the unit number this packet is for.
bool | setUnitNumber (unsigned char unitNumber)
| Sets the unit number htis packet is for.
virtual | ~ArAMPTUPacket ()
| Destructor.
## Protected Attributes
unsigned char | myUnitNumber

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

- ArAMPTU.h