Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Dec 29, 2017
1 parent fe80f20 commit 759dd34
Show file tree
Hide file tree
Showing 8 changed files with 93 additions and 13 deletions.
8 changes: 0 additions & 8 deletions docs/source/api_reference/pybpodapi/bpod/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,3 @@ Hardware module
|
|
Communication module
---------------------

.. toctree::
:titlesonly:

com/index

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Implementation
--------------


.. automodule:: pybpodapi.bpod.com.arcom
.. automodule:: pybpodapi.com.arcom
:members:
:private-members:
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
:mod:`com`--- Communication
***************************

.. module:: pybpodapi.bpod.com
.. module:: pybpodapi.com
:synopsis: communication with Bpod device

.. toctree::
:titlesonly:

messaging/index
arcom
protocol/send_msg_headers
protocol/recv_msg_headers
Expand Down
79 changes: 79 additions & 0 deletions docs/source/api_reference/pybpodapi/com/messaging/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
.. _messaging-class-label:

*********************************************************************
:mod:`messaging`--- Types of messages
*********************************************************************


BaseMessage
__________________________________


.. autoclass:: pybpodapi.com.messaging.base_message.BaseMessage
:members:
:undoc-members:

EndTrial
__________________________________


.. autoclass:: pybpodapi.com.messaging.end_trial.EndTrial
:members:
:undoc-members:

EventOccurrence
__________________________________


.. autoclass:: pybpodapi.com.messaging.event_occurrence.EventOccurrence
:members:
:undoc-members:

EventResume
__________________________________


.. autoclass:: pybpodapi.com.messaging.event_resume.EventResume
:members:
:undoc-members:

SessionInfo
__________________________________


.. autoclass:: pybpodapi.com.messaging.session_info.SessionInfo
:members:
:undoc-members:

SoftcodeOccurrence
__________________________________


.. autoclass:: pybpodapi.com.messaging.softcode_occurrence.SoftcodeOccurrence
:members:
:undoc-members:

StateOccurrence
__________________________________


.. autoclass:: pybpodapi.com.messaging.state_occurrence.StateOccurrence
:members:
:undoc-members:

Trial
__________________________________


.. autoclass:: pybpodapi.com.messaging.trial.Trial
:members:
:undoc-members:

UntaggedMessage
__________________________________


.. autoclass:: pybpodapi.com.messaging.untagged_message.UntaggedMessage
:members:
:undoc-members:

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Implementation
--------------


.. automodule:: pybpodapi.bpod.com.protocol.recv_msg_headers
.. automodule:: pybpodapi.com.protocol.recv_msg_headers
:members:
:private-members:
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Implementation
--------------


.. automodule:: pybpodapi.bpod.com.protocol.send_msg_headers
.. automodule:: pybpodapi.com.protocol.send_msg_headers
:members:
:private-members:
8 changes: 8 additions & 0 deletions docs/source/api_reference/pybpodapi/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@

bpod/index
bpod_modules/index
com/index
exceptions/index
state_machine/index
session

Communication module
---------------------

.. toctree::
:titlesonly:

com/index
2 changes: 1 addition & 1 deletion pybpodapi/com/messaging/trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Trial(BaseMessage):
"""
:ivar float bpod_start_timestamp: None
:ivar StateMachine sma: sma
:ivar list(StateOccurrences) state_occurrences: list of state occurrences
:ivar list(StateOccurrences) states_occurrences: list of state occurrences
:ivar list(EventOccurrence) events_occurrences: list of event occurrences
"""
MESSAGE_TYPE_ALIAS = 'TRIAL'
Expand Down

0 comments on commit 759dd34

Please sign in to comment.