removed unneeded functions

This commit is contained in:
canpadawan
2016-06-15 18:41:39 +02:00
parent 65528fdf12
commit 87c302c795
2 changed files with 12 additions and 32 deletions
+2 -8
View File
@@ -2,30 +2,24 @@
#define CANBus_H
class CANConnectionContainer;
class CANBus
{
public:
CANBus();
CANBus(const CANBus&);
bool operator==(CANBus&);
virtual ~CANBus(){}; /*TODO: remove connection from CANBus and add CANBus as an element of CANConnection */
int busNum;
int speed;
bool listenOnly;
bool singleWire;
bool active; //is this bus turned on?
CANConnectionContainer* container;
void setSpeed(int); // new speed
void setListenOnly(bool); //bool for whether to only listen
void setSingleWire(bool); //bool for whether to use single wire mode
void setEnabled(bool); //whether this bus should be enabled or not.
void setContainer(CANConnectionContainer *);
CANConnectionContainer* getContainer();
void setBusNum(int);
int getSpeed();
int getBusNum();
bool isListenOnly();
bool isSingleWire();
bool isActive();