FOSSology  4.4.0
Open Source License Compliance by Open Source Software
state.cc
1 /*
2  SPDX-FileCopyrightText: © 2014-2015 Siemens AG
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #include "state.hpp"
8 
9 State::State(int agentId) :
10  agentId(agentId)
11 {
12 }
13 
14 int State::getAgentId() const
15 {
16  return agentId;
17 };
18 
State(int agentId)
constructor for state class
Definition: state.cc:9
int getAgentId() const
getter function for agent Id
Definition: state.cc:14
int agentId
Definition: state.hpp:23