| 184 | |
| 185 | bool ActivateComponent(uint32_t id) { |
| 186 | return 1; |
| 187 | } |
| 188 | bool DeactivateComponent(uint32_t id) { |
| 189 | return 1; |
| 190 | } |
| 191 | bool DisconnectComponent(uint32_t id) { |
| 192 | return 1; |
| 193 | } |
| 194 | |
| 195 | Component* GetComponentInformation(uint32_t id) { |
| 196 | |
| 197 | } |
| 198 | |
| 199 | /* View components currently connected to the radio by id. |
| 200 | * |
| 201 | * TODO Should there be another way to list components? If you have 10 cognitive |
| 202 | * engines, how are you going to know which is which just by id? |
| 203 | */ |
| 204 | uint32_t* GetConnectedCognitiveEngines() { |
| 205 | } |
| 206 | uint32_t* GetConnectedPolicyEngines(){ |
| 207 | } |
| 208 | uint32_t* GetConnectedManagementServiceLayers(){ |
| 209 | } |
| 210 | uint32_t* GetConnectedComponents(){ |
| 211 | } |
| 212 | |
| 213 | |
| 214 | /* View data from the current status of the radio. |
| 215 | * |
| 216 | * This function allows client code to capture radio properties at any certain |
| 217 | * instant. Note, however, that these properties could be changing at very |
| 218 | * rapid rates. There is no guarantee that the return results from these |
| 219 | * functions will still be valid by the time the client code receives them. |
| 220 | */ |
| 221 | Observable* GetRadioObservables() { |
| 222 | } |
| 223 | Parameter* GetRadioParameters(){ |
| 224 | } |
| 225 | Utility* GetRadioUtilities(){ |
| 226 | } |
| 227 | |
| 228 | |
| 229 | /* Parses VTCROSS XML configuration file and uses it to configure the radio. |
| 230 | * |
| 231 | * This function *must* be called when the radio first starts up, and may be |
| 232 | * called at any point after that to reconfigure the radio. |
| 233 | */ |
| 234 | bool ParseRadioConfiguration(){ |
| 235 | } |
| 236 | |
| 237 | |
| 238 | /* Lists current radio configuration options loaded from the configuration XML |
| 239 | * file. |
| 240 | * |
| 241 | * TODO How are we listing these? Are we simply returning them to stdout? |
| 242 | * Logging them? Returning strings? Need to figure this out... |
| 243 | */ |
| 244 | void ListCurrentRadioConfiguration(){ |
| 245 | } |
| 246 | |
| 247 | /* Shut down the radio. |
| 248 | * |
| 249 | * This function will deactivate and disconnect all radio components before |
| 250 | * finally shutting down the shell and stopping radio operations. |
| 251 | */ |
| 252 | bool Shutdown(){ |
| 253 | } |
| 254 | |