Q2NS dev
ns-3 module
Loading...
Searching...
No Matches
q2ns::Location Struct Reference

Current tracked location of a qubit. More...

#include <q2ns-types.h>

Collaboration diagram for q2ns::Location:

Public Attributes

LocationType type = LocationType::Unset
 Kind of location.
 
uint32_t ownerId = 0
 Owning object identifier.
 

Detailed Description

Current tracked location of a qubit.

Definition at line 136 of file q2ns-types.h.

Member Data Documentation

◆ ownerId

uint32_t q2ns::Location::ownerId = 0

Owning object identifier.

This is a node id when type is Node, a channel id when type is Channel, and otherwise has no required meaning.

Definition at line 148 of file q2ns-types.h.

Referenced by q2ns::QStateRegistry::SetLocation().

◆ type

LocationType q2ns::Location::type = LocationType::Unset

Kind of location.

Definition at line 140 of file q2ns-types.h.

Referenced by q2ns::MakeUnsetLocation(), and q2ns::QStateRegistry::SetLocation().


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