OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
ExampleSCM.h
Go to the documentation of this file.
1
/*
2
* ExampleSCM.h
3
*
4
* Simplified wrapper for creating guile modules.
5
* Copyright (c) 2008, 2014, 2015 Linas Vepstas <linas@linas.org>
6
*/
7
8
#ifndef _OPENCOG_EXAMPLE_SCM_H
9
#define _OPENCOG_EXAMPLE_SCM_H
10
11
#include <
opencog/guile/SchemeModule.h
>
12
13
namespace
opencog {
14
15
class
ExampleSCM
:
public
ModuleWrap
16
{
17
protected
:
18
virtual
void
init
(
void
);
19
static
std::vector<FunctionWrap*>
_binders
;
20
public
:
21
ExampleSCM
(
void
);
22
~ExampleSCM
();
23
};
24
25
}
26
27
extern
"C"
{
28
// This function will be called to initialize the module.
29
void
opencog_example_init
(
void
);
30
};
31
32
#endif // _OPENCOG_EXAMPLE_SCM_H
SchemeModule.h
opencog::ExampleSCM::_binders
static std::vector< FunctionWrap * > _binders
Definition:
ExampleSCM.h:19
opencog::ExampleSCM::init
virtual void init(void)
Definition:
ExampleSCM.cc:60
opencog::ExampleSCM::~ExampleSCM
~ExampleSCM()
Definition:
ExampleSCM.cc:69
opencog::ModuleWrap
Definition:
SchemeModule.h:42
opencog_example_init
void opencog_example_init(void)
Definition:
ExampleSCM.cc:78
opencog::ExampleSCM
Definition:
ExampleSCM.h:15
opencog::ExampleSCM::ExampleSCM
ExampleSCM(void)
Definition:
ExampleSCM.cc:54
examples
c++-guile
ExampleSCM.h
Generated on Sat Aug 22 2015 21:00:13 for OpenCog Framework by
1.8.6