From 07d3536083ad8d0f08819e8be89aa5934fcaa712 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 15 Apr 2016 11:10:00 +0200 Subject: Rename dabSubchannel to DabSubchannel --- src/MuxElements.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/MuxElements.h') diff --git a/src/MuxElements.h b/src/MuxElements.h index ef5957f..7f48827 100644 --- a/src/MuxElements.h +++ b/src/MuxElements.h @@ -168,7 +168,7 @@ class DabLabel class DabService; class DabComponent; -class dabSubchannel; +class DabSubchannel; class dabEnsemble : public RemoteControllable { public: dabEnsemble() @@ -201,7 +201,7 @@ class dabEnsemble : public RemoteControllable { std::vector > services; std::vector components; - std::vector subchannels; + std::vector subchannels; std::vector > clusters; }; @@ -242,10 +242,10 @@ struct dabProtection { }; }; -class dabSubchannel +class DabSubchannel { public: - dabSubchannel(std::string& uid) : + DabSubchannel(std::string& uid) : uid(uid), input(), id(0), @@ -280,9 +280,9 @@ public: }; -class SubchannelId : public std::binary_function { +class SubchannelId : public std::binary_function { public: - bool operator()(const dabSubchannel* subchannel, const int id) const { + bool operator()(const DabSubchannel* subchannel, const int id) const { return subchannel->id == id; } }; @@ -343,7 +343,7 @@ class DabComponent : public RemoteControllable dabFidcComponent fidc; dabPacketComponent packet; - bool isPacketComponent(std::vector& subchannels) const; + bool isPacketComponent(std::vector& subchannels) const; /* Remote control */ virtual void set_parameter(const std::string& parameter, @@ -406,8 +406,8 @@ class DabService : public RemoteControllable DabService(const DabService& other); }; -std::vector::iterator getSubchannel( - std::vector& subchannels, int id); +std::vector::iterator getSubchannel( + std::vector& subchannels, int id); std::vector::iterator getComponent( std::vector& components, -- cgit v1.2.3