Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
libstageplugin
test
lsp_test_proxy.cc
Go to the documentation of this file.
1
#include "
lsp_test_proxy.hh
"
2
3
using namespace
lspTest
;
4
5
const
double
Proxy::Delta
= 0.01;
6
7
void
Proxy::connect
() {
8
client
= playerc_client_create( NULL,
"localhost"
, 6665 );
9
CPPUNIT_ASSERT( playerc_client_connect(
client
) == 0 );
10
CPPUNIT_ASSERT( playerc_client_datamode (
client
, PLAYERC_DATAMODE_PULL) == 0 );
11
CPPUNIT_ASSERT( playerc_client_set_replace_rule (
client
, -1, -1, PLAYER_MSGTYPE_DATA, -1, 1) == 0 );
12
}
13
14
void
Proxy::disconnect
() {
15
CPPUNIT_ASSERT( playerc_client_disconnect(
client
) == 0 );
16
playerc_client_destroy(
client
);
17
}
lspTest::Proxy::connect
void connect()
Definition:
lsp_test_proxy.cc:7
lsp_test_proxy.hh
lspTest
Definition:
lsp_test_blobfinder.hh:9
lspTest::Proxy::disconnect
void disconnect()
Definition:
lsp_test_proxy.cc:14
lspTest::Proxy::Delta
static const double Delta
Definition:
lsp_test_proxy.hh:19
lspTest::Proxy::client
playerc_client_t * client
Definition:
lsp_test_proxy.hh:14
stage
Author(s): Richard Vaughan
, Brian Gerkey
, Reed Hedges
, Andrew Howard
, Toby Collett
, Pooya Karimian
, Jeremy Asher
, Alex Couture-Beil
, Geoff Biggs
, Rich Mattes
, Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:09