Mario Bambagini / ssWi

Dependents:   rover_car rover_pc supervisor watering_unit ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ssWiPort.cpp Source File

ssWiPort.cpp

Go to the documentation of this file.
00001 /** \file ssWiPort.cpp
00002  *  \brief Implementation of the dual head port
00003  *
00004  */
00005 
00006 #include "ssWiPort.hpp"
00007 
00008 
00009 PortValue ssWiPort::getTXValue()
00010 {
00011     PortValue tmp = valueTX;
00012     modified = false;
00013     return tmp;
00014 }
00015 
00016 void ssWiPort::setTXValue(PortValue tmp)
00017 {
00018     valueTX = tmp;
00019     modified = true;
00020 }
00021 
00022 bool ssWiPort::isModified()
00023 {
00024     return modified;
00025 }
00026 
00027 PortValue ssWiPort::getRXValue()
00028 {
00029     return valueRX;
00030 }
00031 
00032 void ssWiPort::setRXValue(PortValue tmp)
00033 {
00034     valueRX = tmp;
00035 }