Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
ModelPortRegistry::ModelPortDescriptor Class Reference

#include "steam/fixture/model-port-registry.hpp"

Description

ModelPortDescriptor records are used as actual storage within the model port registration table; they are immutable value objects and never exposed to client code directly.

Definition at line 138 of file model-port-registry.hpp.

Public Member Functions

 ModelPortDescriptor ()
 
bool isValid () const
 
const PID id () const
 
const StID holder () const
 

Friends

class ModelPortRegistry
 

Protected Member Functions

 ModelPortDescriptor (PID pipe, StID element_exposing_this_port)
 

Private Attributes

PID id_
 
StID holder_
 

Constructor & Destructor Documentation

◆ ModelPortDescriptor() [1/2]

ModelPortDescriptor ( PID  pipe,
StID  element_exposing_this_port 
)
inlineprotected

Definition at line 144 of file model-port-registry.hpp.

◆ ModelPortDescriptor() [2/2]

ModelPortDescriptor ( )
inline

Definition at line 152 of file model-port-registry.hpp.

Member Function Documentation

◆ isValid()

bool isValid ( ) const
inline

◆ id()

const PID id ( ) const
inline

Definition at line 165 of file model-port-registry.hpp.

References ModelPortRegistry::ModelPortDescriptor::id_.

Referenced by ModelPort::pipe().

+ Here is the caller graph for this function:

◆ holder()

const StID holder ( ) const
inline

Definition at line 166 of file model-port-registry.hpp.

References ModelPortRegistry::ModelPortDescriptor::holder_.

Referenced by ModelPort::holder().

+ Here is the caller graph for this function:

Member Data Documentation

◆ id_

◆ holder_

StID holder_
private

Friends And Related Symbol Documentation

◆ ModelPortRegistry

friend class ModelPortRegistry
friend

Definition at line 149 of file model-port-registry.hpp.

+ Collaboration diagram for ModelPortRegistry::ModelPortDescriptor:

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