template<typename T>
class maliput::drake::systems::UnrestrictedUpdateEvent< T >
This class represents an unrestricted update event.
It has an optional callback function (two forms are supported) to do custom handling of this event, and that can write updates to a mutable, non-null State object.
- See also
- LeafSystem for more convenient interfaces to unrestricted update events via the Declare*UnrestrictedUpdateEvent() methods.
|
| DRAKE_DEFAULT_COPY_AND_MOVE_AND_ASSIGN (UnrestrictedUpdateEvent) |
|
bool | is_discrete_update () const override |
| Returns true if this is a DiscreteUpdateEvent. More...
|
|
| UnrestrictedUpdateEvent () |
| Makes an UnrestrictedUpdateEvent with no trigger type, no event data, and no specified callback function. More...
|
|
| UnrestrictedUpdateEvent (const UnrestrictedUpdateCallback &callback) |
| Makes a UnrestrictedUpdateEvent with no trigger type, no event data, and the specified callback function. More...
|
|
| UnrestrictedUpdateEvent (const SystemCallback &system_callback) |
| Makes a UnrestrictedUpdateEvent with no trigger type, no event data, and the specified system callback function. More...
|
|
| UnrestrictedUpdateEvent (const TriggerType &trigger_type, const UnrestrictedUpdateCallback &callback) |
|
| UnrestrictedUpdateEvent (const TriggerType &trigger_type, const SystemCallback &system_callback) |
|
| UnrestrictedUpdateEvent (const TriggerType &trigger_type) |
|
void | handle (const System< T > &system, const Context< T > &context, State< T > *state) const |
| Calls the optional callback function, if one exists, with system , context , this and state . More...
|
|
| Event () |
|
virtual | ~Event () |
|
std::unique_ptr< Event > | Clone () const |
| Clones this instance. More...
|
|
TriggerType | get_trigger_type () const |
| Returns the trigger type. More...
|
|
bool | has_event_data () const |
| Returns true if this event has associated data. More...
|
|
const EventData * | get_event_data () const |
| Returns a const pointer to the event data. More...
|
|
EventData * | get_mutable_event_data () |
| Returns a mutable pointer to the event data. More...
|
|
void | set_trigger_type (const TriggerType trigger_type) |
|
void | set_event_data (std::unique_ptr< EventData > data) |
|
void | AddToComposite (TriggerType trigger_type, CompositeEventCollection< T > *events) const |
| Adds a clone of this event to the event collection events , with the given trigger type. More...
|
|
void | AddToComposite (CompositeEventCollection< T > *events) const |
| Provides an alternate signature for adding an Event that already has the correct trigger type set. More...
|
|