FederationManagement Class Reference

#include <FederationManagement.hh>

List of all members.

Public Member Functions

 FederationManagement (Communications *, Statistics *)
 FederationManagement.
 ~FederationManagement ()
 Destructor.
void checkFederationSaving (void) throw (SaveInProgress)
void checkFederationRestoring (void) throw (RestoreInProgress)
void createFederationExecution (std::string theName, TypeException &e) throw ( FederationExecutionAlreadyExists, CouldNotOpenFED,ErrorReadingFED, RTIinternalError)
 createFederationExecution.
void destroyFederationExecution (std::string theName, TypeException &e)
 destroyFederationExecution.
FederateHandle joinFederationExecution (std::string Federate, std::string Federation, TypeException &e)
 joinFederationExecution.
void resignFederationExecution (RTI::ResignAction action, TypeException &e)
void registerSynchronization (std::string label, std::string tag, TypeException &e)
 Register synchronization.
void registerSynchronization (std::string label, std::string tag, unsigned short array_size, std::vector< FederateHandle > &fed_array, TypeException &e)
 Register synchronization with set of federates.
void unregisterSynchronization (std::string label, TypeException &e)
 Unregister synchronization.
void synchronizationPointRegistrationFailed (const char *label)
void synchronizationPointRegistrationSucceeded (const char *label)
void federationSynchronized (const char *label)
void announceSynchronizationPoint (const char *label, const char *tag)
void requestFederationSave (std::string label, FederationTime the_time, TypeException &e)
void requestFederationSave (std::string label, TypeException &e)
void federateSaveBegun (TypeException &)
void federateSaveStatus (bool, TypeException &)
void initiateFederateSave (const char *label)
void federationSavedStatus (bool)
void requestFederationRestore (std::string label, TypeException &e)
void federateRestoreStatus (bool status, TypeException &e)
void requestFederationRestoreStatus (bool status, const char *label, const char *reason)
void federationRestoreBegun (void)
void initiateFederateRestore (const char *label, FederateHandle handle)
void federationRestoredStatus (bool status)

Public Attributes

TimeManagementtm
Handle _numero_federation
FederateHandle federate
bool _fin_execution
std::string _FEDid

Private Attributes

Communicationscomm
Statisticsstat
bool _est_createur_federation
bool _est_membre_federation
bool savingState
bool restoringState
std::list< char * > synchronizationLabels
 Labels being synchronized.
std::string _nom_federation
std::string _nom_federe


Detailed Description

Definition at line 37 of file FederationManagement.hh.


Constructor & Destructor Documentation

FederationManagement ( Communications GC,
Statistics newStat 
)


Member Function Documentation

void checkFederationSaving ( void   )  throw (SaveInProgress)

Definition at line 986 of file FederationManagement.cc.

References FederationManagement::savingState.

void checkFederationRestoring ( void   )  throw (RestoreInProgress)

Definition at line 996 of file FederationManagement.cc.

References FederationManagement::restoringState.

void createFederationExecution ( std::string  theName,
TypeException e 
) throw ( FederationExecutionAlreadyExists, CouldNotOpenFED,ErrorReadingFED, RTIinternalError)

void destroyFederationExecution ( std::string  theName,
TypeException e 
)

FederateHandle joinFederationExecution ( std::string  Federate,
std::string  Federation,
TypeException e 
)

void resignFederationExecution ( RTI::ResignAction  action,
TypeException e 
)

void registerSynchronization ( std::string  label,
std::string  tag,
TypeException e 
)

void registerSynchronization ( std::string  label,
std::string  tag,
unsigned short  array_size,
std::vector< FederateHandle > &  fed_array,
TypeException e 
)

void unregisterSynchronization ( std::string  label,
TypeException e 
)

void synchronizationPointRegistrationFailed ( const char *  label  ) 

void synchronizationPointRegistrationSucceeded ( const char *  label  ) 

void federationSynchronized ( const char *  label  ) 

void announceSynchronizationPoint ( const char *  label,
const char *  tag 
)

void requestFederationSave ( std::string  label,
FederationTime  the_time,
TypeException e 
)

void requestFederationSave ( std::string  label,
TypeException e 
)

void federateSaveBegun ( TypeException  ) 

void federateSaveStatus ( bool  status,
TypeException  
)

void initiateFederateSave ( const char *  label  ) 

void federationSavedStatus ( bool  status  ) 

void requestFederationRestore ( std::string  label,
TypeException e 
)

void federateRestoreStatus ( bool  status,
TypeException e 
)

void requestFederationRestoreStatus ( bool  status,
const char *  label,
const char *  reason 
)

void federationRestoreBegun ( void   ) 

void initiateFederateRestore ( const char *  label,
FederateHandle  handle 
)

void federationRestoredStatus ( bool  status  ) 


Member Data Documentation

Definition at line 100 of file FederationManagement.hh.

Referenced by DataDistribution::associateRegion(), OwnershipManagement::attributeOwnedByFederate(), OwnershipManagement::attributeOwnershipAcquisition(), OwnershipManagement::attributeOwnershipAcquisitionIfAvailable(), OwnershipManagement::attributeOwnershipRealeaseResponse(), OwnershipManagement::cancelattributeOwnershipAcquisition(), OwnershipManagement::cancelnegotiatedAttributeOwnershipDivestiture(), ObjectManagement::changeAttributeOrderType(), ObjectManagement::changeAttributeTransportType(), ObjectManagement::changeInteractionOrderType(), ObjectManagement::changeInteractionTransportType(), DataDistribution::createRegion(), ObjectManagement::deleteObject(), DataDistribution::deleteRegion(), FederationManagement::destroyFederationExecution(), FederationManagement::federateRestoreStatus(), FederationManagement::federateSaveBegun(), FederationManagement::federateSaveStatus(), FederationManagement::FederationManagement(), FederationManagement::joinFederationExecution(), DataDistribution::modifyRegion(), OwnershipManagement::negotiatedAttributeOwnershipDivestiture(), DeclarationManagement::publishInteractionClass(), DeclarationManagement::publishObjectClass(), OwnershipManagement::queryAttributeOwnership(), ObjectManagement::registerObject(), DataDistribution::registerObject(), FederationManagement::registerSynchronization(), FederationManagement::requestFederationRestore(), FederationManagement::requestFederationSave(), ObjectManagement::requestObjectAttributeValueUpdate(), FederationManagement::resignFederationExecution(), ObjectManagement::sendInteraction(), TimeManagement::sendNullMessage(), ObjectManagement::setAttributeRelevanceAdvisorySwitch(), ObjectManagement::setAttributeScopeAdvisorySwitch(), DeclarationManagement::setClassRelevanceAdvisorySwitch(), DeclarationManagement::setInteractionRelevanceAdvisorySwitch(), TimeManagement::setTimeConstrained(), TimeManagement::setTimeRegulating(), DataDistribution::subscribe(), DeclarationManagement::subscribeInteractionClass(), DeclarationManagement::subscribeObjectClassAttribute(), DataDistribution::unassociateRegion(), OwnershipManagement::unconditionalAttributeOwnershipDivestiture(), DeclarationManagement::unpublishInteractionClass(), DeclarationManagement::unpublishObjectClass(), FederationManagement::unregisterSynchronization(), DataDistribution::unsubscribeAttributes(), DeclarationManagement::unsubscribeInteractionClass(), DeclarationManagement::unsubscribeObjectClassAttribute(), and ObjectManagement::updateAttributeValues().

Definition at line 101 of file FederationManagement.hh.

Referenced by DataDistribution::associateRegion(), OwnershipManagement::attributeOwnedByFederate(), OwnershipManagement::attributeOwnershipAcquisition(), OwnershipManagement::attributeOwnershipAcquisitionIfAvailable(), OwnershipManagement::attributeOwnershipRealeaseResponse(), OwnershipManagement::cancelattributeOwnershipAcquisition(), OwnershipManagement::cancelnegotiatedAttributeOwnershipDivestiture(), ObjectManagement::changeAttributeOrderType(), ObjectManagement::changeAttributeTransportType(), ObjectManagement::changeInteractionOrderType(), ObjectManagement::changeInteractionTransportType(), DataDistribution::createRegion(), ObjectManagement::deleteObject(), DataDistribution::deleteRegion(), FederationManagement::destroyFederationExecution(), ObjectManagement::discoverObject(), FederationManagement::federateRestoreStatus(), FederationManagement::federateSaveBegun(), FederationManagement::federateSaveStatus(), FederationManagement::FederationManagement(), FederationManagement::joinFederationExecution(), DataDistribution::modifyRegion(), OwnershipManagement::negotiatedAttributeOwnershipDivestiture(), DeclarationManagement::publishInteractionClass(), DeclarationManagement::publishObjectClass(), OwnershipManagement::queryAttributeOwnership(), ObjectManagement::registerObject(), DataDistribution::registerObject(), FederationManagement::registerSynchronization(), FederationManagement::requestFederationRestore(), FederationManagement::requestFederationSave(), ObjectManagement::requestObjectAttributeValueUpdate(), FederationManagement::resignFederationExecution(), ObjectManagement::sendInteraction(), TimeManagement::sendNullMessage(), ObjectManagement::setAttributeRelevanceAdvisorySwitch(), ObjectManagement::setAttributeScopeAdvisorySwitch(), DeclarationManagement::setClassRelevanceAdvisorySwitch(), DeclarationManagement::setInteractionRelevanceAdvisorySwitch(), TimeManagement::setTimeConstrained(), TimeManagement::setTimeRegulating(), DataDistribution::subscribe(), DeclarationManagement::subscribeInteractionClass(), DeclarationManagement::subscribeObjectClassAttribute(), DataDistribution::unassociateRegion(), OwnershipManagement::unconditionalAttributeOwnershipDivestiture(), DeclarationManagement::unpublishInteractionClass(), DeclarationManagement::unpublishObjectClass(), FederationManagement::unregisterSynchronization(), DataDistribution::unsubscribeAttributes(), DeclarationManagement::unsubscribeInteractionClass(), DeclarationManagement::unsubscribeObjectClassAttribute(), and ObjectManagement::updateAttributeValues().

std::string _FEDid

Communications* comm [private]

Statistics* stat [private]

bool _est_createur_federation [private]

Definition at line 109 of file FederationManagement.hh.

bool _est_membre_federation [private]

bool savingState [private]

bool restoringState [private]

std::list<char *> synchronizationLabels [private]

std::string _nom_federation [private]

std::string _nom_federe [private]


The documentation for this class was generated from the following files:

Generated on Thu Apr 30 15:59:26 2009 for CERTIDeveloperDocumentation by doxygen 1.5.5