Google은 흑인 공동체를 위한 인종적 평등을 추구하기 위해 노력하고 있습니다.
자세히 알아보기
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
의견 보내기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
nl:: Weave:: System:: ObjectPool
#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.
GetStatistics
void GetStatistics(
nl::Weave::System::Stats::count_t & aNumInUse,
nl::Weave::System::Stats::count_t & aHighWatermark
)
TryCreate
T * TryCreate(
Layer & aLayer
)
Tries to initially retain the first object in the pool that is not retained by any layer.
달리 명시되지 않는 한, 이 페이지의 콘텐츠에는 크리에이티브 커먼즈 저작자 표시 4.0 라이선스 에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스 에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책 을 참고하세요. Java는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다. OPENTHREAD 및 관련 마크는 Thread Group의 상표이며, 라이선스에 따라 사용됩니다.
최종 업데이트: 2026-02-18(UTC)
의견을 전달하고 싶나요?
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2026-02-18(UTC)"],[],[]]