Open Lighting Architecture  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::rdm::CommandPrinter Class Reference

Public Member Functions

 CommandPrinter (std::ostream *output, class PidStoreHelper *pid_helper)
void Print (const class RDMCommand *command, bool summarize=false, bool unpack_param_data=true)
void Print (const class RDMRequest *request, bool summarize=false, bool unpack_param_data=true)
void Print (const class RDMResponse *response, bool summarize=false, bool unpack_param_data=true)
void Print (const class RDMDiscoveryRequest *request, bool summarize=false, bool unpack_param_data=true)
void Print (const class RDMDiscoveryResponse *response, bool summarize=false, bool unpack_param_data=true)
void DisplayRequest (const class RDMRequest *request, bool summarize=false, bool unpack_param_data=true)
void DisplayResponse (const class RDMResponse *response, bool summarize=false, bool unpack_param_data=true)
void DisplayDiscoveryRequest (const class RDMDiscoveryRequest *request, bool summarize=false, bool unpack_param_data=true)
void DisplayDiscoveryResponse (const class RDMDiscoveryResponse *response, bool summarize=false, bool unpack_param_data=true)

Constructor & Destructor Documentation

ola::rdm::CommandPrinter::CommandPrinter ( std::ostream *  output,
class PidStoreHelper pid_helper 
)

Constructor

Parameters
outputthe ostream to write to.
pid_helpera pointer to a PidStoreHelper object

Member Function Documentation

void ola::rdm::CommandPrinter::DisplayDiscoveryRequest ( const class RDMDiscoveryRequest request,
bool  summarize = false,
bool  unpack_param_data = true 
)

Write out a RDM discovery request

Parameters
requestthe request to format
summarizeenable the one line summary
unpack_param_dataif the summary isn't enabled, this controls if we unpack and display parameter data.
void ola::rdm::CommandPrinter::DisplayDiscoveryResponse ( const class RDMDiscoveryResponse response,
bool  summarize = false,
bool  unpack_param_data = true 
)

Write out a RDM discovery response.

Parameters
responsethe response to format.
summarizeenable the one line summary
unpack_param_dataif the summary isn't enabled, this controls if we unpack and display parameter data.
void ola::rdm::CommandPrinter::DisplayRequest ( const class RDMRequest request,
bool  summarize = false,
bool  unpack_param_data = true 
)

Write out a RDM Request

Parameters
requestthe request to format
summarizeenable the one line summary
unpack_param_dataif the summary isn't enabled, this controls if we unpack and display parameter data.
void ola::rdm::CommandPrinter::DisplayResponse ( const class RDMResponse response,
bool  summarize = false,
bool  unpack_param_data = true 
)

Write out a RDM Response

Parameters
responsethe response to format
summarizeenable the one line summary
unpack_param_dataif the summary isn't enabled, this controls if we unpack and display parameter data.

The documentation for this class was generated from the following files: