#include <actorupdatemessage.h>

Public Member Functions | |
| ActorUpdateMessage () | |
| Constructor. | |
| const std::string & | GetName () const |
| |
| void | SetName (const std::string &newName) |
| This is used to change the value of the name of the actor being changed. | |
| const std::string & | GetActorTypeName () const |
| |
| void | SetActorTypeName (const std::string &newTypeName) |
| This is used to change the value of the actor type name of the actor being changed. | |
| const std::string & | GetActorTypeCategory () const |
| |
| void | SetActorTypeCategory (const std::string &newTypeCategory) |
| This is used to change the value of the actor type category of the actor being changed. | |
| dtDAL::NamedParameter * | AddUpdateParameter (const std::string &name, const dtDAL::DataType &type) |
| Adds an dtDAL::NamedParameter to an ActorUpdateMessage. | |
| void | AddUpdateParameter (dtDAL::NamedParameter ¶mToAdd) |
| Adds a dtDAL::NamedParameter to an ActorUpdateMessage's internal GroupMessageParameter. | |
| dtDAL::NamedParameter * | GetUpdateParameter (const std::string &name) |
| Retrieves the dtDAL::NamedParameter for this actor update message for the given name. | |
| const dtDAL::NamedParameter * | GetUpdateParameter (const std::string &name) const |
| Retrieves the dtDAL::NamedParameter for this actor update message for the given name. | |
| void | GetUpdateParameters (std::vector< dtDAL::NamedParameter * > &toFill) |
| Retrieves the dtDAL::NamedParameters that have been previously added to this ActorUpdateMessage internal GroupMessageParameter. | |
| void | GetUpdateParameters (std::vector< const MessageParameter * > &toFill) const |
| Retrieves the dtDAL::NamedParameters that have been previously added to this ActorUpdateMessage internal GroupMessageParameter. | |
| const dtDAL::ActorType * | GetActorType () const |
| Gets the actor type that this message is about. | |
| void | SetActorType (const dtDAL::ActorType &newActorType) |
| Sets the actor type on this message. | |
Static Public Attributes | |
| static const std::string | NAME_PARAMETER |
| static const std::string | ACTOR_TYPE_NAME_PARAMETER |
| static const std::string | ACTOR_TYPE_CATEGORY_PARAMETER |
| static const std::string | UPDATE_GROUP_PARAMETER |
Protected Member Functions | |
| virtual | ~ActorUpdateMessage () |
| Destructor. | |
Additional dtDAL::NamedParameter can be added to this Message by using the AddUpdateParameter() method.
| dtGame::ActorUpdateMessage::ActorUpdateMessage | ( | ) |
Constructor.
| dtGame::ActorUpdateMessage::~ActorUpdateMessage | ( | ) | [protected, virtual] |
Destructor.
| const std::string & dtGame::ActorUpdateMessage::GetName | ( | ) | const |
This value is also used to change the name.
| void dtGame::ActorUpdateMessage::SetName | ( | const std::string & | newName | ) |
This is used to change the value of the name of the actor being changed.
| newName | The name of the actor to set. |
| const std::string & dtGame::ActorUpdateMessage::GetActorTypeName | ( | ) | const |
This can be used along with the category to create the actor.
| void dtGame::ActorUpdateMessage::SetActorTypeName | ( | const std::string & | newTypeName | ) |
This is used to change the value of the actor type name of the actor being changed.
| newTypeName | The name of the actor type to set. |
| const std::string & dtGame::ActorUpdateMessage::GetActorTypeCategory | ( | ) | const |
This can be used along with the actor type name to create the actor.
| void dtGame::ActorUpdateMessage::SetActorTypeCategory | ( | const std::string & | newTypeCategory | ) |
This is used to change the value of the actor type category of the actor being changed.
| newTypeCategory | The category of the actor type to set. |
| dtDAL::NamedParameter * dtGame::ActorUpdateMessage::AddUpdateParameter | ( | const std::string & | name, | |
| const dtDAL::DataType & | type | |||
| ) |
Adds an dtDAL::NamedParameter to an ActorUpdateMessage.
| name | The name of the parameter to add | |
| type | The type of parameter it is, corresponding with dtDAL::DataType |
| dtUtil::Exception | if the name specified is already used. |
| void dtGame::ActorUpdateMessage::AddUpdateParameter | ( | dtDAL::NamedParameter & | paramToAdd | ) | [inline] |
Adds a dtDAL::NamedParameter to an ActorUpdateMessage's internal GroupMessageParameter.
| paramToAdd | The parameter to add to the GroupMessageParameter. |
| dtUtil::Exception | if a parameter with same name already exists. |
| dtDAL::NamedParameter * dtGame::ActorUpdateMessage::GetUpdateParameter | ( | const std::string & | name | ) |
Retrieves the dtDAL::NamedParameter for this actor update message for the given name.
| name | The name of the parameter to retrieve |
| const dtDAL::NamedParameter * dtGame::ActorUpdateMessage::GetUpdateParameter | ( | const std::string & | name | ) | const |
Retrieves the dtDAL::NamedParameter for this actor update message for the given name.
| name | The name of the parameters to retrieve |
| void dtGame::ActorUpdateMessage::GetUpdateParameters | ( | std::vector< dtDAL::NamedParameter * > & | toFill | ) |
Retrieves the dtDAL::NamedParameters that have been previously added to this ActorUpdateMessage internal GroupMessageParameter.
| toFill | The vector to fill with the dtDAL::NamedParameters |
| void dtGame::ActorUpdateMessage::GetUpdateParameters | ( | std::vector< const MessageParameter * > & | toFill | ) | const |
Retrieves the dtDAL::NamedParameters that have been previously added to this ActorUpdateMessage internal GroupMessageParameter.
| toFill | The vector to fill with the const dtDAL::NamedParameters |
| const dtDAL::ActorType * dtGame::ActorUpdateMessage::GetActorType | ( | ) | const |
Gets the actor type that this message is about.
| void dtGame::ActorUpdateMessage::SetActorType | ( | const dtDAL::ActorType & | newActorType | ) |
Sets the actor type on this message.
| newActorType | the actor type on this actor |
const std::string dtGame::ActorUpdateMessage::NAME_PARAMETER [static] |
const std::string dtGame::ActorUpdateMessage::ACTOR_TYPE_NAME_PARAMETER [static] |
const std::string dtGame::ActorUpdateMessage::ACTOR_TYPE_CATEGORY_PARAMETER [static] |
const std::string dtGame::ActorUpdateMessage::UPDATE_GROUP_PARAMETER [static] |