Click here to Skip to main content
11,435,451 members (58,796 online)
Click here to Skip to main content
Add your own
alternative version

RCF - Interprocess Communication for C++

, 25 Oct 2011 CPOL
A server/client IPC framework, using the C++ preprocessor as an IDL compiler.
rcf-04.zip
RCF-0.4
demo
vs2003
RCF
Client
Server
doc
html
class_r_c_f_1_1_exception.png
class_r_c_f_1_1_filter.png
class_r_c_f_1_1_filter_factory.png
class_r_c_f_1_1_filter_service.png
class_r_c_f_1_1_identity_filter.png
class_r_c_f_1_1_identity_filter_factory.png
class_r_c_f_1_1_i___client_transport.png
class_r_c_f_1_1_i___endpoint.png
class_r_c_f_1_1_i___service.png
class_r_c_f_1_1_i___session_manager.png
class_r_c_f_1_1_multicast_client_transport.png
class_r_c_f_1_1_object_factory_service.png
class_r_c_f_1_1_open_ssl_encryption_filter.png
class_r_c_f_1_1_open_ssl_encryption_filter_factory.png
class_r_c_f_1_1_publishing_service.png
class_r_c_f_1_1_rcf_server.png
class_r_c_f_1_1_remote_exception.png
class_r_c_f_1_1_subscription_service.png
class_r_c_f_1_1_tcp_endpoint.png
class_r_c_f_1_1_udp_endpoint.png
class_r_c_f_1_1_zlib_stateful_compression_filter_factory.png
class_r_c_f_1_1_zlib_stateless_compression_filter_factory.png
doxygen.png
ftv2blank.png
ftv2doc.png
ftv2folderclosed.png
ftv2folderopen.png
ftv2lastnode.png
ftv2link.png
ftv2mlastnode.png
ftv2mnode.png
ftv2node.png
ftv2plastnode.png
ftv2pnode.png
ftv2vertline.png
tab_b.gif
tab_l.gif
tab_r.gif
latex
annotated.tex
class_r_c_f_1_1_client_stub.tex
class_r_c_f_1_1_exception.eps
class_r_c_f_1_1_exception.tex
class_r_c_f_1_1_filter.eps
class_r_c_f_1_1_filter.tex
class_r_c_f_1_1_filter_description.tex
class_r_c_f_1_1_filter_factory.eps
class_r_c_f_1_1_filter_factory.tex
class_r_c_f_1_1_filter_service.eps
class_r_c_f_1_1_filter_service.tex
class_r_c_f_1_1_identity_filter.eps
class_r_c_f_1_1_identity_filter.tex
class_r_c_f_1_1_identity_filter_factory.eps
class_r_c_f_1_1_identity_filter_factory.tex
class_r_c_f_1_1_i___client_transport.eps
class_r_c_f_1_1_i___client_transport.tex
class_r_c_f_1_1_i___endpoint.eps
class_r_c_f_1_1_i___endpoint.tex
class_r_c_f_1_1_i___proactor.tex
class_r_c_f_1_1_i___rcf_client.tex
class_r_c_f_1_1_i___server_transport.tex
class_r_c_f_1_1_i___server_transport_ex.tex
class_r_c_f_1_1_i___service.eps
class_r_c_f_1_1_i___service.tex
class_r_c_f_1_1_i___session.tex
class_r_c_f_1_1_i___session_manager.eps
class_r_c_f_1_1_i___session_manager.tex
class_r_c_f_1_1_multicast_client_transport.eps
class_r_c_f_1_1_multicast_client_transport.tex
class_r_c_f_1_1_object_factory_service.eps
class_r_c_f_1_1_object_factory_service.tex
class_r_c_f_1_1_open_ssl_encryption_filter.eps
class_r_c_f_1_1_open_ssl_encryption_filter.tex
class_r_c_f_1_1_open_ssl_encryption_filter_factory.eps
class_r_c_f_1_1_open_ssl_encryption_filter_factory.tex
class_r_c_f_1_1_publishing_service.eps
class_r_c_f_1_1_publishing_service.tex
class_r_c_f_1_1_rcf_server.eps
class_r_c_f_1_1_rcf_server.tex
class_r_c_f_1_1_remote_exception.eps
class_r_c_f_1_1_remote_exception.tex
class_r_c_f_1_1_subscription_service.eps
class_r_c_f_1_1_subscription_service.tex
class_r_c_f_1_1_tcp_endpoint.eps
class_r_c_f_1_1_tcp_endpoint.tex
class_r_c_f_1_1_udp_endpoint.eps
class_r_c_f_1_1_udp_endpoint.tex
class_r_c_f_1_1_zlib_stateful_compression_filter.tex
class_r_c_f_1_1_zlib_stateful_compression_filter_factory.eps
class_r_c_f_1_1_zlib_stateful_compression_filter_factory.tex
class_r_c_f_1_1_zlib_stateless_compression_filter.tex
class_r_c_f_1_1_zlib_stateless_compression_filter_factory.eps
class_r_c_f_1_1_zlib_stateless_compression_filter_factory.tex
dirs.tex
dir_G_3A_2FDevelopment_2Fbuild_2Fscripts_2Fwin_2FBuildRcf2_5FOutput_2FRCF_2D0_2E4_2Finclude_2F.tex
dir_G_3A_2FDevelopment_2Fbuild_2Fscripts_2Fwin_2FBuildRcf2_5FOutput_2FRCF_2D0_2E4_2Finclude_2FRCF_2F.tex
dir_G_3A_2FDevelopment_2Fbuild_2Fscripts_2Fwin_2FBuildRcf2_5FOutput_2FRCF_2D0_2E4_2Finclude_2FRCF_2FProtocol_2F.tex
doxygen.sty
Helvetica.ttf
hierarchy.tex
Makefile
refman.tex
struct_r_c_f_1_1_filter_id_comparison.tex
include
RCF
Marshal.inl
Protocol
RcfServer.inl
ServerStub.inl
test
util
Platform
Machine
SPARC
x86
OS
Unix
Windows
Threads
SF
src
RCF
Protocol
SF
test
borland
Jamfile
Jamrules
Jamfile
Jamrules
vs2003
RCF
RCF
RCFTest
client.pem
server.pem
rcf-09c.zip
RCF-0.9c
demo
vs2003
RCF
Client
Server
include
RCF
Marshal.inl
Protocol
RcfServer.inl
ServerStub.inl
test
util
Platform
Machine
SPARC
x86
OS
Unix
Windows
Threads
SF
src
RCF
Protocol
util
SF
test
bcc
Jamfile
Jamrules
data
caCertA.pem
caCertB.pem
certA.pem
certB.pem
ssCert1.pem
ssCert2.pem
Jamfile
Jamrules
vc6
Jamfile
Jamrules
#include <boost/preprocessor/repeat.hpp>

#include <RCF/test/TestMinimal.hpp>

#define DEFINE_DUMMY_TEST_MAIN(test_main_name) \
    int test_main_name(int argc, char **argv) { return boost::exit_success; }

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_0
DEFINE_DUMMY_TEST_MAIN(test_main_0)

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_1
#include "Test_Binding.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_2
#include "Test_ClientConnectionDrop.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_3
#include "Test_ClientInfo.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_4
#include "Test_ClientProgress.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_5
#include "Test_ClientTimeout.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_6
#include "Test_CycleServer.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_7
#include "Test_CycleServer_Mt.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_8
DEFINE_DUMMY_TEST_MAIN(test_main_8)
//#include "Test_CycleServer_St.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_9
#include "Test_Endpoint.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_10
#include "Test_ErrorReporting.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_11
#include "Test_FilterPerformance.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_12
#include "Test_Filters.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_13
#include "Test_General.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_14
DEFINE_DUMMY_TEST_MAIN(test_main_14)

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_15
#include "Test_InitDeinit.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_16
#include "Test_IpRestriction.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_17
#include "Test_Minimal.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_18
#include "Test_MultipleClient.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_19
#include "Test_MultiThreadedServer.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_20
#include "Test_MultiTransportServer.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_21
#include "Test_NetworkPerformance.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_22
#include "Test_Notification.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_23
#include "Test_ObjectFactoryService.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_24
#include "Test_Performance.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_25
#include "Test_Polymorphic.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_26
#include "Test_Serialization.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_27
#include "Test_ServerTransportConcurrency.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_28
DEFINE_DUMMY_TEST_MAIN(test_main_28)
//#include "Test_SingleThreadedServer.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_29
#include "Test_SspiFilter.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_30
DEFINE_DUMMY_TEST_MAIN(test_main_30)
//#include "Test_SspiFilterUnicode.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_31
#include "Test_StubSerialization.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_32
#include "Test_ThreadManager.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_33
#include "Test_Endurance.cpp"

#undef RCF_TEST_MAIN
#define RCF_TEST_MAIN test_main_34
#include "Test_ZeroAllocation.cpp"

#define RCF_TEST_MAIN_MAX 35

int test_main(int argc, char **argv)
{
    bool ok = true;
#define INVOKE_TEST(z, n, unused) \
    ok = ok && BOOST_PP_CAT(test_main_, n) (argc, argv) == boost::exit_success;
    BOOST_PP_REPEAT(RCF_TEST_MAIN_MAX, INVOKE_TEST, ~)
    return ok ? boost::exit_success : boost::exit_failure;
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jarl Lindrud

Australia Australia
Software developer, ex-resident of Sweden and now living in Canberra, Australia, working on distributed C++ applications. Jarl enjoys programming, but prefers skiing and playing table tennis. He derives immense satisfaction from referring to himself in third person.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150428.2 | Last Updated 25 Oct 2011
Article Copyright 2005 by Jarl Lindrud
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid