Changeset 187 for vtcross/trunk/src/include/vtcross/components.h
- Timestamp:
- 03/23/09 10:51:57 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/components.h
r186 r187 78 78 virtual void RegisterServices(int32_t socketFD) = 0; 79 79 virtual void DeregisterServices(int32_t socketFD) = 0; 80 81 82 /* The RemoteComponent struct represents either the VTCROSS shell or the83 * VTCROSS SML. If 'SML_present' is false, it is the former. Otherwise,84 * it is the latter.85 */86 bool SML_present;87 struct RemoteComponent *control;88 80 }; 89 81 … … 186 178 void ValidateParameters(struct Parameter pList[], \ 187 179 struct CE_Info *ce_info, int decision_array[]); 180 181 182 /* The SML_present bool reflects whether or not the remote component 183 * this object is connected to is an SML. If it isn't, then it must be 184 * a shell. The socketFD stores the socket file descriptor for this 185 * connection. 186 */ 187 bool SML_present; 188 int32_t socketFD; 188 189 }; 189 190 … … 239 240 Parameter *parameters, std::string service); 240 241 241 242 /* Contains information regarding the presence of a service management 243 * layer. If this pointer is NULL, then there is no SML present in the 244 * radio system. 245 */ 246 struct SML_Info *SML; 242 /* The SML_present bool reflects whether or not the remote component 243 * this object is connected to is an SML. If it isn't, then it must be 244 * a shell. The socketFD stores the socket file descriptor for this 245 * connection. 246 */ 247 bool SML_present; 248 int32_t socketFD; 247 249 }; 248 250