AMFP Enhanced
C++ reference: the code this unofficial fork added
Loading...
Searching...
No Matches
LuxDevBridgeParse.h File Reference

parsing for the dev bridge (LuxDevBridge.cpp). More...

#include <cstdlib>
#include <string>

Go to the source code of this file.

Classes

struct  cLuxDevCommand

Functions

bool LuxParseDevCommand (const std::string &asLine, cLuxDevCommand &aCmd)

Detailed Description

parsing for the dev bridge (LuxDevBridge.cpp).

A command line is "\<id\> \<name\> [args...]"; args are the rest of the line, spaces kept. Unit tested in tests/cpp/test_dev_bridge.cpp.

Definition in file LuxDevBridgeParse.h.

Function Documentation

◆ LuxParseDevCommand()

bool LuxParseDevCommand ( const std::string & asLine,
cLuxDevCommand & aCmd )
inline

Definition at line 19 of file LuxDevBridgeParse.h.