iSpike  2.1
Spike conversion library for robotics
ispike::VisualInputChannel Class Reference

#include <VisualInputChannel.hpp>

Inheritance diagram for ispike::VisualInputChannel:
ispike::InputChannel ispike::Channel ispike::PropertyHolder

List of all members.

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)

Detailed Description

Converts an image input into a spike pattern

Definition at line 19 of file VisualInputChannel.hpp.


Constructor & Destructor Documentation

Constructor

Definition at line 25 of file VisualInputChannel.cpp.

Destructor

Definition at line 67 of file VisualInputChannel.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines