Numworks Epsilon
1.4.1
Graphing Calculator Operating System
ping.cpp
Go to the documentation of this file.
1
#include "
command.h
"
2
3
namespace
Ion
{
4
namespace
Device {
5
namespace
Bench {
6
namespace
Command
{
7
8
void
Ping
(
const
char
* input) {
9
if
(input !=
nullptr
) {
10
reply
(
sSyntaxError
);
11
return
;
12
}
13
reply
(
"PONG"
);
14
}
15
16
}
17
}
18
}
19
}
command.h
Ion::Device::Bench::Command::sSyntaxError
const char *const sSyntaxError
Definition:
command.cpp:11
Ion::Device::Bench::Command::Ping
void Ping(const char *input)
Definition:
ping.cpp:8
Ion::Display::Device::Command
Command
Definition:
display.h:63
Ion::Device::Bench::Command::reply
void reply(const char *s)
Definition:
command.cpp:15
Ion
Definition:
backlight.h:6
epsilon
ion
src
device
bench
command
ping.cpp
Generated by
1.8.14