Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::DynamicMessageFactory Class Reference

#include <dynamic_message.h>

Inheritance diagram for google::protobuf::DynamicMessageFactory:
Inheritance graph
[legend]

Classes

struct  PrototypeMap
 

Public Member Functions

 DynamicMessageFactory ()
 
 DynamicMessageFactory (const DescriptorPool *pool)
 
const MessageGetPrototype (const Descriptor *type) override
 
void SetDelegateToGeneratedFactory (bool enable)
 
 ~DynamicMessageFactory ()
 
- Public Member Functions inherited from google::protobuf::MessageFactory
 MessageFactory ()
 
virtual ~MessageFactory ()
 

Private Member Functions

const MessageGetPrototypeNoLock (const Descriptor *type)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DynamicMessageFactory)
 

Static Private Member Functions

static void ConstructDefaultOneofInstance (const Descriptor *type, const uint32 offsets[], void *default_oneof_instance)
 
static void DeleteDefaultOneofInstance (const Descriptor *type, const uint32 offsets[], const void *default_oneof_instance)
 

Private Attributes

bool delegate_to_generated_factory_
 
const DescriptorPoolpool_
 
std::unique_ptr< PrototypeMapprototypes_
 
internal::WrappedMutex prototypes_mutex_
 

Friends

class DynamicMessage
 

Additional Inherited Members

- Static Public Member Functions inherited from google::protobuf::MessageFactory
static MessageFactorygenerated_factory ()
 
static void InternalRegisterGeneratedFile (const google::protobuf::internal::DescriptorTable *table)
 
static void InternalRegisterGeneratedMessage (const Descriptor *descriptor, const Message *prototype)
 

Detailed Description

Definition at line 80 of file dynamic_message.h.

Constructor & Destructor Documentation

◆ DynamicMessageFactory() [1/2]

google::protobuf::DynamicMessageFactory::DynamicMessageFactory ( )

Definition at line 634 of file dynamic_message.cc.

◆ DynamicMessageFactory() [2/2]

google::protobuf::DynamicMessageFactory::DynamicMessageFactory ( const DescriptorPool pool)

Definition at line 639 of file dynamic_message.cc.

◆ ~DynamicMessageFactory()

google::protobuf::DynamicMessageFactory::~DynamicMessageFactory ( )

Definition at line 644 of file dynamic_message.cc.

Member Function Documentation

◆ ConstructDefaultOneofInstance()

void google::protobuf::DynamicMessageFactory::ConstructDefaultOneofInstance ( const Descriptor type,
const uint32  offsets[],
void default_oneof_instance 
)
staticprivate

Definition at line 812 of file dynamic_message.cc.

◆ DeleteDefaultOneofInstance()

void google::protobuf::DynamicMessageFactory::DeleteDefaultOneofInstance ( const Descriptor type,
const uint32  offsets[],
const void default_oneof_instance 
)
staticprivate

Definition at line 858 of file dynamic_message.cc.

◆ GetPrototype()

const Message * google::protobuf::DynamicMessageFactory::GetPrototype ( const Descriptor type)
overridevirtual

Implements google::protobuf::MessageFactory.

Definition at line 653 of file dynamic_message.cc.

◆ GetPrototypeNoLock()

const Message * google::protobuf::DynamicMessageFactory::GetPrototypeNoLock ( const Descriptor type)
private

Definition at line 658 of file dynamic_message.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::DynamicMessageFactory::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( DynamicMessageFactory  )
private

◆ SetDelegateToGeneratedFactory()

void google::protobuf::DynamicMessageFactory::SetDelegateToGeneratedFactory ( bool  enable)
inline

Definition at line 103 of file dynamic_message.h.

Friends And Related Function Documentation

◆ DynamicMessage

friend class DynamicMessage
friend

Definition at line 139 of file dynamic_message.h.

Member Data Documentation

◆ delegate_to_generated_factory_

bool google::protobuf::DynamicMessageFactory::delegate_to_generated_factory_
private

Definition at line 128 of file dynamic_message.h.

◆ pool_

const DescriptorPool* google::protobuf::DynamicMessageFactory::pool_
private

Definition at line 127 of file dynamic_message.h.

◆ prototypes_

std::unique_ptr<PrototypeMap> google::protobuf::DynamicMessageFactory::prototypes_
private

Definition at line 135 of file dynamic_message.h.

◆ prototypes_mutex_

internal::WrappedMutex google::protobuf::DynamicMessageFactory::prototypes_mutex_
mutableprivate

Definition at line 137 of file dynamic_message.h.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08