ArmNN
 24.08
ClContextBuilder Struct Reference

#include <ClContextSchema_generated.h>

Public Types

typedef ClContext Table
 

Public Member Functions

void add_programs (flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< armnn::Program >>> programs)
 
 ClContextBuilder (flatbuffers::FlatBufferBuilder &_fbb)
 
ClContextBuilderoperator= (const ClContextBuilder &)
 
flatbuffers::Offset< ClContext > Finish ()
 

Public Attributes

flatbuffers::FlatBufferBuilder & fbb_
 
flatbuffers::uoffset_t start_
 

Detailed Description

Definition at line 38 of file ClContextSchema_generated.h.

Member Typedef Documentation

◆ Table

typedef ClContext Table

Definition at line 39 of file ClContextSchema_generated.h.

Constructor & Destructor Documentation

◆ ClContextBuilder()

ClContextBuilder ( flatbuffers::FlatBufferBuilder &  _fbb)
inlineexplicit

Definition at line 45 of file ClContextSchema_generated.h.

46  : fbb_(_fbb) {
47  start_ = fbb_.StartTable();
48  }

References ClContextBuilder::fbb_, and ClContextBuilder::start_.

Member Function Documentation

◆ add_programs()

void add_programs ( flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< armnn::Program >>>  programs)
inline

Definition at line 42 of file ClContextSchema_generated.h.

42  {
43  fbb_.AddOffset(ClContext::VT_PROGRAMS, programs);
44  }

References ClContextBuilder::fbb_.

Referenced by armnn::CreateClContext().

◆ Finish()

flatbuffers::Offset<ClContext> Finish ( )
inline

Definition at line 50 of file ClContextSchema_generated.h.

50  {
51  const auto end = fbb_.EndTable(start_);
52  auto o = flatbuffers::Offset<ClContext>(end);
53  return o;
54  }

References ClContextBuilder::fbb_, and ClContextBuilder::start_.

Referenced by armnn::CreateClContext().

◆ operator=()

ClContextBuilder& operator= ( const ClContextBuilder )

Member Data Documentation

◆ fbb_

flatbuffers::FlatBufferBuilder& fbb_

◆ start_

flatbuffers::uoffset_t start_

The documentation for this struct was generated from the following file:
armnn::ClContextBuilder::fbb_
flatbuffers::FlatBufferBuilder & fbb_
Definition: ClContextSchema_generated.h:40
armnn::ClContextBuilder::start_
flatbuffers::uoffset_t start_
Definition: ClContextSchema_generated.h:41