Controller

TODO

Controller objects in C++ are referenced by the following shared pointer typedef:

typedef std::shared_ptr<rogue::protocols::rssi::Controller> rogue::protocols::rssi::ControllerPtr

The Controller class description is shown below:

class Controller : public rogue::EnableSharedFromThis<rogue::protocols::rssi::Controller>

RSSI Controller Class.

Public Functions

Controller(uint32_t segSize, std::shared_ptr<rogue::protocols::rssi::Transport> tran, std::shared_ptr<rogue::protocols::rssi::Application> app, bool server)

Creator.

~Controller()

Destructor.

void stopQueue()

Stop Queues.

std::shared_ptr<rogue::interfaces::stream::Frame> reqFrame(uint32_t size)

Transport frame allocation request.

void transportRx(std::shared_ptr<rogue::interfaces::stream::Frame> frame)

Frame received at transport interface.

std::shared_ptr<rogue::interfaces::stream::Frame> applicationTx()

Interface for application transmitter thread.

void applicationRx(std::shared_ptr<rogue::interfaces::stream::Frame> frame)

Frame received at application interface.

bool getOpen()

Get state.

uint32_t getDownCount()

Get Down Count.

uint32_t getDropCount()

Get Drop Count.

uint32_t getRetranCount()

Get Retransmit Count.

bool getLocBusy()

Get locBusy.

uint32_t getLocBusyCnt()

Get locBusyCnt.

bool getRemBusy()

Get remBusy.

uint32_t getRemBusyCnt()

Get remBusyCnt.

void setTimeout(uint32_t timeout)

Set timeout in microseconds for frame transmits.

void stop()

Stop connection.

void start()

Start connection.

Public Static Functions

static std::shared_ptr<rogue::protocols::rssi::Controller> create(uint32_t segSize, std::shared_ptr<rogue::protocols::rssi::Transport> tran, std::shared_ptr<rogue::protocols::rssi::Application> app, bool server)

Class creation.