Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
InferenceEngine::IVariableStateInternal Interface Reference

Minimal interface for variable state implementation. More...

#include <ie_ivariable_state_internal.hpp>

Inheritance diagram for InferenceEngine::IVariableStateInternal:

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
 

Detailed Description

Minimal interface for variable state implementation.

Member Function Documentation

◆ GetLastState()

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

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
virtual

Gets a variable state name.

Returns
A string representing variable state name

◆ GetState()

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

Returns the value of the variable state.

Returns
The value of the variable state

◆ SetState()

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

Sets the new state for the next inference.

Parameters
newStateA new state

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