Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F75470884
NodeAdapter.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 2, 10:57
Size
716 B
Mime Type
text/x-c
Expires
Sun, Aug 4, 10:57 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19553447
Attached To
R6624 liboncilla Webots Interface
NodeAdapter.cpp
View Options
/**
* \file NodeAdapter.cpp
*
* \date Jan 22, 2013
* \author tuleu
*/
#include "NodeAdapter.h"
namespace liboncilla {
namespace webots {
NodeAdapter::ListOfInstances NodeAdapter::s_instances;
NodeAdapter::NodeAdapter(){
s_instances.insert(this);
}
NodeAdapter::~NodeAdapter(){
s_instances.erase(this);
}
void NodeAdapter::PreStep(double){
}
void NodeAdapter::PostStep(double){
}
void NodeAdapter::Activate(){
}
void NodeAdapter::Deactivate(){
}
void NodeAdapter::IterateOverAllInstances(std::mem_fun_t<void,NodeAdapter> f){
for(ListOfInstances::const_iterator i = s_instances.begin();
i != s_instances.end();
++i){
f(*i);
}
}
} /* namespace webots */
} /* namespace liboncilla */
Event Timeline
Log In to Comment