C++ exception based error reporting wrapper of API class IMemoryState. More...
#include <ie_memory_state.hpp>
Public Member Functions | |
MemoryState (IMemoryState::Ptr pState) | |
void | Reset () |
reset internal memory state for relevant iexecutable network, to a value specified in SetState More... | |
std::string | GetName () const |
Gets name of current memory state, if length of array is not enough name is truncated by len, null terminator is inserted as well. More... | |
Blob::CPtr | GetLastState () const |
returns the value of the last memory state. More... | |
void | SetState (Blob::Ptr state) |
Sets the new state that is used for all future Reset() operations as a base. More... | |
C++ exception based error reporting wrapper of API class IMemoryState.
|
inlineexplicit |
constructs MemoryState from the initialized shared_pointer
pState | Initialized shared pointer |
|
inline |
returns the value of the last memory state.
Wraps IMemoryState::GetLastState
|
inline |
Gets name of current memory state, if length of array is not enough name is truncated by len, null terminator is inserted as well.
Wraps IMemoryState::GetName
|
inline |
reset internal memory state for relevant iexecutable network, to a value specified in SetState
Wraps IMemoryState::Reset
|
inline |
Sets the new state that is used for all future Reset() operations as a base.
Wraps IMemoryState::SetState
state | The current state to set |