2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef VARIABLES_VIEW_STATE_HISTORY_H
6 #define VARIABLES_VIEW_STATE_HISTORY_H
9 #include <util/OpenHashTable.h>
13 class VariablesViewState
;
16 class VariablesViewStateHistory
{
18 VariablesViewStateHistory();
19 virtual ~VariablesViewStateHistory();
23 VariablesViewState
* GetState(thread_id threadID
,
24 FunctionID
* functionID
) const;
25 VariablesViewState
* GetState(FunctionID
* functionID
) const;
27 status_t
SetState(thread_id threadID
,
28 FunctionID
* functionID
,
29 VariablesViewState
* state
);
34 struct StateEntryHashDefinition
;
36 typedef BOpenHashTable
<StateEntryHashDefinition
> StateTable
;
43 #endif // VARIABLES_VIEW_STATE_HISTORY_H