সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
nl:: বুনা:: পদ্ধতি:: অবজেক্টপুল
#include <src/system/SystemObject.h>
A class template used for allocating Object subclass objects from an ObjectArena<> template union.
সারসংক্ষেপ
বিস্তারিত | টেমপ্লেট পরামিতি | T | অবজেক্টের একটি সাবক্লাস অ্যারেনা থেকে বরাদ্দ করা হবে। | N | ক্ষেত্র থেকে বরাদ্দ করার জন্য T শ্রেণীর বস্তুর একটি ধনাত্মক পূর্ণসংখ্যা। |
|
পাবলিক স্ট্যাটিক ফাংশন |
---|
Size (void) | size_t Returns the number of objects that can be simultaneously retained from a pool. |
পাবলিক ফাংশন |
---|
Get (const Layer & aLayer, size_t aIndex) | T * Returns a pointer the object at \c aIndex or \c NULL if the object is not retained by \c aLayer. |
GetStatistics (nl::Weave::System::Stats::count_t & aNumInUse, nl::Weave::System::Stats::count_t & aHighWatermark) | void |
TryCreate ( Layer & aLayer) | T * Tries to initially retain the first object in the pool that is not retained by any layer. |
পাবলিক স্ট্যাটিক ফাংশন
আকার
size_t Size(
void
)
Returns the number of objects that can be simultaneously retained from a pool.
পাবলিক ফাংশন
পাওয়া
T * Get(
const Layer & aLayer,
size_t aIndex
)
Returns a pointer the object at \c aIndex or \c NULL if the object is not retained by \c aLayer.
পরিসংখ্যান পান
void GetStatistics(
nl::Weave::System::Stats::count_t & aNumInUse,
nl::Weave::System::Stats::count_t & aHighWatermark
)
চেষ্টা করুন
T * TryCreate(
Layer & aLayer
)
Tries to initially retain the first object in the pool that is not retained by any layer.
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক। Thread হল Thread Group, Inc-এর রেজিস্টার্ড ট্রেডমার্ক।
2023-12-01 UTC-তে শেষবার আপডেট করা হয়েছে।
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"এতে আমার প্রয়োজনীয় তথ্য নেই"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"খুব জটিল / অনেক ধাপ"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"পুরনো"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"অনুবাদ সংক্রান্ত সমস্যা"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"নমুনা / কোড সংক্রান্ত সমস্যা"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"অন্যান্য"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"সহজে বোঝা যায়"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"আমার সমস্যার সমাধান হয়েছে"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"অন্যান্য"
}]