-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSlot.h
More file actions
33 lines (28 loc) · 638 Bytes
/
Copy pathSlot.h
File metadata and controls
33 lines (28 loc) · 638 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//////////////////////////////////////////
// Workfile : Slot.h
// Author : Sebastian Mueck
// Date : 09.01.2021
// Description : Header for Slot class
//////////////////////////////////////////
#ifndef SLOT_H
#define SLOT_H
#include "Object.h"
#include "Button.h"
#include "Command.h"
class Slot : public Object
{
public:
//Set functions
void SetOn(Command::SPtr const& cmd);
void SetOff(Command::SPtr const& cmd);
void SetName(std::string const& name);
//Get functions
Command::SPtr GetOn() const;
Command::SPtr GetOff() const;
std::string GetName() const;
private:
Button mOn;
Button mOff;
std::string mName;
};
#endif