blob: 5971b1ccabbd2fa537b8566fde5c2e96aafb31c9 [file] [log] [blame]
anjana_sreekumar@infosys.com991c2062020-01-08 11:42:57 +05301/*
2 * Copyright (c) 2019, Infosys Ltd.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef TEMPDATABLOCK_H_
18#define TEMPDATABLOCK_H_
19
20namespace SM
21{
22class State;
23class TempDataBlock
24{
25 public:
26 TempDataBlock();
27 virtual ~TempDataBlock();
28
29 virtual void display();
30
31 State* getCurrentState();
32 void setNextState(State* state);
33
34 TempDataBlock* getNextTempDataBlock();
35 void setNextTempDataBlock(TempDataBlock* tdb_p);
36
37 protected:
38 State* currentStatep;
39 TempDataBlock* next;
40};
41}
42
43#endif /* TEMPDATABLOCK_H_ */
44