21 #ifndef INCLUDE_OLA_RDM_COMMANDPRINTER_H_ 22 #define INCLUDE_OLA_RDM_COMMANDPRINTER_H_ 39 bool summarize =
false,
40 bool unpack_param_data =
true);
42 bool summarize =
false,
43 bool unpack_param_data =
true);
45 bool summarize =
false,
46 bool unpack_param_data =
true);
48 bool summarize =
false,
49 bool unpack_param_data =
true);
51 bool summarize =
false,
52 bool unpack_param_data =
true);
56 bool summarize =
false,
57 bool unpack_param_data =
true);
59 bool summarize =
false,
60 bool unpack_param_data =
true);
63 bool summarize =
false,
64 bool unpack_param_data =
true);
67 bool summarize =
false,
68 bool unpack_param_data =
true);
71 std::ostream *m_output;
74 void AppendUIDsAndType(
const class RDMCommand *command,
75 const char *message_type);
76 void AppendPortId(
const class RDMRequest *request);
77 void AppendMessageLength(
const class RDMRequest *request);
78 void AppendVerboseUIDs(
const class RDMCommand *command);
79 void AppendPidString(
const class RDMCommand *command,
81 void AppendResponseType(
const class RDMResponse *response);
82 void AppendVerboseResponseType(
const class RDMResponse *response);
83 void AppendHeaderFields(
const class RDMCommand *command,
84 const char *command_class);
86 void DisplayParamData(
88 bool unpack_param_data,
91 const uint8_t *param_data,
92 unsigned int param_length);
93 bool GetNackReason(
const class RDMCommand *command, uint16_t *reason);
97 #endif // INCLUDE_OLA_RDM_COMMANDPRINTER_H_ void DisplayDiscoveryResponse(const class RDMDiscoveryResponse *response, bool summarize=false, bool unpack_param_data=true)
Definition: CommandPrinter.cpp:253
An RDM Command that represents responses (GET, SET or DISCOVER).
Definition: RDMCommand.h:457
Definition: CommandPrinter.h:31
CommandPrinter(std::ostream *output, class PidStoreHelper *pid_helper)
Definition: CommandPrinter.cpp:47
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:234
An RDM response of type DISCOVER_COMMAND.
Definition: RDMCommand.h:743
An RDM request of type DISCOVER_COMMAND.
Definition: RDMCommand.h:674
The base class that all RDM requests & responses inherit from.
Definition: RDMCommand.h:59
void DisplayDiscoveryRequest(const class RDMDiscoveryRequest *request, bool summarize=false, bool unpack_param_data=true)
Definition: CommandPrinter.cpp:181
void DisplayResponse(const class RDMResponse *response, bool summarize=false, bool unpack_param_data=true)
Definition: CommandPrinter.cpp:137
Various constants used in RDM.
void DisplayRequest(const class RDMRequest *request, bool summarize=false, bool unpack_param_data=true)
Definition: CommandPrinter.cpp:96
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: PidStoreHelper.h:50
Definition: PidStore.h:246