C++ Device API Reference Manual
Reference documentation for the Simics C++ Device API.
 
Loading...
Searching...
No Matches
conf-class.h File Reference
#include <simics/base/conf-object.h>
#include <simics/base/sim-exception.h>
#include <string>
#include <memory>
#include <vector>
#include "object-factory.h"
#include "iface/interface-info.h"
#include "attribute.h"
#include "init-class.h"
#include "log.h"
#include "event.h"

Go to the source code of this file.

Classes

class  simics::ConfClass
 Represents Simics C type conf_class_t. More...
 

Namespaces

namespace  simics
 

Typedefs

using simics::ConfClassPtr = std::unique_ptr< ConfClass >
 

Functions

int simics::array_index (const std::string &name)
 Return the array index if name is using an array format like array[N].
 
std::vector< std::string > simics::expand_names (const std::string &name, const char delimiter='.')
 If name contains an array indicator, i.e.
 
template<typename T >
void simics::decorate_class (...)
 Overload it with specific implementation by including the other header before this file.
 
template<typename T >
ConfClassPtr simics::make_class (const std::string &name, const std::string &short_desc, const std::string &description, const class_kind_t kind=Sim_Class_Kind_Vanilla)
 A factory method to create a ConfClassPtr which associate with the C++ class T.
 
template<typename T , typename A >
ConfClassPtr simics::make_class (const std::string &name, const std::string &short_desc, const std::string &description, A *constructor_arg, const class_kind_t kind=Sim_Class_Kind_Vanilla)
 A factory method to create a ConfClassPtr which associate with the C++ class T with argument A.