Minimal interface for variable state implementation. More...
#include <ie_ivariable_state_internal.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IVariableStateInternal > |
A shared pointer to a IVariableStateInternal interface. | |
Public Member Functions | |
virtual | ~IVariableStateInternal ()=default |
A default virtual dtor. | |
virtual std::string | GetName () const =0 |
Gets a variable state name. More... | |
virtual void | Reset ()=0 |
Reset internal variable state for relevant infer request, to a value specified as default for according ReadValue node. | |
virtual void | SetState (Blob::Ptr newState)=0 |
Sets the new state for the next inference. More... | |
virtual Blob::CPtr | GetState () const =0 |
Returns the value of the variable state. More... | |
Use IVariableStateInternal::GetState method virtual instead Blob::CPtr | GetLastState () const |
Returns the value of the variable state. More... | |
Minimal interface for variable state implementation.
|
inlinevirtual |
Returns the value of the variable state.
|
pure virtual |
Gets a variable state name.
Implemented in InferenceEngine::VariableStateInternal.
|
pure virtual |
Returns the value of the variable state.
Implemented in InferenceEngine::VariableStateInternal.
|
pure virtual |
Sets the new state for the next inference.
newState | A new state |
Implemented in InferenceEngine::VariableStateInternal.