IndexedPortAccess< ACCESS > Class Template Reference

#include <micronodes_ports.h>

Public Types

using Owner = typename ACCESS::Owner
 

Public Member Functions

void Init (const ACCESS *access, Int index)
 
ACCESS_INDEX PrivateGetMemberIndex () const
 
const OwnerGetOwner (Int portIndex) const
 

Public Attributes

decltype(std::declval< const ACCESS * >() ->PrivateGet(Int()) PrivateGet )(Int portIndex) const
 

Private Attributes

const ACCESS * _access
 
Int _index
 

Member Typedef Documentation

◆ Owner

using Owner = typename ACCESS::Owner

Member Function Documentation

◆ Init()

void Init ( const ACCESS *  access,
Int  index 
)

◆ PrivateGetMemberIndex()

ACCESS_INDEX PrivateGetMemberIndex ( ) const

◆ GetOwner()

const Owner& GetOwner ( Int  portIndex) const

Member Data Documentation

◆ PrivateGet

decltype(std::declval<const ACCESS*>()->PrivateGet(Int()) PrivateGet) (Int portIndex) const

◆ _access

const ACCESS* _access
private

◆ _index

Int _index
private