PhyStar  v0.0.0 thu24
smart Namespace Reference

Classes

class  Actor
 
class  OrientationActor
 
class  Agent
 
class  OptimalSurfingAgent
 
class  FluidVelGradSensor
 
class  Sensor
 

Functions

static std::shared_ptr< Actor_ActorSelector (std::string actorName)
 select actor according to its name More...
 
static std::vector< std::shared_ptr< Actor > > ActorFactory (toml::table &config)
 create a shared_ptr of a actor More...
 
static std::shared_ptr< Agent_AgentSelector (std::string agentName)
 select actor according to its name More...
 
static std::vector< std::shared_ptr< Agent > > AgentFactory (tml::table &config)
 create a shared_ptr of a actor More...
 
static std::shared_ptr< Sensor_SensorSelector (std::string sensorName)
 select sensor according to its name More...
 
static std::vector< std::shared_ptr< Sensor > > SensorFactory (toml::table &config)
 create a shared_ptr of a sensor More...
 

Function Documentation

◆ _ActorSelector()

static std::shared_ptr< Actor > smart::_ActorSelector ( std::string  actorName)
static

select actor according to its name

Parameters
actorName
Returns
std::shared_ptr<Actor>

References smart::OrientationActor::_name().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _AgentSelector()

static std::shared_ptr< Agent > smart::_AgentSelector ( std::string  agentName)
static

select actor according to its name

Parameters
actorName
Returns
std::shared_ptr<Actor>

References smart::OptimalSurfingAgent::_name().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _SensorSelector()

static std::shared_ptr< Sensor > smart::_SensorSelector ( std::string  sensorName)
static

select sensor according to its name

Parameters
sensorName
Returns
std::shared_ptr<Sensor>
Here is the caller graph for this function:

◆ ActorFactory()

static std::vector<std::shared_ptr<Actor> > smart::ActorFactory ( toml::table &  config)
static

create a shared_ptr of a actor

Parameters
configtoml config
Returns
std::shared_ptr<Actor> the actor

References _ActorSelector(), and gsmpi::root.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AgentFactory()

static std::vector<std::shared_ptr<Agent> > smart::AgentFactory ( tml::table &  config)
static

create a shared_ptr of a actor

Parameters
configtoml config
Returns
std::shared_ptr<Actor> the actor

References _AgentSelector(), and gsmpi::root.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SensorFactory()

static std::vector<std::shared_ptr<Sensor> > smart::SensorFactory ( toml::table &  config)
static

create a shared_ptr of a sensor

Parameters
configtoml config
Returns
std::shared_ptr<Sensor> the sensor

References _SensorSelector(), and gsmpi::root.

Here is the call graph for this function:
Here is the caller graph for this function: