|
|
| Sync () |
| | Constructor self socket.
|
| |
| | Sync (ACQUA::EthernetSocket &udp, ACQUA::EthernetSocket *raw) |
| | constructor with socket
|
| |
|
| ~Sync () |
| | Destructor.
|
| |
| bool | open (THRED_MODE mode, ACQUA::Clock info, uint16_t ifno, const std::string &name, std::uint64_t id, int cpuMain, int cpuOther, int rngOther, MSMODE msMode) |
| | open
|
| |
|
void | changeWorkMode (THRED_MODE) |
| |
|
THRED_MODE | currentWorkMode () const |
| | get current thread mode
|
| |
|
THRED_MODE | currentWorkMode (int &cpuMain, int &cpuOther, int &rngOther) const |
| | get current thread mode with cpu occupied
|
| |
|
void | setHostInvertPhase (bool) |
| | set host invert phase (When the data being written is reversed)
|
| |
| bool | setSink (const ACQUA::IPAddress &, ACQUA::Clock, bool, std::uint32_t) |
| | setup sink connection
|
| |
|
bool | setSinkConfigure (FormatConfigure) |
| | set sink playback format
|
| |
|
void | setConfigTransfer (const Profile &) |
| | set sync profile(Configure the transmission cycle using a Profile. A Profile must be set up beforehand.)
|
| |
| ProfileMaker | getProfileMaker (ACQUA::Clock) |
| | get ProfileMaker for creating Profile
|
| |
| void | configTransferAuto (ACQUA::Clock, ACQUA::Clock, ACQUA::Clock) |
| | Configure automatic data transfer settings based on the specified cycle time.
|
| |
| bool | configTransferFix (ACQUA::Clock, int) |
| | fix-cycle configuration
|
| |
| bool | configTransferVar (ACQUA::Clock, int) |
| | variable-cycle configuration
|
| |
|
void | configTransferVarMax (ACQUA::Clock) |
| | Adjust to use the maximum network packet size configuration.
|
| |
|
bool | configTransferFixAuto (ACQUA::Clock) |
| |
|
bool | configTransferVarAuto (ACQUA::Clock) |
| |
|
bool | configTransferRandom (ACQUA::Clock, ACQUA::Clock, int) |
| | random-cycle configuration
|
| |
|
ACQUA::Clock | getCycleTime () const |
| | get Generated transmission interval
|
| |
|
ACQUA::Clock | getMinCycleTime () const |
| | get Minimum transmission interval
|
| |
|
std::size_t | getCycleSize () const |
| | get Stream data size per transmission
|
| |
|
std::size_t | getCyclePackets () const |
| | get Stream packet count per transmission
|
| |
|
Profile::ModeType | getMode () const |
| | get Send Profile Mode
|
| |
| bool | connectPrepare (bool=true) |
| | prepare to connect
|
| |
|
bool | connect (int) |
| | connect to sink
|
| |
|
bool | connectWait () |
| | wait for connection completion
|
| |
|
void | disconnect_flgset () |
| | Set the flag to start cutting.
|
| |
| void | disconnect (bool wait=true) |
| | disconnect from sink
|
| |
|
bool | disconnectWait () |
| | wait for disconnection completion
|
| |
|
void | play () |
| | start playback
|
| |
|
void | stop () |
| | stop playback(pause)
|
| |
|
bool | isPlay () const |
| | is playing
|
| |
|
void | close () |
| | close sync
|
| |
|
bool | is_connect () |
| | check connection state
|
| |
|
bool | is_online () |
| | check online state
|
| |
|
bool | is_disconnect () |
| | check disconnect state
|
| |
|
bool | is_active () |
| | check active state
|
| |
|
ACQUA::Clock | getLatency () |
| | get sink latency
|
| |
|
bool | checkSinkSupport (FormatConfigure) const |
| | check sink format support
|
| |
|
const FormatConfigure & | getSinkConfigure () const |
| | get sink format configuration
|
| |
|
bool | inquirySupportFormat (const ACQUA::IPAddress &) |
| | Retrieve the supported formats for Sink.
|
| |
|
bool | inquiryParameter (const ACQUA::IPAddress &, std::uint32_t, std::uint32_t) |
| | Retrieve the TargetProfile for the Sink.
|
| |
|
std::uint32_t | mtuTest (const ACQUA::IPAddress &, std::uint16_t, std::uint32_t) |
| | MTU test.
|
| |
|
bool | mtuCheck (const ACQUA::IPAddress &, std::uint32_t &) |
| | MTU check.
|
| |
|
std::uint32_t | getNoneBaseMin () const |
| | get minimum frame size without base rate
|
| |
|
std::uint32_t | getFrameMax () const |
| | get maximum frame size without base rate
|
| |
|
bool | syncWorker () |
| | sync worker process
|
| |
|
const Info & | getSinkInfo () const |
| | get sink information
|
| |
|
| Connection () |
| | create connection
|
| |
|
| Connection (ACQUA::EthernetSocket &) |
| | create connection with socket
|
| |
|
| ~Connection () |
| | destroy connection
|
| |
|
void | setAdditionalAddress (const std::list< ACQUA::IPAddress > &add) |
| | Configure the address of a Target that cannot respond to multicast.
|
| |
|
| virtual bool | getNewStream (diretta_stream &)=0 |
| | Callback for retrieving the send stream from the send thread (Must be processed by Atomic)
|
| |
|
virtual bool | getNewStreamCmp () |
| |
|
virtual bool | startSyncWorker () |
| |
|
virtual void | statusUpdate () |
| |
| bool | open (ACQUA::IPAddress &) |
| | open socket
|
| |
|
void | close () |
| | close socket
|
| |
| bool | sendAck (const ConnectionBuffer &, const ACQUA::IPAddress &, MessageID, ConnectionBuffer &, ACQUA::Clock=ACQUA::Clock::MilliSeconds(30)) |
| | Send message and wait for response.
|
| |
|
bool | send (const ConnectionBuffer &data) |
| | Send message.
|
| |
|
bool | receive (ConnectionBuffer &data, ACQUA::IPAddress &add, ACQUA::Clock wtt=ACQUA::Clock()) |
| | Receive message.
|
| |
| bool | member (const ACQUA::IPAddress &addme) |
| | Begin receiving multicast data (join members)
|
| |
| bool | sendMulti (const ConnectionBuffer &msg, MessageID respMsg, std::map< ACQUA::IPAddress, std::unique_ptr< ConnectionBuffer > > &resalt, bool) |
| | Send message to multiple message and wait for response.
|
| |
| std::list< IfInfo > | getIfList (bool, bool discash=false) |
| | Get network interfaces.
|
| |
| bool | getIfMTU (std::uint32_t, std::uint32_t &) |
| | Get MTU of interface.
|
| |
|
| operator ACQUA::EthernetSocket * () |
| | Get socket object pointer.
|
| |
Sync class Processing stream transmission.