VCFRemote::AbstractDistributedApplication Class Reference
Class AbstractDistributedApplication documentation. More...
#include <AbstractDistributedApplication.h>
Inheritance diagram for VCFRemote::AbstractDistributedApplication:

Public Member Functions | |
| virtual | ~AbstractDistributedApplication () |
| virtual bool | initApplication () |
| Allows you to initialize your application's data. | |
| virtual bool | notifyDistributedClassServer (const bool &startup) |
| notifies the Distributed Class Server we are starting up or shutting down, depending on the value of startup | |
| virtual void | processCommandLine (std::vector< VCF::String > &commandLine) |
| processes the command line. | |
| virtual void | processCommandLineArgument (const VCF::String arg) |
| processes a command line argument. | |
| virtual VCF::Enumerator< VCF::Object * > * | getInstantiatedObjects () |
| virtual void | terminateAppplication () |
| this is where the app terminates. | |
| virtual bool | registerClasses () |
| register all classes with the Distributed CLass Server here | |
| virtual bool | unRegisterClasses () |
| unregister all classes with the Distributed CLass Server here | |
| virtual VCF::String | getUsageString () |
| virtual void | runDistributedApp () |
| the apps main execution point. | |
| virtual void | onDataReceived (VCFNet::SocketEvent *event) |
| virtual void | onClientConnected (VCFNet::SocketEvent *event) |
| virtual void | onClientDisconnected (VCFNet::SocketEvent *event) |
Protected Member Functions | |
| AbstractDistributedApplication () | |
| protected constructor to prevent instantiation outside of a deriving class | |
Protected Attributes | |
| VCFNet::Socket | sock_ |
| AppInfo * | appInfo_ |
| std::map< int, VCF::Object * > | instObjectList_ |
| std::map< VCF::String, int > | unMarshalledArgTypes_ |
| VCF::EnumeratorMapContainer< std::map< int, VCF::Object * >, VCF::Object * > | instObjectContainer_ |
Classes | |
| class | DistributedAppListener |
Detailed Description
Class AbstractDistributedApplication documentation.
Constructor & Destructor Documentation
|
|
|
|
|
protected constructor to prevent instantiation outside of a deriving class
|
Member Function Documentation
|
|
Implements VCFRemote::DistributedApplication. |
|
|
Implements VCFRemote::DistributedApplication. |
|
|
Allows you to initialize your application's data. This gets called after the processCommandLine
Implements VCFRemote::DistributedApplication. |
|
|
notifies the Distributed Class Server we are starting up or shutting down, depending on the value of startup
Implements VCFRemote::DistributedApplication. |
|
|
|
|
|
|
|
|
|
|
|
processes the command line. calls processCommandLineArgument() for each arument in the commandLine Implements VCFRemote::DistributedApplication. |
|
|
processes a command line argument. The default implementation searches for the presence of -register or -unregister in the arg and calls the registerClasses() or unRegisterClasses() accordingly. |
|
|
register all classes with the Distributed CLass Server here
Implements VCFRemote::DistributedApplication. |
|
|
the apps main execution point. Any code you would have put in your main(...) function, you should put in here Implements VCFRemote::DistributedApplication. |
|
|
this is where the app terminates. Do pre-destructor clean up here Implements VCFRemote::DistributedApplication. |
|
|
unregister all classes with the Distributed CLass Server here
Implements VCFRemote::DistributedApplication. |
Member Data Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/RemoteObjectKit/AbstractDistributedApplication.h
