summaryrefslogtreecommitdiff
path: root/src/MTS_IO_CellularRadioFactory.cpp
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2019-06-11 16:55:28 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2019-06-11 16:55:28 +0300
commit5c8318bea803966f5b883c986919787e77e514a5 (patch)
tree647e87ba7f58e822bd171b86b518c5426fe2a6bd /src/MTS_IO_CellularRadioFactory.cpp
parent1dae6b4045d1683c4410d5a2b0c315574ece7d01 (diff)
downloadlibmts-io-5c8318bea803966f5b883c986919787e77e514a5.tar.gz
libmts-io-5c8318bea803966f5b883c986919787e77e514a5.tar.bz2
libmts-io-5c8318bea803966f5b883c986919787e77e514a5.zip
[MTS-MTQ] refactoring cellular factory: non interface class shouldn't have such virtual methods
Diffstat (limited to 'src/MTS_IO_CellularRadioFactory.cpp')
-rw-r--r--src/MTS_IO_CellularRadioFactory.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/MTS_IO_CellularRadioFactory.cpp b/src/MTS_IO_CellularRadioFactory.cpp
index 47367eb..8ebd8dc 100644
--- a/src/MTS_IO_CellularRadioFactory.cpp
+++ b/src/MTS_IO_CellularRadioFactory.cpp
@@ -125,79 +125,79 @@ std::string CellularRadioFactory::identifyRadio(const std::string& sPort) {
return sModel;
}
-ICellularRadio* CellularRadioFactory::createHE910D(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createHE910D(const std::string& sPort) const {
return new HE910DRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createHE910EUD(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createHE910EUD(const std::string& sPort) const {
return new HE910EUDRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910NAG(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910NAG(const std::string& sPort) const {
return new LE910NAGRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910C4NF(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910C4NF(const std::string& sPort) const {
return new LE910C4NFRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910NA1(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910NA1(const std::string& sPort) const {
return new LE910NA1Radio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910SVG(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910SVG(const std::string& sPort) const {
return new LE910SVGRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910EUG(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910EUG(const std::string& sPort) const {
return new LE910EUGRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910C4EU(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910C4EU(const std::string& sPort) const {
return new LE910C4EURadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910EU1(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910EU1(const std::string& sPort) const {
return new LE910EU1Radio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910C1NS(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910C1NS(const std::string& sPort) const {
return new LE910C1NSRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE910C1AP(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createLE910C1AP(const std::string& sPort) const {
return new LE910C1APRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createME910C1NA(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createME910C1NA(const std::string& sPort) const {
return new ME910C1NARadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createME910C1NV(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createME910C1NV(const std::string& sPort) const {
return new ME910C1NVRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createME910C1WW(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createME910C1WW(const std::string& sPort) const {
return new ME910C1WWRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createGE910(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createGE910(const std::string& sPort) const {
return new GE910Radio(sPort);
}
-ICellularRadio* CellularRadioFactory::createDE910(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createDE910(const std::string& sPort) const {
return new DE910Radio(sPort);
}
-ICellularRadio* CellularRadioFactory::createCE910(const std::string& sPort) {
+ICellularRadio* CellularRadioFactory::createCE910(const std::string& sPort) const {
return new CE910Radio(sPort);
}
-ICellularRadio* CellularRadioFactory::createLE866A1JS(const std::string &sPort) {
+ICellularRadio* CellularRadioFactory::createLE866A1JS(const std::string &sPort) const {
return new LE866A1JSRadio(sPort);
}
-ICellularRadio* CellularRadioFactory::createEG95Radio(const std::string& sPort)
+ICellularRadio* CellularRadioFactory::createEG95Radio(const std::string& sPort) const
{
// TODO: return new EG95Radio(sPort);
printError("TODO: EG95Radio");