20.02
|
#include <SendCounterPacketTests.hpp>
Public Member Functions | |
SendCounterPacketTest (IBufferManager &buffer) | |
bool | CreateDeviceRecordTest (const DevicePtr &device, DeviceRecord &deviceRecord, std::string &errorMessage) |
bool | CreateCounterSetRecordTest (const CounterSetPtr &counterSet, CounterSetRecord &counterSetRecord, std::string &errorMessage) |
bool | CreateEventRecordTest (const CounterPtr &counter, EventRecord &eventRecord, std::string &errorMessage) |
bool | CreateCategoryRecordTest (const CategoryPtr &category, const Counters &counters, CategoryRecord &categoryRecord, std::string &errorMessage) |
Public Member Functions inherited from SendCounterPacket | |
SendCounterPacket (IBufferManager &buffer) | |
void | SendStreamMetaDataPacket () override |
Create and write a StreamMetaDataPacket in the buffer. More... | |
void | SendCounterDirectoryPacket (const ICounterDirectory &counterDirectory) override |
Create and write a CounterDirectoryPacket from the parameters to the buffer. More... | |
void | SendPeriodicCounterCapturePacket (uint64_t timestamp, const IndexValuePairsVector &values) override |
Create and write a PeriodicCounterCapturePacket from the parameters to the buffer. More... | |
void | SendPeriodicCounterSelectionPacket (uint32_t capturePeriod, const std::vector< uint16_t > &selectedCounterIds) override |
Create and write a PeriodicCounterSelectionPacket from the parameters to the buffer. More... | |
Public Member Functions inherited from ISendCounterPacket | |
virtual | ~ISendCounterPacket () |
Additional Inherited Members | |
Public Types inherited from SendCounterPacket | |
using | CategoryRecord = std::vector< uint32_t > |
using | DeviceRecord = std::vector< uint32_t > |
using | CounterSetRecord = std::vector< uint32_t > |
using | EventRecord = std::vector< uint32_t > |
using | IndexValuePairsVector = std::vector< CounterValue > |
Public Types inherited from ISendCounterPacket | |
using | IndexValuePairsVector = std::vector< CounterValue > |
Static Public Attributes inherited from SendCounterPacket | |
static const unsigned int | PIPE_MAGIC = 0x45495434 |
Protected Member Functions inherited from SendCounterPacket | |
bool | CreateCategoryRecord (const CategoryPtr &category, const Counters &counters, CategoryRecord &categoryRecord, std::string &errorMessage) |
bool | CreateDeviceRecord (const DevicePtr &device, DeviceRecord &deviceRecord, std::string &errorMessage) |
bool | CreateCounterSetRecord (const CounterSetPtr &counterSet, CounterSetRecord &counterSetRecord, std::string &errorMessage) |
bool | CreateEventRecord (const CounterPtr &counter, EventRecord &eventRecord, std::string &errorMessage) |
Definition at line 32 of file SendCounterPacketTests.hpp.
|
inline |
Definition at line 35 of file SendCounterPacketTests.hpp.
|
inline |
Definition at line 60 of file SendCounterPacketTests.hpp.
References SendCounterPacket::CreateCategoryRecord().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 46 of file SendCounterPacketTests.hpp.
References SendCounterPacket::CreateCounterSetRecord().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 39 of file SendCounterPacketTests.hpp.
References SendCounterPacket::CreateDeviceRecord().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 53 of file SendCounterPacketTests.hpp.
References SendCounterPacket::CreateEventRecord().
Referenced by BOOST_AUTO_TEST_CASE().