Programming Reference:States: Difference between revisions
Appearance
No edit summary |
|||
| Line 3: | Line 3: | ||
==State Class== | ==State Class== | ||
===Methods=== | ===Methods=== | ||
====bool operator==( State ), bool operator!=( State )==== | |||
Tests two <tt>State</tt> objects for equality. | |||
====State AssignValue( State )==== | |||
Assigns the value of the specified <tt>State</tt> object. | |||
====ostream WriteToStream( ostream ), istream ReadFromStream( istream )==== | |||
Writes/reads the <tt>Param</tt> object to/from a stream in human readable format. | |||
====ostream WriteBinary( ostream ), istream ReadBinary( istream )==== | |||
Writes/reads the <tt>Param</tt> object to/from a BCI2000 binary stream (such as the streams connecting BCI2000 modules). | |||
===Properties=== | ===Properties=== | ||
Revision as of 15:14, 29 June 2010
In BCI2000, states have the function of event markers. State objects are grouped into StateLists, and their values are transported in a global StateVector object. This page lists the methods and properties of State, StateList, and StateVector classes; for a general discussion of the state concept in BCI2000, see the State Definition page.
State Class
Methods
bool operator==( State ), bool operator!=( State )
Tests two State objects for equality.
State AssignValue( State )
Assigns the value of the specified State object.
ostream WriteToStream( ostream ), istream ReadFromStream( istream )
Writes/reads the Param object to/from a stream in human readable format.
ostream WriteBinary( ostream ), istream ReadBinary( istream )
Writes/reads the Param object to/from a BCI2000 binary stream (such as the streams connecting BCI2000 modules).