6 #include "../../../src/profiling/PacketVersionResolver.hpp" 7 #include "../../../src/profiling/PeriodicCounterSelectionCommandHandler.hpp" 18 int main(
int argc,
char* argv[])
52 std::cout <<
"Bound to UDS namespace: \\0" << cmdLine.
GetUdsNamespace() << std::endl;
55 if (-1 == mockService.BlockForOneClient())
59 std::cout <<
"Client connection established." << std::endl;
62 if (!mockService.WaitForStreamMetaData())
66 mockService.SendConnectionAck();
69 mockService.LaunchReceivingThread();
76 mockService.WaitForReceivingThread();
bool ProcessCommandLine(int argc, char *argv[])
uint32_t GetEncodedValue()
int main(int argc, char *argv[])
Version ResolvePacketVersion(uint32_t familyId, uint32_t packetId) const
void ParseFile(std::string CommandFile, GatordMockService &mockService)
std::string GetCommandFile()
void RegisterFunctor(CommandHandlerFunctor *functor, uint32_t familyId, uint32_t packetId, uint32_t version)
std::string GetUdsNamespace()
Use Boost program options to process the command line.
A class that implements a Mock Gatord server.
This class parses a command file for the GatordMockService.