PDF
AuboStudio SDK  0.6.3
arcs::aubo_scope::TcpModel Class Reference

TcpModel This interface provides access to the TCPs that are currently available in AuboScope. More...

#include <tcp_model.h>

Public Member Functions

 TcpModel (TcpModel &f)
 TcpModel (TcpModel &&f)
virtual ~TcpModel ()
std::vector< TCPPtr > getAll ()
 Returns a collection of all the TCPs in AuboScope.
TCPPtr getTcp (const std::string &name)
 TCP Get a TCP by name.
TCPPtr getDefaultTcp ()
 TCP Returns the default TCP.
std::string connectedTo (const std::string &receiver, const std::function< void(TcpModel *)> &slot)
 Register callback for changed.
void disconnectFrom (const std::string &receiver)
 Disconnect a callback.

Private Member Functions

 TcpModel ()

Private Attributes

void * d_ { nullptr }

Friends

class DataSwitch

Detailed Description

TcpModel This interface provides access to the TCPs that are currently available in AuboScope.

Definition at line 24 of file tcp_model.h.

Constructor & Destructor Documentation

◆ TcpModel() [1/3]

arcs::aubo_scope::TcpModel::TcpModel ( TcpModel & f)

References TcpModel().

Referenced by connectedTo(), TcpModel(), and TcpModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TcpModel() [2/3]

arcs::aubo_scope::TcpModel::TcpModel ( TcpModel && f)

References TcpModel().

Here is the call graph for this function:

◆ ~TcpModel()

virtual arcs::aubo_scope::TcpModel::~TcpModel ( )
virtual

◆ TcpModel() [3/3]

arcs::aubo_scope::TcpModel::TcpModel ( )
private

Member Function Documentation

◆ connectedTo()

std::string arcs::aubo_scope::TcpModel::connectedTo ( const std::string & receiver,
const std::function< void(TcpModel *)> & slot )

Register callback for changed.

Parameters
receiverthe receiver identifier.
slotthe callback function.
Returns
the connection identifier.

References TcpModel().

Here is the call graph for this function:

◆ disconnectFrom()

void arcs::aubo_scope::TcpModel::disconnectFrom ( const std::string & receiver)

Disconnect a callback.

Parameters
receiverthe receiver identifier.

◆ getAll()

std::vector< TCPPtr > arcs::aubo_scope::TcpModel::getAll ( )

Returns a collection of all the TCPs in AuboScope.

Returns
A collection of all the TCPs in AuboScope.

◆ getDefaultTcp()

TCPPtr arcs::aubo_scope::TcpModel::getDefaultTcp ( )

TCP Returns the default TCP.

Returns
the default TCP.

◆ getTcp()

TCPPtr arcs::aubo_scope::TcpModel::getTcp ( const std::string & name)

TCP Get a TCP by name.

Parameters
namethe name of the TCP.
Returns
the TCP with the given name.

◆ DataSwitch

friend class DataSwitch
friend

Definition at line 105 of file tcp_model.h.

References DataSwitch.

Referenced by DataSwitch.

Member Data Documentation

◆ d_

void* arcs::aubo_scope::TcpModel::d_ { nullptr }
private

Definition at line 107 of file tcp_model.h.


The documentation for this class was generated from the following file: