OLD | NEW |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 2206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2217 } | 2217 } |
2218 if (optionalFieldPresent[0]) | 2218 if (optionalFieldPresent[0]) |
2219 { | 2219 { |
2220 // Deserialize schedulingRequestConfig | 2220 // Deserialize schedulingRequestConfig |
2221 // ... | 2221 // ... |
2222 } | 2222 } |
2223 return bIterator; | 2223 return bIterator; |
2224 } | 2224 } |
2225 | 2225 |
2226 void | 2226 void |
| 2227 RrcAsn1Header::Print (std::ostream &os) const |
| 2228 { |
| 2229 NS_LOG_FUNCTION (this << &os); |
| 2230 NS_FATAL_ERROR ("RrcAsn1Header Print() function must also specify LteRrcSap::R
adioResourceConfigDedicated as a second argument"); |
| 2231 } |
| 2232 |
| 2233 void |
2227 RrcAsn1Header::Print (std::ostream &os, LteRrcSap::RadioResourceConfigDedicated
radioResourceConfigDedicated) const | 2234 RrcAsn1Header::Print (std::ostream &os, LteRrcSap::RadioResourceConfigDedicated
radioResourceConfigDedicated) const |
2228 { | 2235 { |
2229 os << " srbToAddModList: " << std::endl; | 2236 os << " srbToAddModList: " << std::endl; |
2230 std::list<LteRrcSap::SrbToAddMod>::iterator it = radioResourceConfigDedicated.
srbToAddModList.begin (); | 2237 std::list<LteRrcSap::SrbToAddMod>::iterator it = radioResourceConfigDedicated.
srbToAddModList.begin (); |
2231 for (; it != radioResourceConfigDedicated.srbToAddModList.end (); it++) | 2238 for (; it != radioResourceConfigDedicated.srbToAddModList.end (); it++) |
2232 { | 2239 { |
2233 os << " srbIdentity: " << (int)it->srbIdentity << std::endl; | 2240 os << " srbIdentity: " << (int)it->srbIdentity << std::endl; |
2234 os << " logicalChannelConfig: " << std::endl; | 2241 os << " logicalChannelConfig: " << std::endl; |
2235 os << " priority: " << (int)it->logicalChannelConfig.priority <<
std::endl; | 2242 os << " priority: " << (int)it->logicalChannelConfig.priority <<
std::endl; |
2236 os << " prioritizedBitRateKbps: " << (int)it->logicalChannelConfi
g.prioritizedBitRateKbps << std::endl; | 2243 os << " prioritizedBitRateKbps: " << (int)it->logicalChannelConfi
g.prioritizedBitRateKbps << std::endl; |
(...skipping 4157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6394 { | 6401 { |
6395 SerializeSequence (std::bitset<0> (),false); | 6402 SerializeSequence (std::bitset<0> (),false); |
6396 // Choose c1 | 6403 // Choose c1 |
6397 SerializeChoice (2,0,false); | 6404 SerializeChoice (2,0,false); |
6398 // Choose message type | 6405 // Choose message type |
6399 SerializeChoice (4,messageType,false); | 6406 SerializeChoice (4,messageType,false); |
6400 } | 6407 } |
6401 | 6408 |
6402 } // namespace ns3 | 6409 } // namespace ns3 |
6403 | 6410 |
OLD | NEW |