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

#include <JointOutputChannel.hpp>

Inheritance diagram for ispike::JointOutputChannel:
ispike::OutputChannel ispike::Channel ispike::PropertyHolder

List of all members.

Public Member Functions

 JointOutputChannel ()
virtual ~JointOutputChannel ()
void initialize (Writer *writer, map< string, Property > &properties)
void setFiring (const std::vector< unsigned > &buffer)
void setProperties (map< string, Property > &properties)
void step ()

Protected Member Functions

void updateProperties (map< string, Property > &properties)

Detailed Description

Encodes joint angles into spikes

Definition at line 14 of file JointOutputChannel.hpp.


Constructor & Destructor Documentation

Constructor

Definition at line 21 of file JointOutputChannel.cpp.

Destructor

Definition at line 40 of file JointOutputChannel.cpp.


Member Function Documentation

void JointOutputChannel::initialize ( Writer writer,
map< string, Property > &  properties 
) [virtual]

Initialize the channel with a reader and set of properties

The Channel assumes ownership of the Writer object.

Implements ispike::OutputChannel.

Definition at line 75 of file JointOutputChannel.cpp.

void JointOutputChannel::setFiring ( const std::vector< unsigned > &  buffer) [virtual]

Sets the current spike pattern

Implements ispike::OutputChannel.

Definition at line 51 of file JointOutputChannel.cpp.

void JointOutputChannel::setProperties ( map< string, Property > &  properties) [virtual]

Sets the properties

Implements ispike::PropertyHolder.

Definition at line 69 of file JointOutputChannel.cpp.

void JointOutputChannel::step ( ) [virtual]

Advances the channel by one time step

Implements ispike::Channel.

Definition at line 105 of file JointOutputChannel.cpp.

void JointOutputChannel::updateProperties ( map< string, Property > &  properties) [protected]

Updates the properties by first checking if any are read-only

Definition at line 148 of file JointOutputChannel.cpp.


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