OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 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 
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
static std::vector< FunctionWrap * > _binders
Definition: ExampleSCM.h:19
virtual void init(void)
Definition: ExampleSCM.cc:60
void opencog_example_init(void)
Definition: ExampleSCM.cc:78