Changeset 194 for vtcross/trunk/src/include/vtcross/components.h
- Timestamp:
- 03/23/09 21:29:50 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/components.h
r193 r194 49 49 } 50 50 51 52 /* Send an indentfying string for this object's component type in 53 * response to a GetRemoteComponentType query. 54 */ 55 virtual void SendComponentType() = 0; 56 57 58 /* Connect to the remote control component, which will always be either 59 * the VTCROSS shell or SML. Based on the status of the SML_present 60 * bool, this function will also register the component or services. 61 * 62 * TODO I feel like the name of this function could be changed to be a 63 * little more descriptive? 64 */ 65 virtual void ConnectToRemoteComponent(const char* serverName, \ 66 const char* serverPort) = 0; 51 67 52 68 /* Wait for a command signal containing task instructions. … … 99 115 ~ServiceManagementLayer(); 100 116 117 void SendComponentType(); 118 void ConnectToRemoteComponent(const char* serverName, \ 119 const char* serverPort); 101 120 void WaitForSignal(); 102 121 void Shutdown(); … … 164 183 const bool SML); 165 184 185 void SendComponentType(); 186 void ConnectToRemoteComponent(const char* serverName, \ 187 const char* serverPort); 166 188 void WaitForSignal(); 167 189 void Shutdown(); … … 189 211 /* Validate a set of transmission parameters received from the radio. 190 212 */ 191 void ValidateParameters(struct Parameter pList[], \ 192 struct CE_Info *ce_info, int decision_array[]); 213 void ValidateParameters(); 193 214 194 215 … … 212 233 ~CognitiveEngine(); 213 234 235 void SendComponentType(); 236 void ConnectToRemoteComponent(const char* serverName, \ 237 const char* serverPort); 214 238 void WaitForSignal(); 215 239 void Shutdown();