|
| void | Open () |
| | Opens the simple port. More...
|
| |
| void | Close () |
| | Closes the simple port. More...
|
| |
| void | Write (byte[] buffer, int index, int length) |
| | Writes out data to the simple port. More...
|
| |
| int | Read (byte[] buffer, int index, int numOfBytesToRead) |
| | Allows reading data from the simple port. More...
|
| |
|
void | Start () |
| |
|
void | Stop () |
| |
|
void | Update () |
| |
|
void | Destroy () |
| |
|
|
bool | IsOpen [get] |
| |
|
int | BytesToRead [get] |
| |
| bool | IsOpen [get] |
| | Indicates if the simple port is open. More...
|
| |
| int | BytesToRead [get] |
| | Returns the number of bytes available to read in the received buffer. More...
|
| |
|
|
EventHandler | DataReceived |
| |
| EventHandler | DataReceived |
| | Raised whenever the simple port receives new data. More...
|
| |
| void VectorNav.Communication.AutoConnectPort.Close |
( |
| ) |
|
| void VectorNav.Communication.AutoConnectPort.Open |
( |
| ) |
|
| int VectorNav.Communication.AutoConnectPort.Read |
( |
byte[] |
buffer, |
|
|
int |
index, |
|
|
int |
numOfBytesToRead |
|
) |
| |
Allows reading data from the simple port.
- Parameters
-
| buffer | The buffer to place any read bytes. |
| index | The index to start placing any read bytes. |
| numOfBytesToRead | The maximum number of bytes to read. |
- Returns
- The actual number of bytes read.
Implements VectorNav.Communication.ISimplePort.
| void VectorNav.Communication.AutoConnectPort.Write |
( |
byte[] |
buffer, |
|
|
int |
index, |
|
|
int |
length |
|
) |
| |
Writes out data to the simple port.
- Parameters
-
| buffer | The buffer containing the data to write out. |
| index | The index in the buffer to start writing data out. |
| length | The number of bytes to write out. |
Implements VectorNav.Communication.ISimplePort.
The documentation for this class was generated from the following file:
- src/Communication/AutoConnectPort.cs