#include <ServerEntities.h>
◆ ServerEntities()
This WON'T restore entities from persistence file (in order to allow rapid construction), call restoreEntities after
◆ ~ServerEntities()
| conscience_server::entities::ServerEntities::~ServerEntities |
( |
| ) |
|
◆ getEntitiesSummary()
| vector< const ServerEntitySummary * > conscience_server::entities::ServerEntities::getEntitiesSummary |
( |
| ) |
|
return NEW pointers to currently handled entites. You will have to DELETE them
◆ getEntitySerialNumbers()
| vector< string > conscience_server::entities::ServerEntities::getEntitySerialNumbers |
( |
| ) |
|
◆ isEntityRunningCommand()
| bool conscience_server::entities::ServerEntities::isEntityRunningCommand |
( |
const string & |
entitySerialNumber, |
|
|
const string & |
commandPart |
|
) |
| const |
◆ onEntityProfileReceived()
| void conscience_server::entities::ServerEntities::onEntityProfileReceived |
( |
const vector< string > & |
commandArguments, |
|
|
EntityPeerInfo |
entityPeerInfo |
|
) |
| |
◆ onStatePlayed()
| void conscience_server::entities::ServerEntities::onStatePlayed |
( |
const char * |
entitySerialNumber, |
|
|
double * |
values, |
|
|
unsigned long |
valuesSize, |
|
|
int |
duration, |
|
|
int |
delay, |
|
|
bool |
relative |
|
) |
| |
WARNING: used for callback, actually private
◆ restoreEntities()
| void conscience_server::entities::ServerEntities::restoreEntities |
( |
| ) |
|
◆ startNewEntity()
Starts entity with given parameters (or update already started entity if any)
- Parameters
-
| remoteEntityPeerInfo | can be empty for instance with passive entities |
The documentation for this class was generated from the following files: