|
HARDT - The Ham Radio DSP Toolkit
|
1 #ifndef __HSTREAMPROCESSOR_H
2 #define __HSTREAMPROCESSOR_H
23 void Run(
long unsigned int blocks = 0);
26 bool Command(H_COMMAND_CLASS commandClass, H_COMMAND_OPCODE commandOpcode, int16_t length,
HCommandData data)
28 HLog(
"Creating command with class %d and opcode %d with length %d", commandClass, commandOpcode, length);
29 HCommand cmd = {
static_cast<int16_t
>(commandClass),
static_cast<int16_t
>(commandOpcode), length, data};
33 HLog(
"Sending command to reader chain");
36 HError(
"Error when sending command to reader chain");
42 HLog(
"Sending command to writer chain");
45 HError(
"Error when sending command to writer chain");
50 HLog(
"Command sent successfully");
Definition: hprocessor.h:24
bool Command(H_COMMAND_CLASS commandClass, H_COMMAND_OPCODE commandOpcode, int16_t length, HCommandData data)
Definition: hstreamprocessor.h:26
void Run(long unsigned int blocks=0)
Definition: hstreamprocessor.cpp:21
Definition: hstreamprocessor.h:11
Definition: hcommand.h:81
Definition: hcommand.h:68
HStreamProcessor(HWriter< T > *writer, HReader< T > *reader, int blocksize, bool *terminationToken)
Definition: hstreamprocessor.cpp:7