Drake
OutputEntryFinder Struct Reference

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

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

Collaboration diagram for OutputEntryFinder:

Public Member Functions

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

Public Attributes

int subcontext_num {-1}
 -1 means this context. More...
 
int location {-1}
 Port number for subcontext, or entry if local. More...
 
CacheEntryentry {}
 Convenience pointer to the actual entry. More...
 

Detailed Description

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

This references a cache entry that has the appropriate type and knows how to evaluate the output port. That entry may be owned by this context or any contained subcontext, subsubcontext, etc. because the output port may have been inherited by containing Systems.

Constructor & Destructor Documentation

OutputEntryFinder ( )
default
OutputEntryFinder ( int  subcontext_num,
int  location,
CacheEntry entry 
)
inline
OutputEntryFinder ( const OutputEntryFinder source)
inline
OutputEntryFinder ( OutputEntryFinder &&  source)
inline

Move constructor preserves all values and clears the source.

Member Function Documentation

OutputEntryFinder& operator= ( const OutputEntryFinder source)
inline
OutputEntryFinder& operator= ( OutputEntryFinder &&  source)
inline

Move assignment preserves all values and clears the source.

Member Data Documentation

CacheEntry* entry {}

Convenience pointer to the actual entry.

int location {-1}

Port number for subcontext, or entry if local.

int subcontext_num {-1}

-1 means this context.


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