|
IMS2
Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
|
Event signifying that content has been added to a storable. More...
Public Member Functions | |
| ConsumableAddedEvent (double previousmass) | |
| double | GetPreviousMass () |
| virtual bool | operator== (Event_Base *e) |
| These events are considered an equal event if they are sent by the same caller. | |
Public Member Functions inherited from Event_Base | |
| Event_Base (EVENTTYPE _type, unsigned int _delay=0) | |
| EventHandler * | GetCaller () |
| Returns the EventHandler at which this event originated. | |
| virtual bool | operator!= (Event_Base *e) |
| virtual bool | operator== (EVENTTYPE type) |
| Allows to compare an event directly to an EVENTTYPE. More... | |
| EVENTPIPE | GetEventPipe () |
Private Attributes | |
| double | previousmass |
Additional Inherited Members | |
Protected Member Functions inherited from Event_Base | |
| virtual bool | sendMe () |
| Used to determine whether the event should be sent by the event generator. More... | |
Protected Attributes inherited from Event_Base | |
| unsigned int | delay |
| How many calls of ProcessEvents() on the event generator the event should be delayed. | |
| EventHandler * | caller |
| Stores the EventHandler at which the event originated. | |
| EVENTTYPE | eventtype |
| The type of this event. | |
| EVENTPIPE | pipe |
| The pipe the event travels in (unless it was relayed). This is set by the EventHandler itself. | |
Event signifying that content has been added to a storable.
|
inline |
| previousmass | The mass of consumables the storable had before the new content was added |
|
inline |