The Robot Application Programming Interface Delegate Project
|
00001 #ifndef rapid_ext_SystemInfoConfig_idl 00002 #define rapid_ext_SystemInfoConfig_idl 00003 00004 #include "BaseTypes.idl" 00005 #include "Message.idl" 00006 00007 module rapid 00008 { 00009 module ext 00010 { 00012 struct BatteryInfoConfig 00013 { 00014 String32 name; 00015 }; 00017 typedef sequence<BatteryInfoConfig> BatteryInfoConfigSequence; 00018 00020 struct MemoryInfoConfig 00021 { 00022 long total; 00023 }; 00024 00027 struct CpuInfoConfig 00028 { 00029 long numCpus; 00030 }; 00031 00034 struct ThermalInfoConfig 00035 { 00037 String32 location; 00038 }; 00039 00041 typedef sequence<ThermalInfoConfig> ThermalInfoConfigSequence; 00042 00045 struct NetTrafficInfoConfig 00046 { 00047 String32 name; 00048 }; 00050 typedef sequence<NetTrafficInfoConfig> NetTrafficInfoConfigSequence; 00051 00057 struct WifiInfoConfig 00058 { 00059 String32 name; 00060 00061 }; 00063 typedef sequence<WifiInfoConfig> WifiInfoConfigSequence; 00064 00069 valuetype SystemInfoConfig : Message 00070 { 00071 00072 public BatteryInfoConfigSequence batteries; 00073 00074 public MemoryInfoConfig memory; 00075 00076 public CpuInfoConfig cpus; 00077 00078 public ThermalInfoConfigSequence temperatures; 00079 00080 public NetTrafficInfoConfigSequence netInterfaces; 00081 00082 public WifiInfoConfigSequence wifiInterfaces; 00083 }; 00084 }; 00085 }; 00086 00087 #endif // rapid_ext_SystemInfoConfig_idl 00088