RRCClassDefinitions.cc 10.9 KB
Newer Older
C
calin.cerchez 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
//
// Copyright (C) 2012 Calin Cerchez
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
//

#include "RRCClassDefinitions.h"

namespace rrc {

const void *DLDCCHMessageType::choicesInfo[32] = {
	&ActiveSetUpdate::theInfo,
	&AssistanceDataDelivery::theInfo,
	&CellChangeOrderFromUTRAN::theInfo,
	&CellUpdateConfirm::theInfo,
	&CounterCheck::theInfo,
	&DownlinkDirectTransfer::theInfo,
	&HandoverFromUTRANCommandGSM::theInfo,
	&HandoverFromUTRANCommandCDMA2000::theInfo,
	&MeasurementControl::theInfo,
	&PagingType2::theInfo,
	&PhysicalChannelReconfiguration::theInfo,
	&PhysicalSharedChannelAllocation::theInfo,
	&RadioBearerReconfiguration::theInfo,
	&RadioBearerRelease::theInfo,
	&RadioBearerSetup::theInfo,
	&RRCConnectionRelease::theInfo,
	&SecurityModeCommand::theInfo,
	&SignallingConnectionRelease::theInfo,
	&TransportChannelReconfiguration::theInfo,
	&TransportFormatCombinationControl::theInfo,
	&UECapabilityEnquiry::theInfo,
	&UECapabilityInformationConfirm::theInfo,
	&UplinkPhysicalChannelControl::theInfo,
	&URAUpdateConfirm::theInfo,
	&UTRANMobilityInformation::theInfo,
	&HandoverFromUTRANCommandGERANIu::theInfo,
	&MBMSModifiedServicesInformation::theInfo,
	&ETWSPrimaryNotificationWithSecurity::theInfo,
	&HandoverFromUTRANCommandEUTRA::theInfo,
	&DLDCCHMessageTypeSpare3::theInfo,
	&DLDCCHMessageTypeSpare2::theInfo,
	&DLDCCHMessageTypeSpare1::theInfo,
};
const DLDCCHMessageType::Info DLDCCHMessageType::theInfo = {
	DLDCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	31
};

const void *DLDCCHMessage::itemsInfo[2] = {
	&IntegrityCheckInfo::theInfo,
	&DLDCCHMessageType::theInfo,
};
bool DLDCCHMessage::itemsPres[2] = {
	0,
	1,
};
const DLDCCHMessage::Info DLDCCHMessage::theInfo = {
	DLDCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	2, 1, 0
};
C
calin cerchez 已提交
82 83 84
DLDCCHMessage::DLDCCHMessage(const DLDCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145

const void *ULDCCHMessageType::choicesInfo[32] = {
	&ActiveSetUpdateComplete::theInfo,
	&ActiveSetUpdateFailure::theInfo,
	&CellChangeOrderFromUTRANFailure::theInfo,
	&CounterCheckResponse::theInfo,
	&HandoverToUTRANComplete::theInfo,
	&InitialDirectTransfer::theInfo,
	&HandoverFromUTRANFailure::theInfo,
	&MeasurementControlFailure::theInfo,
	&MeasurementReport::theInfo,
	&PhysicalChannelReconfigurationComplete::theInfo,
	&PhysicalChannelReconfigurationFailure::theInfo,
	&RadioBearerReconfigurationComplete::theInfo,
	&RadioBearerReconfigurationFailure::theInfo,
	&RadioBearerReleaseComplete::theInfo,
	&RadioBearerReleaseFailure::theInfo,
	&RadioBearerSetupComplete::theInfo,
	&RadioBearerSetupFailure::theInfo,
	&RRCConnectionReleaseComplete::theInfo,
	&RRCConnectionSetupComplete::theInfo,
	&RRCStatus::theInfo,
	&SecurityModeComplete::theInfo,
	&SecurityModeFailure::theInfo,
	&SignallingConnectionReleaseIndication::theInfo,
	&TransportChannelReconfigurationComplete::theInfo,
	&TransportChannelReconfigurationFailure::theInfo,
	&TransportFormatCombinationControlFailure::theInfo,
	&UECapabilityInformation::theInfo,
	&UplinkDirectTransfer::theInfo,
	&UTRANMobilityInformationConfirm::theInfo,
	&UTRANMobilityInformationFailure::theInfo,
	&MBMSModificationRequest::theInfo,
	&ULDCCHMessageTypeSpare1::theInfo,
};
const ULDCCHMessageType::Info ULDCCHMessageType::theInfo = {
	ULDCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	31
};

const void *ULDCCHMessage::itemsInfo[2] = {
	&IntegrityCheckInfo::theInfo,
	&ULDCCHMessageType::theInfo,
};
bool ULDCCHMessage::itemsPres[2] = {
	0,
	1,
};
const ULDCCHMessage::Info ULDCCHMessage::theInfo = {
	ULDCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	2, 1, 0
};
C
calin cerchez 已提交
146 147 148
ULDCCHMessage::ULDCCHMessage(const ULDCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185

const void *DLCCCHMessageType::choicesInfo[8] = {
	&CellUpdateConfirmCCCH::theInfo,
	&RRCConnectionReject::theInfo,
	&RRCConnectionReleaseCCCH::theInfo,
	&RRCConnectionSetup::theInfo,
	&URAUpdateConfirmCCCH::theInfo,
	&ETWSPrimaryNotificationWithSecurity::theInfo,
	&DLCCCHMessageTypeSpare2::theInfo,
	&DLCCCHMessageTypeSpare1::theInfo,
};
const DLCCCHMessageType::Info DLCCCHMessageType::theInfo = {
	DLCCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	7
};

const void *DLCCCHMessage::itemsInfo[2] = {
	&IntegrityCheckInfo::theInfo,
	&DLCCCHMessageType::theInfo,
};
bool DLCCCHMessage::itemsPres[2] = {
	0,
	1,
};
const DLCCCHMessage::Info DLCCCHMessage::theInfo = {
	DLCCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	2, 1, 0
};
C
calin cerchez 已提交
186 187 188
DLCCCHMessage::DLCCCHMessage(const DLCCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221

const void *ULCCCHMessageType::choicesInfo[4] = {
	&CellUpdate::theInfo,
	&RRCConnectionRequest::theInfo,
	&URAUpdate::theInfo,
	&ULCCCHMessageTypeSpare::theInfo,
};
const ULCCCHMessageType::Info ULCCCHMessageType::theInfo = {
	ULCCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	3
};

const void *ULCCCHMessage::itemsInfo[2] = {
	&IntegrityCheckInfo::theInfo,
	&ULCCCHMessageType::theInfo,
};
bool ULCCCHMessage::itemsPres[2] = {
	0,
	1,
};
const ULCCCHMessage::Info ULCCCHMessage::theInfo = {
	ULCCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	2, 1, 0
};
C
calin cerchez 已提交
222 223 224
ULCCCHMessage::ULCCCHMessage(const ULCCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253

const void *PCCHMessageType::choicesInfo[2] = {
	&PagingType1::theInfo,
	&PCCHMessageTypeSpare::theInfo,
};
const PCCHMessageType::Info PCCHMessageType::theInfo = {
	PCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	1
};

const void *PCCHMessage::itemsInfo[1] = {
	&PCCHMessageType::theInfo,
};
bool PCCHMessage::itemsPres[1] = {
	1,
};
const PCCHMessage::Info PCCHMessage::theInfo = {
	PCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	1, 0, 0
};
C
calin cerchez 已提交
254 255 256
PCCHMessage::PCCHMessage(const PCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285

const void *DLSHCCHMessageType::choicesInfo[2] = {
	&PhysicalSharedChannelAllocation::theInfo,
	&DLSHCCHMessageTypeSpare::theInfo,
};
const DLSHCCHMessageType::Info DLSHCCHMessageType::theInfo = {
	DLSHCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	1
};

const void *DLSHCCHMessage::itemsInfo[1] = {
	&DLSHCCHMessageType::theInfo,
};
bool DLSHCCHMessage::itemsPres[1] = {
	1,
};
const DLSHCCHMessage::Info DLSHCCHMessage::theInfo = {
	DLSHCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	1, 0, 0
};
C
calin cerchez 已提交
286 287 288
DLSHCCHMessage::DLSHCCHMessage(const DLSHCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317

const void *ULSHCCHMessageType::choicesInfo[2] = {
	&PUSCHCapacityRequest::theInfo,
	&ULSHCCHMessageTypeSpare::theInfo,
};
const ULSHCCHMessageType::Info ULSHCCHMessageType::theInfo = {
	ULSHCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	1
};

const void *ULSHCCHMessage::itemsInfo[1] = {
	&ULSHCCHMessageType::theInfo,
};
bool ULSHCCHMessage::itemsPres[1] = {
	1,
};
const ULSHCCHMessage::Info ULSHCCHMessage::theInfo = {
	ULSHCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	1, 0, 0
};
C
calin cerchez 已提交
318 319 320
ULSHCCHMessage::ULSHCCHMessage(const ULSHCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351

const void *BCCHFACHMessageType::choicesInfo[4] = {
	&SystemInformationFACH::theInfo,
	&SystemInformationChangeIndication::theInfo,
	&BCCHFACHMessageTypeSpare2::theInfo,
	&BCCHFACHMessageTypeSpare1::theInfo,
};
const BCCHFACHMessageType::Info BCCHFACHMessageType::theInfo = {
	BCCHFACHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	3
};

const void *BCCHFACHMessage::itemsInfo[1] = {
	&BCCHFACHMessageType::theInfo,
};
bool BCCHFACHMessage::itemsPres[1] = {
	1,
};
const BCCHFACHMessage::Info BCCHFACHMessage::theInfo = {
	BCCHFACHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	1, 0, 0
};
C
calin cerchez 已提交
352 353 354
BCCHFACHMessage::BCCHFACHMessage(const BCCHFACHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370

const void *BCCHBCHMessage::itemsInfo[1] = {
	&SystemInformationBCH::theInfo,
};
bool BCCHBCHMessage::itemsPres[1] = {
	1,
};
const BCCHBCHMessage::Info BCCHBCHMessage::theInfo = {
	BCCHBCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	1, 0, 0
};
C
calin cerchez 已提交
371 372 373
BCCHBCHMessage::BCCHBCHMessage(const SystemInformationBCH& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416

const void *MCCHMessageType::choicesInfo[16] = {
	&MBMSAccessInformation::theInfo,
	&MBMSCommonPTMRBInformation::theInfo,
	&MBMSCurrentCellPTMRBInformation::theInfo,
	&MBMSGeneralInformation::theInfo,
	&MBMSModifiedServicesInformation::theInfo,
	&MBMSNeighbouringCellPTMRBInformation::theInfo,
	&MBMSUnmodifiedServicesInformation::theInfo,
	&MCCHMessageTypeSpare9::theInfo,
	&MCCHMessageTypeSpare8::theInfo,
	&MCCHMessageTypeSpare7::theInfo,
	&MCCHMessageTypeSpare6::theInfo,
	&MCCHMessageTypeSpare5::theInfo,
	&MCCHMessageTypeSpare4::theInfo,
	&MCCHMessageTypeSpare3::theInfo,
	&MCCHMessageTypeSpare2::theInfo,
	&MCCHMessageTypeSpare1::theInfo,
};
const MCCHMessageType::Info MCCHMessageType::theInfo = {
	MCCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	15
};

const void *MCCHMessage::itemsInfo[1] = {
	&MCCHMessageType::theInfo,
};
bool MCCHMessage::itemsPres[1] = {
	1,
};
const MCCHMessage::Info MCCHMessage::theInfo = {
	MCCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	1, 0, 0
};
C
calin cerchez 已提交
417 418 419
MCCHMessage::MCCHMessage(const MCCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450

const void *MSCHMessageType::choicesInfo[4] = {
	&MBMSSchedulingInformation::theInfo,
	&MSCHMessageTypeSpare3::theInfo,
	&MSCHMessageTypeSpare2::theInfo,
	&MSCHMessageTypeSpare1::theInfo,
};
const MSCHMessageType::Info MSCHMessageType::theInfo = {
	MSCHMessageType::create,
	CHOICE,
	0,
	false,
	choicesInfo,
	3
};

const void *MSCHMessage::itemsInfo[1] = {
	&MSCHMessageType::theInfo,
};
bool MSCHMessage::itemsPres[1] = {
	1,
};
const MSCHMessage::Info MSCHMessage::theInfo = {
	MSCHMessage::create,
	SEQUENCE,
	0,
	false,
	itemsInfo,
	itemsPres,
	1, 0, 0
};
C
calin cerchez 已提交
451 452 453
MSCHMessage::MSCHMessage(const MSCHMessageType& message) : Sequence(&theInfo) {
	setMessage(message);
}
C
calin.cerchez 已提交
454 455

}