C++ Device API Reference Manual
Reference documentation for the Simics C++ Device API.
 
Loading...
Searching...
No Matches
simics::ObjectFactoryWithArg< T, A > Class Template Reference

An object factory creates class T object with argument. More...

#include <object-factory.h>

Inheritance diagram for simics::ObjectFactoryWithArg< T, A >:
simics::iface::ObjectFactoryInterface

Public Member Functions

 ObjectFactoryWithArg (A *arg)
 
ConfObjectcreate (conf_object_t *obj) const override
 iface::ObjectFactoryInterface
 
iface::ObjectFactoryInterfaceclone () const override
 
- Public Member Functions inherited from simics::iface::ObjectFactoryInterface
virtual ~ObjectFactoryInterface ()=default
 
virtual ConfObjectcreate (conf_object_t *obj) const =0
 
virtual ObjectFactoryInterfaceclone () const =0
 

Detailed Description

template<typename T, typename A>
class simics::ObjectFactoryWithArg< T, A >

An object factory creates class T object with argument.

Constructor & Destructor Documentation

◆ ObjectFactoryWithArg()

template<typename T , typename A >
simics::ObjectFactoryWithArg< T, A >::ObjectFactoryWithArg ( A *  arg)
inlineexplicit

Member Function Documentation

◆ clone()

template<typename T , typename A >
iface::ObjectFactoryInterface * simics::ObjectFactoryWithArg< T, A >::clone ( ) const
inlineoverridevirtual

◆ create()

template<typename T , typename A >
ConfObject * simics::ObjectFactoryWithArg< T, A >::create ( conf_object_t obj) const
inlineoverridevirtual

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