simplereferencecomponent.hxx (67e470da) simplereferencecomponent.hxx (6d678023)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 32 unchanged lines hidden (view full) ---

41class SimpleReferenceComponent
42{
43public:
44 SimpleReferenceComponent();
45
46 /** @ATTENTION
47 The results are undefined if, for any individual instance of
48 SimpleReferenceComponent, the total number of calls to acquire() exceeds
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 32 unchanged lines hidden (view full) ---

41class SimpleReferenceComponent
42{
43public:
44 SimpleReferenceComponent();
45
46 /** @ATTENTION
47 The results are undefined if, for any individual instance of
48 SimpleReferenceComponent, the total number of calls to acquire() exceeds
49 the total number of calls to release() by a plattform dependent amount
49 the total number of calls to release() by a platform dependent amount
50 (which, hopefully, is quite large).
51 */
52 SD_DLLPUBLIC void acquire();
53 SD_DLLPUBLIC void release();
54
55 void Dispose();
56
57 bool isDisposed() const { return mbDisposed; }

--- 54 unchanged lines hidden ---
50 (which, hopefully, is quite large).
51 */
52 SD_DLLPUBLIC void acquire();
53 SD_DLLPUBLIC void release();
54
55 void Dispose();
56
57 bool isDisposed() const { return mbDisposed; }

--- 54 unchanged lines hidden ---