Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* Copyright 2010, |
3 |
|
|
* François Bleibel, |
4 |
|
|
* Olivier Stasse, |
5 |
|
|
* |
6 |
|
|
* CNRS/AIST |
7 |
|
|
* |
8 |
|
|
*/ |
9 |
|
|
|
10 |
|
|
/* --- SOT PLUGIN --- */ |
11 |
|
|
#include <dynamic-graph/linear-algebra.h> |
12 |
|
|
|
13 |
|
|
#include <sot/core/debug.hh> |
14 |
|
|
#include <sot/core/factory.hh> |
15 |
|
|
#include <sot/core/mailbox-vector.hh> |
16 |
|
|
#include <sot/core/mailbox.hxx> |
17 |
|
|
|
18 |
|
|
using namespace dynamicgraph::sot; |
19 |
|
|
using namespace dynamicgraph; |
20 |
|
|
|
21 |
|
|
// Explicit template specialization |
22 |
|
|
#ifdef WIN32 |
23 |
|
|
MailboxVector::MailboxVector(const std::string &name) |
24 |
|
|
: Mailbox<dynamicgraph::Vector>(name) {} |
25 |
|
|
#else |
26 |
|
|
MAILBOX_TEMPLATE_SPE(dynamicgraph::Vector) |
27 |
|
|
#endif |
28 |
|
|
|
29 |
|
|
template <> |
30 |
|
✗ |
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(MailboxVector, "Mailbox<Vector>"); |
31 |
|
|
|