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 | |
| IVariableStateInternal (const std::string &name) | |
| virtual std::string | GetName () const |
| Gets a variable state name. More... | |
| virtual void | Reset () |
Reset internal variable state for relevant infer request, to a value specified as default for according ReadValue node. | |
| virtual void | SetState (const Blob::Ptr &newState) |
| Sets the new state for the next inference. More... | |
| virtual Blob::CPtr | GetState () const |
| 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... | |
Protected Member Functions | |
| ~IVariableStateInternal ()=default | |
| A default dtor. | |
Protected Attributes | |
| std::string | name |
| Blob::Ptr | state |
Minimal interface for variable state implementation.
|
virtual |
Returns the value of the variable state.
|
virtual |
Gets a variable state name.
|
virtual |
Returns the value of the variable state.
|
virtual |
Sets the new state for the next inference.
| newState | A new state |