comparison bits/RequestOrResponse.h @ 55:38780f15ac8d

Make RequestResponse types more consistent by adding plugin to ConfigurationResponse and introducing a FinishRequest
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 19 Sep 2016 13:35:56 +0100
parents 2d97883d20df
children 815e94fedc1c
comparison
equal deleted inserted replaced
54:524a6d5ee813 55:38780f15ac8d
53 }; 53 };
54 54
55 RequestOrResponse() : // nothing by default 55 RequestOrResponse() : // nothing by default
56 direction(Request), 56 direction(Request),
57 type(RRType::NotValid), 57 type(RRType::NotValid),
58 success(false), 58 success(false) { }
59 finishPlugin(0) { }
60 59
61 Direction direction; 60 Direction direction;
62 RRType type; 61 RRType type;
63 bool success; 62 bool success;
64 std::string errorText; 63 std::string errorText;
68 Vamp::HostExt::LoadResponse loadResponse; 67 Vamp::HostExt::LoadResponse loadResponse;
69 Vamp::HostExt::ConfigurationRequest configurationRequest; 68 Vamp::HostExt::ConfigurationRequest configurationRequest;
70 Vamp::HostExt::ConfigurationResponse configurationResponse; 69 Vamp::HostExt::ConfigurationResponse configurationResponse;
71 Vamp::HostExt::ProcessRequest processRequest; 70 Vamp::HostExt::ProcessRequest processRequest;
72 Vamp::HostExt::ProcessResponse processResponse; 71 Vamp::HostExt::ProcessResponse processResponse;
73 Vamp::Plugin *finishPlugin; 72 Vamp::HostExt::FinishRequest finishRequest;
74 Vamp::HostExt::ProcessResponse finishResponse; 73 Vamp::HostExt::ProcessResponse finishResponse;
75 }; 74 };
76 75
77 } 76 }
78 77