Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Variables
module.cpp File Reference
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include <list>
#include "netdefs.h"
#include "components.h"
#include "analyses.h"
#include "module.h"
#include <dlfcn.h>
#include <cstdlib>

Go to the source code of this file.

Macros

#define REGISTER_CIRCUIT(val)   registerModule (&val::definition, &val::create)
 
#define REGISTER_ANALYSIS(val)   registerModule (&val::definition, &val::create)
 
#define REGISTER_MISC(val)   registerModule (&val::definition)
 

Variables

std::map< std::string,
creator_t *, std::less
< std::string > > 
factorycreate
 
std::map< std::string, defs_t
*, std::less< std::string > > 
factorydef
 
std::list< void * > dl_list
 
std::list< void * >::iterator itr
 
static struct property_t props1 []
 
static struct property_t props2 []
 
struct define_t miscdef1
 
struct define_t miscdef2
 

Macro Definition Documentation

#define REGISTER_ANALYSIS (   val)    registerModule (&val::definition, &val::create)

Definition at line 150 of file module.cpp.

#define REGISTER_CIRCUIT (   val)    registerModule (&val::definition, &val::create)

Definition at line 148 of file module.cpp.

#define REGISTER_MISC (   val)    registerModule (&val::definition)

Definition at line 152 of file module.cpp.

Variable Documentation

std::list<void *> dl_list

Definition at line 64 of file module.cpp.

std::map< std::string, creator_t *, std::less<std::string> > factorycreate

Definition at line 56 of file module.cpp.

std::map< std::string, defs_t *, std::less<std::string> > factorydef

Definition at line 58 of file module.cpp.

std::list<void *>::iterator itr

Definition at line 65 of file module.cpp.

struct define_t miscdef1
Initial value:
=
props1, props1 }
#define PROP_LINEAR
Definition: netdefs.h:120
static struct property_t props1[]
Definition: module.cpp:80
#define PROP_ACTION
Definition: netdefs.h:115
#define PROP_NODES
Definition: netdefs.h:121
#define PROP_NO_SUBSTRATE
Definition: netdefs.h:118

Definition at line 86 of file module.cpp.

struct define_t miscdef2
Initial value:
=
#define PROP_LINEAR
Definition: netdefs.h:120
static struct property_t props1[]
Definition: module.cpp:80
#define PROP_NODES
Definition: netdefs.h:121
#define PROP_COMPONENT
Definition: netdefs.h:116
static struct property_t props2[]
Definition: module.cpp:82
#define PROP_NO_SUBSTRATE
Definition: netdefs.h:118

Definition at line 90 of file module.cpp.

struct property_t props1[]
static
Initial value:
= {
#define PROP_NO_PROP
Definition: netdefs.h:122

Definition at line 80 of file module.cpp.

struct property_t props2[]
static
Initial value:
= {
{ "Type", PROP_STR, { PROP_NO_VAL, "DEF1" }, PROP_NO_RANGE },
#define PROP_NO_PROP
Definition: netdefs.h:122
#define PROP_NO_RANGE
Definition: netdefs.h:126
#define PROP_STR
Definition: netdefs.h:175
#define PROP_NO_VAL
Definition: netdefs.h:124

Definition at line 82 of file module.cpp.