Public Types | Public Member Functions
InferenceEngine::IVariableStateInternal Interface Referenceabstract

Minimal interface for variable state implementation. More...

#include <ie_ivariable_state_internal.hpp>

Inheritance diagram for InferenceEngine::IVariableStateInternal:
InferenceEngine::VariableStateInternal

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...
 

Detailed Description

Minimal interface for variable state implementation.

Member Function Documentation

◆ GetLastState()

Use IVariableStateInternal::GetState method virtual instead Blob::CPtr InferenceEngine::IVariableStateInternal::GetLastState ( ) const
inlinevirtual

Returns the value of the variable state.

Deprecated:
Use IVariableStateInternal::GetState method instead
Returns
The value of the variable state

◆ GetName()

virtual std::string InferenceEngine::IVariableStateInternal::GetName ( ) const
pure virtual

Gets a variable state name.

Returns
A string representing variable state name

Implemented in InferenceEngine::VariableStateInternal.

◆ GetState()

virtual Blob::CPtr InferenceEngine::IVariableStateInternal::GetState ( ) const
pure virtual

Returns the value of the variable state.

Returns
The value of the variable state

Implemented in InferenceEngine::VariableStateInternal.

◆ SetState()

virtual void InferenceEngine::IVariableStateInternal::SetState ( Blob::Ptr  newState)
pure virtual

Sets the new state for the next inference.

Parameters
newStateA new state

Implemented in InferenceEngine::VariableStateInternal.


The documentation for this interface was generated from the following file: