Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
IScienceDataContainer Interface Reference

implement this if your module is able to hold scientific data and you want it to be transferable and all More...

Inheritance diagram for IScienceDataContainer:
ModuleScienceContainer ModuleScienceExperiment ModuleScienceLab

Public Member Functions

void DumpData (ScienceData data)
 Caleld to discard stored data on the module. Will be called right after GetData if the data was moved. More...
 
ScienceData[] GetData ()
 Called when about to transmit data using comms equipment or when transferring data to another container. Return any gathered data or null if none, do not discard data. More...
 
int GetScienceCount ()
 Called to get the total count of ScienceDatas stored on this unit. More...
 
bool IsRerunnable ()
 
void ReturnData (ScienceData data)
 Called when a transmission (for whatever reason) fails. Attempts to return the data back to the container that it came from. More...
 
void ReviewData ()
 
void ReviewDataItem (ScienceData data)
 

Detailed Description

implement this if your module is able to hold scientific data and you want it to be transferable and all

Member Function Documentation

void IScienceDataContainer.DumpData ( ScienceData  data)

Caleld to discard stored data on the module. Will be called right after GetData if the data was moved.

Implemented in ModuleScienceExperiment, and ModuleScienceContainer.

ScienceData [] IScienceDataContainer.GetData ( )

Called when about to transmit data using comms equipment or when transferring data to another container. Return any gathered data or null if none, do not discard data.

Returns

Implemented in ModuleScienceExperiment, and ModuleScienceContainer.

int IScienceDataContainer.GetScienceCount ( )

Called to get the total count of ScienceDatas stored on this unit.

Returns

Implemented in ModuleScienceExperiment, and ModuleScienceContainer.

bool IScienceDataContainer.IsRerunnable ( )
void IScienceDataContainer.ReturnData ( ScienceData  data)

Called when a transmission (for whatever reason) fails. Attempts to return the data back to the container that it came from.

Implemented in ModuleScienceExperiment, and ModuleScienceContainer.

void IScienceDataContainer.ReviewData ( )
void IScienceDataContainer.ReviewDataItem ( ScienceData  data)

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