ArmNN
NotReleased
|
#include <CommandFileParser.hpp>
Public Member Functions | |
void | ParseFile (std::string CommandFile, GatordMockService &mockService) |
This class parses a command file for the GatordMockService. The file contains one command per line. Valid commands are: SET and WAIT.
SET: Will construct and send a PeriodicCounterSelection packet to enable a set of counters. WAIT: Will pause for a set period of time to allow for data to be received.
Definition at line 22 of file CommandFileParser.hpp.
void ParseFile | ( | std::string | CommandFile, |
GatordMockService & | mockService | ||
) |
Definition at line 19 of file CommandFileParser.cpp.
References GatordMockService::ReceiveThreadRunning(), GatordMockService::SendPeriodicCounterSelectionList(), GatordMockService::SendRequestCounterDir(), and GatordMockService::WaitCommand().
Referenced by main().