iSpike
2.1
Spike conversion library for robotics
|
#include <VisualInputChannel.hpp>
Public Member Functions | |
VisualInputChannel () | |
virtual | ~VisualInputChannel () |
const vector< unsigned > & | getFiring () |
void | initialize (Reader *reader, map< string, Property > &properties) |
void | setProperties (map< string, Property > &properties) |
void | step () |
Protected Member Functions | |
void | updateProperties (map< string, Property > &properties) |
Converts an image input into a spike pattern
Definition at line 19 of file VisualInputChannel.hpp.
Constructor
Definition at line 25 of file VisualInputChannel.cpp.
VisualInputChannel::~VisualInputChannel | ( | ) | [virtual] |
Destructor
Definition at line 67 of file VisualInputChannel.cpp.
const vector<unsigned>& ispike::VisualInputChannel::getFiring | ( | ) | [inline, virtual] |
Returns the latest spikes generated by the channel
Implements ispike::InputChannel.
Definition at line 23 of file VisualInputChannel.hpp.
void VisualInputChannel::initialize | ( | Reader * | reader, |
map< string, Property > & | properties | ||
) |
Initialises the channel with the default parameters
Definition at line 81 of file VisualInputChannel.cpp.
void VisualInputChannel::setProperties | ( | map< string, Property > & | properties | ) | [virtual] |
Sets the properties. This will be done immediately if we are not stepping or deferred until the end of the step
Implements ispike::PropertyHolder.
Definition at line 101 of file VisualInputChannel.cpp.
void VisualInputChannel::step | ( | ) | [virtual] |
Advances the channel by one time step
Implements ispike::Channel.
Definition at line 107 of file VisualInputChannel.cpp.
void VisualInputChannel::updateProperties | ( | map< string, Property > & | properties | ) | [protected] |
Updates the properties by first checking if any are read-only
Definition at line 152 of file VisualInputChannel.cpp.