DeclarationManagement Class Reference

#include <DeclarationManagement.hh>

List of all members.

Public Member Functions

 DeclarationManagement (Communications *, FederationManagement *, RootObject *)
 DeclarationManagement.
 ~DeclarationManagement ()
void publishObjectClass (ObjectClassHandle theClassHandle, std::vector< AttributeHandle > &attribArray, UShort attribArraySize, TypeException &e)
void unpublishObjectClass (ObjectClassHandle theClassHandle, TypeException &e)
void publishInteractionClass (InteractionClassHandle theInteractionHandle, TypeException &e)
void unpublishInteractionClass (InteractionClassHandle theInteractionHandle, TypeException &e)
void subscribeObjectClassAttribute (ObjectClassHandle theClassHandle, std::vector< AttributeHandle > &attribArray, UShort attribArraySize, TypeException &e)
void unsubscribeObjectClassAttribute (ObjectClassHandle theClassHandle, TypeException &e)
void subscribeInteractionClass (InteractionClassHandle theClassHandle, TypeException &e)
void unsubscribeInteractionClass (InteractionClassHandle theClassHandle, TypeException &e)
void setClassRelevanceAdvisorySwitch (bool state, TypeException &e)
 Transmits the Networkmessage NM_Set_Class_Relevance_Advisory_Switch to RTIG.
void startRegistrationForObjectClass (ObjectClassHandle theClass, TypeException &e)
void stopRegistrationForObjectClass (ObjectClassHandle theClass, TypeException &e)
void setInteractionRelevanceAdvisorySwitch (bool state, TypeException &e)
 Transmits the Networkmessage NM_Set_Interaction_Relevance_Advisory_Switch to RTIG.
void turnInteractionsOn (InteractionClassHandle theHandle, TypeException &e)
void turnInteractionsOff (InteractionClassHandle theHandle, TypeException &e)

Protected Attributes

Communicationscomm
Queuesqueues
FederationManagementfm
RootObjectrootObject


Detailed Description

Definition at line 43 of file DeclarationManagement.hh.


Constructor & Destructor Documentation

Definition at line 61 of file DeclarationManagement.cc.


Member Function Documentation

void publishObjectClass ( ObjectClassHandle  theClassHandle,
std::vector< AttributeHandle > &  attribArray,
UShort  attribArraySize,
TypeException e 
)

void unpublishObjectClass ( ObjectClassHandle  theClassHandle,
TypeException e 
)

void publishInteractionClass ( InteractionClassHandle  theInteractionHandle,
TypeException e 
)

void unpublishInteractionClass ( InteractionClassHandle  theInteractionHandle,
TypeException e 
)

void subscribeObjectClassAttribute ( ObjectClassHandle  theClassHandle,
std::vector< AttributeHandle > &  attribArray,
UShort  attribArraySize,
TypeException e 
)

void unsubscribeObjectClassAttribute ( ObjectClassHandle  theClassHandle,
TypeException e 
)

void subscribeInteractionClass ( InteractionClassHandle  theClassHandle,
TypeException e 
)

void unsubscribeInteractionClass ( InteractionClassHandle  theClassHandle,
TypeException e 
)

void setClassRelevanceAdvisorySwitch ( bool  state,
TypeException e 
)

Transmits the Networkmessage NM_Set_Class_Relevance_Advisory_Switch to RTIG.

The transmission sets the ClassRelevanceAdvisory switch at RTIG side to the value of the input parameter state. The invocation is caused by a successfull transmission of the message ENABLE_CLASS_RELEVANCE_ADVISORY_SWITCH from the federate to RTIA.

Parameters:
[in] state is the new value for the switch, true means enable, false means disable
[in,out] e is a reference to a possible exception

Definition at line 361 of file DeclarationManagement.cc.

References FederationManagement::_numero_federation, NM_Set_Class_Relevance_Advisory_Switch::classRelevanceAdvisorySwitchOff(), NM_Set_Class_Relevance_Advisory_Switch::classRelevanceAdvisorySwitchOn(), DeclarationManagement::comm, certi::e_NO_EXCEPTION, FederationManagement::federate, NetworkMessage::federate, NetworkMessage::federation, DeclarationManagement::fm, certi::rtia::G, PrettyDebug::Out(), pdGendoc, and Communications::sendMessage().

Referenced by RTIA::chooseFederateProcessing().

Here is the call graph for this function:

void startRegistrationForObjectClass ( ObjectClassHandle  theClass,
TypeException e 
)

void stopRegistrationForObjectClass ( ObjectClassHandle  theClass,
TypeException e 
)

void setInteractionRelevanceAdvisorySwitch ( bool  state,
TypeException e 
)

Transmits the Networkmessage NM_Set_Interaction_Relevance_Advisory_Switch to RTIG.

The transmission sets the InteractionRelevanceAdvisory switch at RTIG side to the value of the input parameter state. The invocation is caused by a successfull transmission of the message ENABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH from the federate to RTIA.

Parameters:
[in] state is the new value for the switch, true means enable, false means disable
[in,out] e is a reference to a possible exception

Definition at line 433 of file DeclarationManagement.cc.

References FederationManagement::_numero_federation, DeclarationManagement::comm, certi::e_NO_EXCEPTION, FederationManagement::federate, NetworkMessage::federate, NetworkMessage::federation, DeclarationManagement::fm, certi::rtia::G, NM_Set_Interaction_Relevance_Advisory_Switch::interactionRelevanceAdvisorySwitchOff(), NM_Set_Interaction_Relevance_Advisory_Switch::interactionRelevanceAdvisorySwitchOn(), PrettyDebug::Out(), pdGendoc, and Communications::sendMessage().

Referenced by RTIA::chooseFederateProcessing().

Here is the call graph for this function:

void turnInteractionsOn ( InteractionClassHandle  theHandle,
TypeException e 
)

void turnInteractionsOff ( InteractionClassHandle  theHandle,
TypeException e 
)


Member Data Documentation

Communications* comm [protected]

Queues* queues [protected]

Definition at line 121 of file DeclarationManagement.hh.

FederationManagement* fm [protected]

RootObject* rootObject [protected]


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

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