| var NAVTREE = |
| [ |
| [ "activemq-cpp-3.6.0", "index.html", [ |
| [ "Namespaces", null, [ |
| [ "Namespace List", "namespaces.html", "namespaces" ], |
| [ "Namespace Members", "namespacemembers.html", [ |
| [ "All", "namespacemembers.html", null ], |
| [ "Functions", "namespacemembers_func.html", null ], |
| [ "Typedefs", "namespacemembers_type.html", null ], |
| [ "Enumerations", "namespacemembers_enum.html", null ], |
| [ "Enumerator", "namespacemembers_eval.html", null ] |
| ] ] |
| ] ], |
| [ "Data Structures", null, [ |
| [ "Data Structures", "annotated.html", "annotated" ], |
| [ "Class Hierarchy", "hierarchy.html", "hierarchy" ], |
| [ "Data Fields", "functions.html", [ |
| [ "All", "functions.html", "functions_dup" ], |
| [ "Functions", "functions_func.html", "functions_func" ], |
| [ "Variables", "functions_vars.html", "functions_vars" ], |
| [ "Typedefs", "functions_type.html", null ], |
| [ "Enumerations", "functions_enum.html", null ], |
| [ "Enumerator", "functions_eval.html", null ], |
| [ "Related Functions", "functions_rela.html", null ] |
| ] ] |
| ] ], |
| [ "Files", null, [ |
| [ "File List", "files.html", "files" ], |
| [ "Globals", "globals.html", [ |
| [ "All", "globals.html", "globals_dup" ], |
| [ "Functions", "globals_func.html", null ], |
| [ "Variables", "globals_vars.html", null ], |
| [ "Typedefs", "globals_type.html", null ], |
| [ "Enumerations", "globals_enum.html", null ], |
| [ "Enumerator", "globals_eval.html", null ], |
| [ "Macros", "globals_defs.html", null ] |
| ] ] |
| ] ] |
| ] ] |
| ]; |
| |
| var NAVTREEINDEX = |
| [ |
| "_abstract_collection_8h.html", |
| "_char_buffer_8h_source.html", |
| "_future_task_8h_source.html", |
| "_mock_transport_factory_8h.html", |
| "_socket_8h_source.html", |
| "activemq_2util_2_config_8h.html#ada221d5e40ac3a5d043a02e9db855517", |
| "classactivemq_1_1commands_1_1_active_m_q_bytes_message.html#a14c7d15a1e4b8b4b434e568b981ea620", |
| "classactivemq_1_1commands_1_1_active_m_q_stream_message.html#ac864090f851b96242e111ac6ba879506", |
| "classactivemq_1_1commands_1_1_command.html#a3576d85883d329e8e0e031c9c5ab257e", |
| "classactivemq_1_1commands_1_1_consumer_info.html#a540bcc84ca76284c24000b05fb34c598", |
| "classactivemq_1_1commands_1_1_journal_transaction.html#a8002a791ba93182f8d9cb7076d3a63c5", |
| "classactivemq_1_1commands_1_1_message_dispatch.html#ae2ff9b9bfa194c30c3c62a87b2199d80", |
| "classactivemq_1_1commands_1_1_replay_command.html#a997637f6bae471bd9c54f70b626b4337", |
| "classactivemq_1_1core_1_1_active_m_q_connection.html#a42d9ad051b922aec57a72b14f08d86b7", |
| "classactivemq_1_1core_1_1_active_m_q_session.html#a15dd255d380747983169531b276105fe", |
| "classactivemq_1_1core_1_1kernels_1_1_active_m_q_consumer_kernel.html#aded836dc9ecaffd01c2f1216af13d046", |
| "classactivemq_1_1state_1_1_command_visitor_adapter.html#a0091f9fb12c1426759e0a5fdcc4ab488", |
| "classactivemq_1_1transport_1_1_i_o_transport.html#af575e9579a3f83a5452cbd8b844b6939", |
| "classactivemq_1_1transport_1_1inactivity_1_1_read_checker.html", |
| "classactivemq_1_1util_1_1_advisory_support.html#af0ea8555b41c700f7ce693e0283f3caf", |
| "classactivemq_1_1wireformat_1_1_wire_format.html#aef9b71f57b4e32a6648276837e5ef04e", |
| "classactivemq_1_1wireformat_1_1openwire_1_1marshal_1_1generated_1_1_active_m_q_temp_topic_marshaller.html#adb98e65e04a858f02ae9c2cb24b53313", |
| "classactivemq_1_1wireformat_1_1openwire_1_1marshal_1_1generated_1_1_last_partial_command_marshaller.html#a0767e90d1bf0603afe153a0afa4bd904", |
| "classactivemq_1_1wireformat_1_1openwire_1_1utils_1_1_boolean_stream.html#a0552ff61615fe5a1168879a5449a406b", |
| "classcms_1_1_connection_meta_data.html#a0de85a6597bdc24ee0a6494a4dd6e9e1", |
| "classcms_1_1_session.html#a083663cee372ae4bd7554e7c8dbf518a", |
| "classdecaf_1_1internal_1_1net_1_1_u_r_i_encoder_decoder.html#aab11b2fa81672c88ad0c9fa09869322a", |
| "classdecaf_1_1internal_1_1nio_1_1_byte_array_buffer.html", |
| "classdecaf_1_1internal_1_1util_1_1_resource_lifecycle_manager.html#ab2907cf1208d13865bd7eb80090f99e5", |
| "classdecaf_1_1io_1_1_data_output.html#aa6b80f1dd209f60a25e8311200eb0a77", |
| "classdecaf_1_1lang_1_1_array_pointer.html#aa87702d4b4cbef0d3a34786154b07a1b", |
| "classdecaf_1_1lang_1_1_long.html", |
| "classdecaf_1_1lang_1_1_thread_1_1_uncaught_exception_handler.html#a0f0b5cb8d5a4ff73890721ce115eeca3", |
| "classdecaf_1_1net_1_1_inet_address.html#abaf688ab6ebfe8a4c904a0e1f88b0611", |
| "classdecaf_1_1net_1_1_u_r_i.html#aef5cdf232d00cda45e19afbbc551f84d", |
| "classdecaf_1_1nio_1_1_char_buffer.html#ac9d893569151fc3df6be047c56773a5a", |
| "classdecaf_1_1security_1_1_signature_exception.html#acd3d77b15a8f0227c2fe1cc216b0b395", |
| "classdecaf_1_1util_1_1_date.html#a949a5f73fdcb4b83043c2b72e0d97e11", |
| "classdecaf_1_1util_1_1_random.html#a205edf7f2dcb966fe8c3c164939f31e4", |
| "classdecaf_1_1util_1_1concurrent_1_1_concurrent_stl_map.html#aaca964c3a28ced48573f2ffda4097daa", |
| "classdecaf_1_1util_1_1concurrent_1_1_synchronizable.html#a2f7a5619b8800c295626983b9c7808a6", |
| "classdecaf_1_1util_1_1concurrent_1_1locks_1_1_reentrant_lock.html", |
| "classdecaf_1_1util_1_1zip_1_1_checked_input_stream.html#ac5b276fd4835679e8a45d5804e666332", |
| "dir_952bb0329532b41f599d64a1f4755399.html", |
| "namespacedecaf_1_1internal_1_1security.html", |
| "structinternal__state.html#ab74215ec1c106bf588a7642927d47b84" |
| ]; |
| |
| var navTreeSubIndices = new Array(); |
| |
| function getData(varName) |
| { |
| var i = varName.lastIndexOf('/'); |
| var n = i>=0 ? varName.substring(i+1) : varName; |
| return eval(n.replace(/\-/g,'_')); |
| } |
| |
| function stripPath(uri) |
| { |
| return uri.substring(uri.lastIndexOf('/')+1); |
| } |
| |
| function stripPath2(uri) |
| { |
| var i = uri.lastIndexOf('/'); |
| var s = uri.substring(i+1); |
| var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); |
| return m ? uri.substring(i-6) : s; |
| } |
| |
| function localStorageSupported() |
| { |
| return 'localStorage' in window && window['localStorage'] !== null; |
| } |
| |
| function storeLink(link) |
| { |
| if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { |
| window.localStorage.setItem('navpath',link); |
| } |
| } |
| |
| function deleteLink() |
| { |
| if (localStorageSupported()) { |
| window.localStorage.setItem('navpath',''); |
| } |
| } |
| |
| function cachedLink() |
| { |
| if (localStorageSupported()) { |
| return window.localStorage.getItem('navpath'); |
| } else { |
| return ''; |
| } |
| } |
| |
| function getScript(scriptName,func,show) |
| { |
| var head = document.getElementsByTagName("head")[0]; |
| var script = document.createElement('script'); |
| script.id = scriptName; |
| script.type = 'text/javascript'; |
| script.onload = func; |
| script.src = scriptName+'.js'; |
| if ($.browser.msie && $.browser.version<=8) { |
| // script.onload does work with older versions of IE |
| script.onreadystatechange = function() { |
| if (script.readyState=='complete' || script.readyState=='loaded') { |
| func(); if (show) showRoot(); |
| } |
| } |
| } |
| head.appendChild(script); |
| } |
| |
| function createIndent(o,domNode,node,level) |
| { |
| if (node.parentNode && node.parentNode.parentNode) { |
| createIndent(o,domNode,node.parentNode,level+1); |
| } |
| var imgNode = document.createElement("img"); |
| imgNode.width = 16; |
| imgNode.height = 22; |
| if (level==0 && node.childrenData) { |
| node.plus_img = imgNode; |
| node.expandToggle = document.createElement("a"); |
| node.expandToggle.href = "javascript:void(0)"; |
| node.expandToggle.onclick = function() { |
| if (node.expanded) { |
| $(node.getChildrenUL()).slideUp("fast"); |
| if (node.isLast) { |
| node.plus_img.src = node.relpath+"ftv2plastnode.png"; |
| } else { |
| node.plus_img.src = node.relpath+"ftv2pnode.png"; |
| } |
| node.expanded = false; |
| } else { |
| expandNode(o, node, false, false); |
| } |
| } |
| node.expandToggle.appendChild(imgNode); |
| domNode.appendChild(node.expandToggle); |
| } else { |
| domNode.appendChild(imgNode); |
| } |
| if (level==0) { |
| if (node.isLast) { |
| if (node.childrenData) { |
| imgNode.src = node.relpath+"ftv2plastnode.png"; |
| } else { |
| imgNode.src = node.relpath+"ftv2lastnode.png"; |
| domNode.appendChild(imgNode); |
| } |
| } else { |
| if (node.childrenData) { |
| imgNode.src = node.relpath+"ftv2pnode.png"; |
| } else { |
| imgNode.src = node.relpath+"ftv2node.png"; |
| domNode.appendChild(imgNode); |
| } |
| } |
| } else { |
| if (node.isLast) { |
| imgNode.src = node.relpath+"ftv2blank.png"; |
| } else { |
| imgNode.src = node.relpath+"ftv2vertline.png"; |
| } |
| } |
| imgNode.border = "0"; |
| } |
| |
| function newNode(o, po, text, link, childrenData, lastNode) |
| { |
| var node = new Object(); |
| node.children = Array(); |
| node.childrenData = childrenData; |
| node.depth = po.depth + 1; |
| node.relpath = po.relpath; |
| node.isLast = lastNode; |
| |
| node.li = document.createElement("li"); |
| po.getChildrenUL().appendChild(node.li); |
| node.parentNode = po; |
| |
| node.itemDiv = document.createElement("div"); |
| node.itemDiv.className = "item"; |
| |
| node.labelSpan = document.createElement("span"); |
| node.labelSpan.className = "label"; |
| |
| createIndent(o,node.itemDiv,node,0); |
| node.itemDiv.appendChild(node.labelSpan); |
| node.li.appendChild(node.itemDiv); |
| |
| var a = document.createElement("a"); |
| node.labelSpan.appendChild(a); |
| node.label = document.createTextNode(text); |
| node.expanded = false; |
| a.appendChild(node.label); |
| if (link) { |
| var url; |
| if (link.substring(0,1)=='^') { |
| url = link.substring(1); |
| link = url; |
| } else { |
| url = node.relpath+link; |
| } |
| a.className = stripPath(link.replace('#',':')); |
| if (link.indexOf('#')!=-1) { |
| var aname = '#'+link.split('#')[1]; |
| var srcPage = stripPath($(location).attr('pathname')); |
| var targetPage = stripPath(link.split('#')[0]); |
| a.href = srcPage!=targetPage ? url : '#'; |
| a.onclick = function(){ |
| storeLink(link); |
| if (!$(a).parent().parent().hasClass('selected')) |
| { |
| $('.item').removeClass('selected'); |
| $('.item').removeAttr('id'); |
| $(a).parent().parent().addClass('selected'); |
| $(a).parent().parent().attr('id','selected'); |
| } |
| var pos, anchor = $(aname), docContent = $('#doc-content'); |
| if (anchor.parent().attr('class')=='memItemLeft') { |
| pos = anchor.parent().position().top; |
| } else if (anchor.position()) { |
| pos = anchor.position().top; |
| } |
| if (pos) { |
| var dist = Math.abs(Math.min( |
| pos-docContent.offset().top, |
| docContent[0].scrollHeight- |
| docContent.height()-docContent.scrollTop())); |
| docContent.animate({ |
| scrollTop: pos + docContent.scrollTop() - docContent.offset().top |
| },Math.max(50,Math.min(500,dist)),function(){ |
| window.location.replace(aname); |
| }); |
| } |
| }; |
| } else { |
| a.href = url; |
| a.onclick = function() { storeLink(link); } |
| } |
| } else { |
| if (childrenData != null) |
| { |
| a.className = "nolink"; |
| a.href = "javascript:void(0)"; |
| a.onclick = node.expandToggle.onclick; |
| } |
| } |
| |
| node.childrenUL = null; |
| node.getChildrenUL = function() { |
| if (!node.childrenUL) { |
| node.childrenUL = document.createElement("ul"); |
| node.childrenUL.className = "children_ul"; |
| node.childrenUL.style.display = "none"; |
| node.li.appendChild(node.childrenUL); |
| } |
| return node.childrenUL; |
| }; |
| |
| return node; |
| } |
| |
| function showRoot() |
| { |
| var headerHeight = $("#top").height(); |
| var footerHeight = $("#nav-path").height(); |
| var windowHeight = $(window).height() - headerHeight - footerHeight; |
| (function (){ // retry until we can scroll to the selected item |
| try { |
| var navtree=$('#nav-tree'); |
| navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); |
| } catch (err) { |
| setTimeout(arguments.callee, 0); |
| } |
| })(); |
| } |
| |
| function expandNode(o, node, imm, showRoot) |
| { |
| if (node.childrenData && !node.expanded) { |
| if (typeof(node.childrenData)==='string') { |
| var varName = node.childrenData; |
| getScript(node.relpath+varName,function(){ |
| node.childrenData = getData(varName); |
| expandNode(o, node, imm, showRoot); |
| }, showRoot); |
| } else { |
| if (!node.childrenVisited) { |
| getNode(o, node); |
| } if (imm || ($.browser.msie && $.browser.version>8)) { |
| // somehow slideDown jumps to the start of tree for IE9 :-( |
| $(node.getChildrenUL()).show(); |
| } else { |
| $(node.getChildrenUL()).slideDown("fast"); |
| } |
| if (node.isLast) { |
| node.plus_img.src = node.relpath+"ftv2mlastnode.png"; |
| } else { |
| node.plus_img.src = node.relpath+"ftv2mnode.png"; |
| } |
| node.expanded = true; |
| } |
| } |
| } |
| |
| function glowEffect(n,duration) |
| { |
| n.addClass('glow').delay(duration).queue(function(next){ |
| $(this).removeClass('glow');next(); |
| }); |
| } |
| |
| function highlightAnchor() |
| { |
| var anchor = $($(location).attr('hash')); |
| if (anchor.parent().attr('class')=='memItemLeft'){ |
| var rows = $('.memberdecls tr[class$="'+ |
| window.location.hash.substring(1)+'"]'); |
| glowEffect(rows.children(),300); // member without details |
| } else if (anchor.parents().slice(2).prop('tagName')=='TR') { |
| glowEffect(anchor.parents('div.memitem'),1000); // enum value |
| } else if (anchor.parent().attr('class')=='fieldtype'){ |
| glowEffect(anchor.parent().parent(),1000); // struct field |
| } else if (anchor.parent().is(":header")) { |
| glowEffect(anchor.parent(),1000); // section header |
| } else { |
| glowEffect(anchor.next(),1000); // normal member |
| } |
| } |
| |
| function selectAndHighlight(hash,n) |
| { |
| var a; |
| if (hash) { |
| var link=stripPath($(location).attr('pathname'))+':'+hash.substring(1); |
| a=$('.item a[class$="'+link+'"]'); |
| } |
| if (a && a.length) { |
| a.parent().parent().addClass('selected'); |
| a.parent().parent().attr('id','selected'); |
| highlightAnchor(); |
| } else if (n) { |
| $(n.itemDiv).addClass('selected'); |
| $(n.itemDiv).attr('id','selected'); |
| } |
| showRoot(); |
| } |
| |
| function showNode(o, node, index, hash) |
| { |
| if (node && node.childrenData) { |
| if (typeof(node.childrenData)==='string') { |
| var varName = node.childrenData; |
| getScript(node.relpath+varName,function(){ |
| node.childrenData = getData(varName); |
| showNode(o,node,index,hash); |
| },true); |
| } else { |
| if (!node.childrenVisited) { |
| getNode(o, node); |
| } |
| $(node.getChildrenUL()).show(); |
| if (node.isLast) { |
| node.plus_img.src = node.relpath+"ftv2mlastnode.png"; |
| } else { |
| node.plus_img.src = node.relpath+"ftv2mnode.png"; |
| } |
| node.expanded = true; |
| var n = node.children[o.breadcrumbs[index]]; |
| if (index+1<o.breadcrumbs.length) { |
| showNode(o,n,index+1,hash); |
| } else { |
| if (typeof(n.childrenData)==='string') { |
| var varName = n.childrenData; |
| getScript(n.relpath+varName,function(){ |
| n.childrenData = getData(varName); |
| node.expanded=false; |
| showNode(o,node,index,hash); // retry with child node expanded |
| },true); |
| } else { |
| var rootBase = stripPath(o.toroot.replace(/\..+$/, '')); |
| if (rootBase=="index" || rootBase=="pages") { |
| expandNode(o, n, true, true); |
| } |
| selectAndHighlight(hash,n); |
| } |
| } |
| } |
| } else { |
| selectAndHighlight(hash); |
| } |
| } |
| |
| function getNode(o, po) |
| { |
| po.childrenVisited = true; |
| var l = po.childrenData.length-1; |
| for (var i in po.childrenData) { |
| var nodeData = po.childrenData[i]; |
| po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2], |
| i==l); |
| } |
| } |
| |
| function gotoNode(o,subIndex,root,hash,relpath) |
| { |
| var nti = navTreeSubIndices[subIndex][root+hash]; |
| o.breadcrumbs = $.extend(true, [], nti ? nti : navTreeSubIndices[subIndex][root]); |
| if (!o.breadcrumbs && root!=NAVTREE[0][1]) { // fallback: show index |
| navTo(o,NAVTREE[0][1],"",relpath); |
| $('.item').removeClass('selected'); |
| $('.item').removeAttr('id'); |
| } |
| if (o.breadcrumbs) { |
| o.breadcrumbs.unshift(0); // add 0 for root node |
| showNode(o, o.node, 0, hash); |
| } |
| } |
| |
| function navTo(o,root,hash,relpath) |
| { |
| var link = cachedLink(); |
| if (link) { |
| var parts = link.split('#'); |
| root = parts[0]; |
| if (parts.length>1) hash = '#'+parts[1]; |
| else hash=''; |
| } |
| if (root==NAVTREE[0][1]) { |
| $('#nav-sync').css('top','30px'); |
| } else { |
| $('#nav-sync').css('top','5px'); |
| } |
| if (hash.match(/^#l\d+$/)) { |
| var anchor=$('a[name='+hash.substring(1)+']'); |
| glowEffect(anchor.parent(),1000); // line number |
| hash=''; // strip line number anchors |
| //root=root.replace(/_source\./,'.'); // source link to doc link |
| } |
| var url=root+hash; |
| var i=-1; |
| while (NAVTREEINDEX[i+1]<=url) i++; |
| if (navTreeSubIndices[i]) { |
| gotoNode(o,i,root,hash,relpath) |
| } else { |
| getScript(relpath+'navtreeindex'+i,function(){ |
| navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); |
| if (navTreeSubIndices[i]) { |
| gotoNode(o,i,root,hash,relpath); |
| } |
| },true); |
| } |
| } |
| |
| function toggleSyncButton(relpath) |
| { |
| var navSync = $('#nav-sync'); |
| if (navSync.hasClass('sync')) { |
| navSync.removeClass('sync'); |
| navSync.html('<img src="'+relpath+'sync_off.png"/>'); |
| storeLink(stripPath2($(location).attr('pathname'))+$(location).attr('hash')); |
| } else { |
| navSync.addClass('sync'); |
| navSync.html('<img src="'+relpath+'sync_on.png"/>'); |
| deleteLink(); |
| } |
| } |
| |
| function initNavTree(toroot,relpath) |
| { |
| var o = new Object(); |
| o.toroot = toroot; |
| o.node = new Object(); |
| o.node.li = document.getElementById("nav-tree-contents"); |
| o.node.childrenData = NAVTREE; |
| o.node.children = new Array(); |
| o.node.childrenUL = document.createElement("ul"); |
| o.node.getChildrenUL = function() { return o.node.childrenUL; }; |
| o.node.li.appendChild(o.node.childrenUL); |
| o.node.depth = 0; |
| o.node.relpath = relpath; |
| o.node.expanded = false; |
| o.node.isLast = true; |
| o.node.plus_img = document.createElement("img"); |
| o.node.plus_img.src = relpath+"ftv2pnode.png"; |
| o.node.plus_img.width = 16; |
| o.node.plus_img.height = 22; |
| |
| if (localStorageSupported()) { |
| var navSync = $('#nav-sync'); |
| if (cachedLink()) { |
| navSync.html('<img src="'+relpath+'sync_off.png"/>'); |
| navSync.removeClass('sync'); |
| } else { |
| navSync.html('<img src="'+relpath+'sync_on.png"/>'); |
| } |
| navSync.click(function(){ toggleSyncButton(relpath); }); |
| } |
| |
| navTo(o,toroot,window.location.hash,relpath); |
| |
| $(window).bind('hashchange', function(){ |
| if (window.location.hash && window.location.hash.length>1){ |
| var a; |
| if ($(location).attr('hash')){ |
| var clslink=stripPath($(location).attr('pathname'))+':'+ |
| $(location).attr('hash').substring(1); |
| a=$('.item a[class$="'+clslink+'"]'); |
| } |
| if (a==null || !$(a).parent().parent().hasClass('selected')){ |
| $('.item').removeClass('selected'); |
| $('.item').removeAttr('id'); |
| } |
| var link=stripPath2($(location).attr('pathname')); |
| navTo(o,link,$(location).attr('hash'),relpath); |
| } |
| }) |
| |
| $(window).load(showRoot); |
| } |
| |