Drake
InputEntryFinder Struct Reference

There is one of these corresponding to every InputPort3 in the System3 that created the containing Context3. More...

#include <drake/systems/framework/context3.h>

Collaboration diagram for InputEntryFinder:

Public Member Functions

 InputEntryFinder ()=default
 
 InputEntryFinder (int subcontext_num, int port_num, CacheEntry *entry)
 
 InputEntryFinder (const InputEntryFinder &source)
 
InputEntryFinderoperator= (const InputEntryFinder &source)
 
 InputEntryFinder (InputEntryFinder &&source)
 Move constructor preserves all values and clears the source. More...
 
InputEntryFinderoperator= (InputEntryFinder &&source)
 Move assignment preserves all values and clears the source. More...
 

Public Attributes

int subcontext_num {-1}
 -1 means this context. More...
 
int port_num {-1}
 Port number as understood by the subcontext. More...
 
CacheEntryentry {}
 Convenience pointer to output if connected. More...
 

Detailed Description

There is one of these corresponding to every InputPort3 in the System3 that created the containing Context3.

If an input port is connected, this entry will refer to the output port that provides its value. That output port may be owned by a sibling context, supercontext, supersupercontext, etc. because the input port may have been inherited by containing Systems.

Constructor & Destructor Documentation

InputEntryFinder ( )
default

Here is the caller graph for this function:

InputEntryFinder ( int  subcontext_num,
int  port_num,
CacheEntry entry 
)
inline
InputEntryFinder ( const InputEntryFinder source)
inline
InputEntryFinder ( InputEntryFinder &&  source)
inline

Move constructor preserves all values and clears the source.

Member Function Documentation

InputEntryFinder& operator= ( const InputEntryFinder source)
inline

Here is the caller graph for this function:

InputEntryFinder& operator= ( InputEntryFinder &&  source)
inline

Move assignment preserves all values and clears the source.

Here is the call graph for this function:

Member Data Documentation

CacheEntry* entry {}

Convenience pointer to output if connected.

int port_num {-1}

Port number as understood by the subcontext.

int subcontext_num {-1}

-1 means this context.


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