Refactor Packet API

Declare setData member as protected
Rename 'setTempData' to 'setDataToValidate'
This commit is contained in:
Jacob Perron 2018-04-01 20:04:27 -07:00 committed by jacobperron
parent 6a8702f4e1
commit a70dee6605
4 changed files with 11 additions and 6 deletions

View file

@ -10,7 +10,7 @@ namespace create {
Packet::~Packet() { }
void Packet::setTempData(const uint16_t& tmp) {
void Packet::setDataToValidate(const uint16_t& tmp) {
boost::mutex::scoped_lock lock(tmpDataMutex);
tmpData = tmp;
}