|
| PacketExtendedHousekeeping2 (const Packet &packet, uint16_t structureId, uint8_t collectionInterval, uint8_t amountOfSamples, const std::vector< uint8_t > &samples, uint8_t amountOfArrays, const std::vector< std::vector< uint8_t > > &arrays) |
|
Packet & | getPacket () |
| Calls the packet extended basic implementation of this method.
|
|
PacketExtendedHousekeeping2 | swapApplicationIdFields () |
| Calls the packet extended basic implementation of this method.
|
|
uint16_t | getStructureIdentifier () |
| Calls the packet extended housekeeping implementation of this method.
|
|
uint8_t | getCollectionInterval () |
|
void | setCollectionInterval (const uint8_t newCollectionInterval) |
|
uint8_t | getAmountOfSamples () |
|
void | setAmountOfSamples (const uint8_t newAmountOfSamples) |
| Set new amount of samples. When changing this make sure that samples.size() == newAmountOfSamples or the packet wrapper will be in an incorrect state and errors will follow.
|
|
const std::vector< uint8_t > & | getSamples () |
|
void | setSamples (const std::vector< uint8_t > &newSamples) |
|
void | setSamples (std::vector< uint8_t > &&newSamples) |
|
uint8_t | getAmountOfArrays () |
|
void | setAmountOfArrays (const uint8_t newAmountOfArrays) |
| Set new amount of arrays. When changing this make sure that arrays.size() == newAmountOfArrays or the packet wrapper will be in an incorrect state and errors will follow.
|
|
const std::vector< uint8_t > & | getArrays () |
|
void | setArrays (const std::vector< uint8_t > &newArrays) |
|
void | setArrays (std::vector< uint8_t > &&newArrays) |
|
◆ getPacket()
Packet & PacketExtendedHousekeeping2::getPacket |
( |
| ) |
|
Calls the packet extended basic implementation of this method.
- Returns
- const Packet&
◆ setAmountOfArrays()
void PacketExtendedHousekeeping2::setAmountOfArrays |
( |
const uint8_t |
newAmountOfArrays | ) |
|
Set new amount of arrays. When changing this make sure that arrays.size() == newAmountOfArrays or the packet wrapper will be in an incorrect state and errors will follow.
- Parameters
-
◆ setAmountOfSamples()
void PacketExtendedHousekeeping2::setAmountOfSamples |
( |
const uint8_t |
newAmountOfSamples | ) |
|
Set new amount of samples. When changing this make sure that samples.size() == newAmountOfSamples or the packet wrapper will be in an incorrect state and errors will follow.
- Parameters
-
◆ setArrays()
void PacketExtendedHousekeeping2::setArrays |
( |
const std::vector< uint8_t > & |
newArrays | ) |
|
- Precondition
- arrays.size() == newAmountOfArrays or the packet wrapper will be in an incorrect state and errors will follow.
◆ setSamples()
void PacketExtendedHousekeeping2::setSamples |
( |
const std::vector< uint8_t > & |
newSamples | ) |
|
- Precondition
- newSamples.size() == amountOfSamples
- Parameters
-
◆ swapApplicationIdFields()
The documentation for this class was generated from the following files: