1 #ifndef CARMA_CORBA_CLIENT_H
2 #define CARMA_CORBA_CLIENT_H
10 typedef ORB * ORB_ptr;
36 Client(
int argc,
char * argv[],
int rrtt = 60 );
54 template<
typename T >
56 resolveName( const ::std::string & name,
bool initialRef =
false );
64 template<
typename N >
66 const ::std::string & proxyName,
67 const N & notification );
80 Client( CORBA::ORB_ptr orb,
int rrtt );
88 mutable ::std::auto_ptr< Private > private_;
91 mutable ::std::auto_ptr< PrivateInline > privateInline_;
94 mutable ::std::auto_ptr< Naming > naming_;
97 mutable ::std::auto_ptr< Notify > notify_;
104 #include "carma/corba/Client.inl"
~Client()
Destructor Note: doesn't cleanup remote resources allocated with this class.
T::_var_type resolveName(const ::std::string &name, bool initialRef=false)
Resolve specified name to a CORBA object of the templatized output type.
bool sendNotification(const ::std::string &channelName, const ::std::string &proxyName, const N ¬ification)
Send a notification of type N to specified notification server channel.
Class to encapsulate CORBA client functionality in CARMA.
Client(int argc, char *argv[], int rrtt=60)
Initialize CORBA client runtime.
static void applyTimeoutPolicies(CORBA::ORB_ptr orb, int rrtt=60)
Apply client timeout policies.
Class for creating, managing and serving requests to CORBA servants.