|
BAOS .net SDK
18.2.0
|
The Connector is an abstraction around a physical medium. More...
#include <Connector.h>
Public Member Functions | |
| Connector (StreamConnection^streamConnection) | |
| Constructor. More... | |
| Connector (BaosConnection^baosConnection) | |
| Constructor. More... | |
| ~Connector () | |
| Destructor, releases the connector if it has not already been released More... | |
| unmanaged::ConnectorPtr | getUnmanaged () |
| Gets the raw unmanaged connector. More... | |
| void | releaseConnector () |
| Releases the connector. More... | |
Protected Member Functions | |
| !Connector () | |
| Finalizer (non-deterministic destructor) cleans up unmanaged resources. More... | |
The Connector is an abstraction around a physical medium.
The kdrive BAOS library currently implements the TCP/IP stream connection and Serial FT1.2 connection (other possibile connections is via UDP/IP). There is nothing you really have to do with the connection except for create it and pass it to the other classes in this library. In the native C++ SDK there are additional things you can do with the connector, such as attach to the notification events for Rx / Tx packets etc however this functionality is not currently exposed via the managed C++ implementation.
| kdrive::baos::bindings::Connector::Connector | ( | StreamConnection^ | streamConnection | ) |
Constructor.
The connector takes a StreamConnection
| kdrive::baos::bindings::Connector::Connector | ( | BaosConnection^ | baosConnection | ) |
Constructor.
The connector takes a BaosConnection
| kdrive::baos::bindings::Connector::~Connector | ( | ) |
Destructor, releases the connector if it has not already been released
|
protected |
Finalizer (non-deterministic destructor) cleans up unmanaged resources.
Releases the connector, if it has not already been released
| unmanaged::ConnectorPtr kdrive::baos::bindings::Connector::getUnmanaged | ( | ) |
Gets the raw unmanaged connector.
Used by the managed C++ implementation
| void kdrive::baos::bindings::Connector::releaseConnector | ( | ) |
Releases the connector.
1.8.11