-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1947 from peternewman/e1.33-cherry-pick
E1.33 cherry pick third time lucky
- Loading branch information
Showing
39 changed files
with
2,503 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Library General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
* | ||
* BrokerClientAddInflator.h | ||
* Interface for the BrokerClientAddInflator class. | ||
* Copyright (C) 2023 Peter Newman | ||
*/ | ||
|
||
#ifndef LIBS_ACN_BROKERCLIENTADDINFLATOR_H_ | ||
#define LIBS_ACN_BROKERCLIENTADDINFLATOR_H_ | ||
|
||
#include "ola/acn/ACNVectors.h" | ||
#include "libs/acn/BaseInflator.h" | ||
|
||
namespace ola { | ||
namespace acn { | ||
|
||
class BrokerClientAddInflator: public BaseInflator { | ||
friend class BrokerClientAddInflatorTest; | ||
|
||
public: | ||
BrokerClientAddInflator() | ||
: BaseInflator() { | ||
} | ||
~BrokerClientAddInflator() {} | ||
|
||
uint32_t Id() const { return ola::acn::VECTOR_BROKER_CLIENT_ADD; } | ||
|
||
protected: | ||
// The 'header' is 0 bytes in length. | ||
bool DecodeHeader(HeaderSet*, | ||
const uint8_t*, | ||
unsigned int, | ||
unsigned int *bytes_used) { | ||
*bytes_used = 0; | ||
return true; | ||
} | ||
|
||
void ResetHeaderField() {} // namespace noop | ||
}; | ||
} // namespace acn | ||
} // namespace ola | ||
#endif // LIBS_ACN_BROKERCLIENTADDINFLATOR_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Library General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
* | ||
* BrokerClientEntryChangeInflator.h | ||
* Interface for the BrokerClientEntryChangeInflator class. | ||
* Copyright (C) 2023 Peter Newman | ||
*/ | ||
|
||
#ifndef LIBS_ACN_BROKERCLIENTENTRYCHANGEINFLATOR_H_ | ||
#define LIBS_ACN_BROKERCLIENTENTRYCHANGEINFLATOR_H_ | ||
|
||
#include "ola/acn/ACNVectors.h" | ||
#include "libs/acn/BaseInflator.h" | ||
|
||
namespace ola { | ||
namespace acn { | ||
|
||
class BrokerClientEntryChangeInflator: public BaseInflator { | ||
friend class BrokerClientEntryChangeInflatorTest; | ||
|
||
public: | ||
BrokerClientEntryChangeInflator() | ||
: BaseInflator() { | ||
} | ||
~BrokerClientEntryChangeInflator() {} | ||
|
||
uint32_t Id() const { return ola::acn::VECTOR_BROKER_CLIENT_ENTRY_CHANGE; } | ||
|
||
protected: | ||
// The 'header' is 0 bytes in length. | ||
bool DecodeHeader(HeaderSet*, | ||
const uint8_t*, | ||
unsigned int, | ||
unsigned int *bytes_used) { | ||
*bytes_used = 0; | ||
return true; | ||
} | ||
|
||
void ResetHeaderField() {} // namespace noop | ||
}; | ||
} // namespace acn | ||
} // namespace ola | ||
#endif // LIBS_ACN_BROKERCLIENTENTRYCHANGEINFLATOR_H_ |
Oops, something went wrong.