40class MainComponent :
public Component,
public juce::TextEditor::Listener
58 std::unique_ptr<NanoOcp1::NanoOcp1Client> m_nanoOcp1Client;
60 std::unique_ptr<NanoOcp1::Ocp1CommandDefinition> m_pwrOnObjDef;
61 std::unique_ptr<NanoOcp1::Ocp1CommandDefinition> m_potiLevelObjDef;
62 std::unique_ptr<NanoOcp1::Ocp1CommandDefinition> m_soundobjectEnableObjDef;
63 std::unique_ptr<NanoOcp1::Ocp1CommandDefinition> m_speakerGroupObjDef;
64 std::unique_ptr<NanoOcp1::Ocp1CommandDefinition> m_guidObjDef;
65 std::map<std::uint32_t, NanoOcp1::Ocp1CommandDefinition*> m_ocaHandleMap;
68 std::unique_ptr<TextEditor> m_ipAndPortEditor;
69 std::unique_ptr<TextButton> m_connectedLED;
70 std::unique_ptr<TextButton> m_subscribeButton;
71 std::unique_ptr<TextButton> m_powerD40LED;
72 std::unique_ptr<TextButton> m_powerOnD40Button;
73 std::unique_ptr<TextButton> m_powerOffD40Button;
74 std::unique_ptr<Slider> m_gainSlider;
void textEditorReturnKeyPressed(TextEditor &editor) override
bool OnOcp1MessageReceived(const NanoOcp1::ByteVector &message)