Controller

TODO

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

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

The Controller class description is shown below:

class Controller

Packetizer Controller Class.

Subclassed by rogue::protocols::packetizer::ControllerV1, rogue::protocols::packetizer::ControllerV2

Public Functions

Controller(std::shared_ptr<rogue::protocols::packetizer::Transport> tran, std::shared_ptr<rogue::protocols::packetizer::Application> *app, uint32_t headSize, uint32_t tailSize, uint32_t alignSize, bool enSsi)

Creator.

~Controller()

Destructor.

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

Transport frame allocation request.

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

Frame received at transport interface.

void stopQueue()

Stop transmit queue.

void stop()

Stop.

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

Interface for transport transmitter thread.

virtual void applicationRx(std::shared_ptr<rogue::interfaces::stream::Frame> frame, uint8_t id)

Frame received at application interface.

uint32_t getDropCount()

Get drop count.

void setTimeout(uint32_t timeout)

Set timeout in microseconds for frame transmits.