Drake
SystemBase::ContextSizes Struct Reference

Detailed Description

Return type for get_context_sizes().

Initialized to zero and equipped with a += operator for Diagram use in aggregation.

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

Public Member Functions

ContextSizesoperator+= (const ContextSizes &other)
 

Public Attributes

int num_generalized_positions {0}
 
int num_generalized_velocities {0}
 
int num_misc_continuous_states {0}
 
int num_discrete_state_groups {0}
 
int num_abstract_states {0}
 
int num_numeric_parameter_groups {0}
 
int num_abstract_parameters {0}
 

Member Function Documentation

◆ operator+=()

ContextSizes& operator+= ( const ContextSizes other)

Member Data Documentation

◆ num_abstract_parameters

int num_abstract_parameters {0}

◆ num_abstract_states

int num_abstract_states {0}

◆ num_discrete_state_groups

int num_discrete_state_groups {0}

◆ num_generalized_positions

int num_generalized_positions {0}

◆ num_generalized_velocities

int num_generalized_velocities {0}

◆ num_misc_continuous_states

int num_misc_continuous_states {0}

◆ num_numeric_parameter_groups

int num_numeric_parameter_groups {0}

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